Skip to content

Instantly share code, notes, and snippets.

@pierrelouisbescond
Last active May 9, 2020 15:16
Show Gist options
  • Save pierrelouisbescond/696eb926730738265b774dc6a5ae7366 to your computer and use it in GitHub Desktop.
Save pierrelouisbescond/696eb926730738265b774dc6a5ae7366 to your computer and use it in GitHub Desktop.
target = 42
population["Y"] = RFR.predict(population)
population["target_distance"]=abs(population["Y"]-np.ones(population_size)*target)
population
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment