~ubuntu-branches/ubuntu/utopic/deap/utopic-proposed

« back to all changes in this revision

Viewing changes to doc/releases.rst

  • Committer: Package Import Robot
  • Author(s): Daniel Stender, Miriam Ruiz, Daniel Stender, Jakub Wilk
  • Date: 2014-07-06 00:03:41 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140706000341-s7gij1ki3d8xz6t9
Tags: 1.0.1-1
[ Miriam Ruiz ]
* New Upstream Release. Closes: #675200
* Upgraded Standards-Version from 3.9.2 to 3.9.5
* Switched to dh_python2
* Upgraded debian/compat to 9
* Added build-arch and build-indep targets to debian/rules
* Using awk to remove connection from the documentation to google analytics
* Using jquery.js and underscore.js from libjs-jquery and libjs-underscore
* Added patches/doc.patch

[ Daniel Stender ]
* deb/control:
  + Added myself to Uploaders.
  + Added version to b-p on python-all.
  + Updated Homepage.
  + Wrapped and sorted.
* deb/copyright:
  + Changed copyright file towards DEP-5.
  + Updated Source URI (project source moved to Github).
  + Added email addresses for copyright holders.
  + Dropped license for eap/toolbox.py (not included anymore).
  + Extended copyrights to 2014.
  + Added myself to copyrights for deb/*.
  + Specified license location.
* Added watch file [initial version by Jackson Doak].

[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
==================
 
2
Release Highlights
 
3
==================
 
4
Here is the list of changes made to DEAP for the current release.
 
5
 
 
6
API enhancements
 
7
++++++++++++++++
 
8
 
 
9
- algorithms: Every algorithm now return the final population and a logbook
 
10
  containing the evolution statistical data.
 
11
- base: Fitness objects are now hashable.
 
12
- base: Added a ``dominates`` function to the Fitness, which can be replaced.
 
13
  This function is now used in most multi-objective specific selection methods
 
14
  instead of ``isDominated``.
 
15
- base: Fitness - implementation of a ``__repr__`` method. (issue 20)
 
16
- examples: Removed prefix (ga, gp, pso, etc.) from examples filename.
 
17
- gp: Added ``pset`` to mutation operators that require it.
 
18
- gp: Replaced the :func:`~deap.gp.stringify` function by :func:`PrimitiveTree.__str__`. Use ``str`` or ``print`` on trees to read their code.
 
19
- gp: Added an explicit description of the error when there are no available
 
20
  primitive/terminal of a certain type.
 
21
- gp: Added symbolic regression benchmarks in ``benchmarks.gp``.
 
22
- gp: Removed the ephemeral generator.
 
23
- gp: Added a :func:`~deap.gp.PrimitiveTree.from_string` function to :class:`~deap.gp.PrimitiveTree`.
 
24
- gp: Added the possibility to name primitives added to a PrimitiveSet in :func:`~deap.gp.PrimitiveSet.addPrimitive`.
 
25
- gp: Added object oriented inheritance to strongly typed genetic programming.
 
26
- gp: :class:`~deap.gp.PrimitiveSetTyped` now requires real classes as type instead of string. See the :doc:`Spambase example <examples/gp_spambase>`.
 
27
- gp: Replaced :func:`~deap.gp.evaluate` and :func:`~deap.gp.lambdify` by a single function :func:`~deap.gp.compile`.
 
28
- gp: Replaced :func:`~deap.gp.lambdifyADF` by :func:`~deap.gp.compileADF`.
 
29
- gp: New :func:`~deap.gp.graph` function that returns a list of nodes, edges and a
 
30
  labels dictionnary that can then be feeded directly to networkx to
 
31
  draw the tree.
 
32
- gp: Renamed :func:`deap.gp.genRamped` as :func:`deap.gp.genHalfAndHalf`.
 
33
- gp: Merged :func:`~deap.gp.staticDepthLimit` and :func:`~deap.gp.staticSizeLimit` in a 
 
34
  single function :func:`~deap.gp.staticLimit` which takes a key function in argument than can
 
35
  be return the height, the size or whatever attribute the tree should be limited on.
 
36
- tools: Revised the :class:`~deap.tools.HallOfFame` to include only unique individuals.
 
37
- tools: Changed the way statistics are computed. See the
 
38
  :class:`~deap.tools.Statistics` and :class:`~deap.tools.MultiStatistics`
 
39
  documentation for more details and the tutorial :doc:`logging statistics <tutorials/basic/part3>` (issue 19).
 
40
- tools: Replaced the :class:`EvolutionLogger` by :class:`~deap.tools.Logbook`.
 
41
- tools: Removed :class:`~deap.tools.Checkpoint` class since it was more trivial to do simple
 
42
  checkpointing than using the class. The documentation now includes an
 
43
  example on how to do checkpointing without Checkpoint.
 
44
- tools: Reorganize the operators in submodule, tools now being a package.
 
45
- tools: Implementation of the logarithmic non-dominated sort by
 
46
  Fortin et al. (2013), available under the name :func:`~deap.tools.sortLogNondominated`.
 
47
- tools: Mutation operators can now take either a value or a sequence
 
48
  of values as long as the individual as parameters (low, up, sigma, etc.).
 
49
- tools: Removed DTM from the sources.
 
50
- tools: Removed the cTools module. It was not properly maintained and
 
51
  rarely used.
 
52
- tools: Renamed :func:`~deap.tools.cxTwoPoints` as :func:`~deap.tools.cxTwoPoint`
 
53
- tools: Renamed :func:`~deap.tools.cxESTwoPoints` as :func:`~deap.tools.cxESTwoPoint`
 
54
- tools: Bounds as well as some other attribute related parameters now accept iterables or
 
55
  values as argument in crossovers and mutations.
 
56
 
 
57
 
 
58
Documentation enhancements
 
59
++++++++++++++++++++++++++
 
60
 
 
61
- Major overhaul of the documentation structure.
 
62
- Tutorial are now decomposed in two categories: basic and advanced.
 
63
- New tutorial on :doc:`logging statistics <tutorials/basic/part3>`
 
64
- New tutorial on :doc:`checkpointing <tutorials/advanced/checkpoint>`
 
65
- New tutorial on :doc:`inheriting from Numpy <tutorials/advanced/numpy>`
 
66
 
 
67
Bug fixes
 
68
+++++++++
 
69
 
 
70
- creator: Issue 23: error in creator when using unicode source.
 
71
- creator: create does not handle proper slicing of created classes inheriting
 
72
  from ``numpy.ndarray`` anymore. This was bug prone and extremely hard to maintain.
 
73
  Users are now requested to include ``numpy.copy()`` operation in their
 
74
  operators. A tutorial on inheriting from numpy is on its way.
 
75
 
 
76
**Release 1.0.1**:
 
77
 
 
78
- tools: issue #26: Operators with bounds do not work correctly when 
 
79
  bounds are provided as list instead of iterator. rev: `b172432515af`, `9d4718a8cf2a`.
 
80
- tools: add missing arguments to sortLogNondominated  (`k`, `first_front_only`). rev: `f60a6520b666`, `4de7df29dd0f`.
 
81
- gp: issue #32: :meth:`~deap.gp.PrimitiveTree.from_string` used incorrect argument order with STGP. rev: `58c1a0711e1f`.
 
82
 
 
83