Skip to content

Commit

Permalink
Add a precision on stats to the porting guide.
Browse files Browse the repository at this point in the history
axis=0 for multiobjective.

--HG--
branch : dev
  • Loading branch information
felix.antoine.fortin committed Feb 17, 2014
1 parent daa98a2 commit c5798db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/porting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ General
#. Statistics and logging of data are accomplished by two distinct objects: :class:`~deap.tools.Statistics` and :class:`~deap.tools.Logbook`. Read the tutorial on :doc:`logging statistics <tutorials/basic/part3>`.
#. Replace :class:`~deap.tools.EvolutionLogger` by :class:`~deap.tools.Logbook`.
#. Replace usage of :func:`tools.mean`, :func:`tools.var`, :func:`tools.std`, and :func:`tools.median` by their Numpy equivalent.
#. If the fitness has multiple objectives, add the keyword argument ``axis=0`` when registering statistical function.
#.

Genetic Algorithms (GA)
=======================
Expand Down

0 comments on commit c5798db

Please sign in to comment.