Skip to content

Instantly share code, notes, and snippets.

@dhadka
Last active March 1, 2021 14:03
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dhadka/ba6d3c570400bdb411c3 to your computer and use it in GitHub Desktop.
Save dhadka/ba6d3c570400bdb411c3 to your computer and use it in GitHub Desktop.
Simple Platypus Demo
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sellisd
Copy link

sellisd commented Oct 27, 2017

There is a typo in cell [8] hypervolume should be with capital H:

...: from platypus.indicators import Hypervolume

and

...: hyp = Hypervolume(minimum=[0,0,0], maximum=[1,1,1])

@Ibarra84
Copy link

in cell [8]
NSGAII 0.000
NSGAIII 0.000

AttributeError Traceback (most recent call last)
in
22
23 for algorithm in algorithms:
---> 24 print("%s\t%0.3f" % (algorithm.class.name, hyp(algorithm.result)))

AttributeError: 'CMAES' object has no attribute 'result'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment