Skip to content

Instantly share code, notes, and snippets.

@ErnWong
Created June 11, 2020 05:53
Show Gist options
  • Save ErnWong/d4e9b87ff81d3404507a8d154c32352f to your computer and use it in GitHub Desktop.
Save ErnWong/d4e9b87ff81d3404507a8d154c32352f to your computer and use it in GitHub Desktop.
environment_genome.from_flattened({
'water_genes': [
{
'amount': 2.58712292237539,
'smell_signature': [-0.28899390479502074, -0.00830629590648524, 0.09767028130163857, -0.05182467021560022, 0.7185100142896303]
},
{
'amount': 1.439923830198761,
'smell_signature': [ 0.38302337370748285, -0.617770547361407, 0.8557760937332404, -0.7526113883887016, -0.34273501187112054]
}
],
'food_genes': [
{
'amount': 2.7039699653529223,
'smell_signature': [0.06228025299574402, 0.31431324633559843, 0.07129809168007828, -0.6032712685274648, 0.8116678410554565]
},
{
'amount': 2.188324343456026,
'smell_signature': [ 0.3294710226059956, -0.6984633309881467, -0.39173172325342565, -0.7387284747736886, -0.8136212187879559]
}
],
'trap_genes': [
{
'amount': 2.298936465766972,
'smell_signature': [0.20631396557227943, 0.07728793160603753, -0.7209778329604202, 0.0905213006870289, -0.9714878778788216]
},
{
'amount': 2.679688744356781,
'smell_signature': [ -0.7499322637742767, 0.2915996212372758, -0.851696976156824, -0.014728589282082538, -0.17919141556936125]
}
]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment