Releases: Talendar/nevopy
Releases · Talendar/nevopy
NEvoPy 0.2.3
Release 0.2.3
Bug Fixes and Other Changes
- Fixed
nevopy.callbacks.BestGenomeCheckpointnot working properly with
negative fitness values. - Fixed
nevopy.neat.visualization.columns_graph_layoutwrongfully positioning
hidden nodes when the network had only one column of hidden nodes.
Breaking Changes
- Removed the
file_prefixparameter from the
nevopy.callbacks.BestGenomeCheckpoint.__init__method. - Changed the default values of the parameters
out_pathand
min_improvement_pcof thenevopy.callbacks.BestGenomeCheckpoint.__init__
method.
NEvoPy 0.2.2
Release 0.2.2
Bug Fixes and Other Changes
- Added the
gympackage to the project's dependencies (version 0.17.3). - Fixed missing docs on RTD due to dependencies issues.
NOTE: the version 0.2.1 was released as a quick-fix for PyPI only.
NEvoPy 0.2.0
Release 0.2.0
Major Features and Improvements
- Added a new function (
nevopy.neat.visualization.visualize_activations) to
visualize the neural topology of NEAT genomes (nevopy.neat.NeatGenome) while
they interact with an environment. It's highly customizable and allows, among
other things, activated nodes and edges to be drawn with different colors.
Check the lunar lander example for a demonstration. - Added new utilities to be used with
gymenvironments, including callbacks
and custom renderers. They're all contained within the new subpackage
nevopy.utils.gym_utils. - Added the bipedal walker example.
- Improved the lunar lander example. Now it shows the neural topology of the
evolved genome side by side with the rendering of the environment.
Breaking Changes
- Removed
nevopy.fixed_topology.FixedTopologyPopulation(deprecated since
v0.1.0). Thenevopy.genetic_algorithm.GeneticPopulationclass should be
used instead. - Removed
nevopy.fixed_topology.FixedTopologyConfig(deprecated since v0.1.0).
Thenevopy.genetic_algorithm.GeneticAlgorithmConfigclass should be used
instead. - Removed the Mario example.
- Replaced
nevopy.utils.GymEnvFitnesswithnevopy.utils.GymFitnessFunction,
which has more features and supports more advanced callbacks.
NEvoPy 0.1.1
Release 0.1.1
Bug Fixes and Other Changes
- Fixed a bug in
ne.utils.GymEnvFitnessthat led to an incorrect
interpretation of the agent's chosen action when dealing with TensorFlow
tensors. - Updated
ne.fixed_topology.FixedTopologyGenome.visualize. It now returns the
generatedPIL.Image.Imageobject. It's possible now to directly use the
method to visualize the genome's topology on a Jupyter Notebook. - Added a new XOR example (Jupyter Notebook).
- Added a wrapper to
tf.keras.layers.MaxPool2Dinne.fixed_topology.layers. - Fixed a bug that occurred when a string was passed to the
layer_type
parameter of the constructor of thene.fixed_topology.TensorFlowLayerclass.
NEvoPy 0.1.0
Release 0.1.0
Breaking Changes
ne.fixed_topology.FixedTopologyPopulationhas been deprecated. The new class
ne.genetic_algorithm.GeneticPopulationshould be
used in its place.ne.fixed_topology.FixedTopologyConfighas been deprecated. The new class
ne.genetic_algorithm.GeneticAlgorithmConfigshould used in its place.
Bug Fixes and Other Changes
- Added new type of population:
ne.genetic_algorithm.GeneticPopulation. It
implements a generalizable genetic algorithm that can be used as a base for a
wide range of neuroevolutionary algorithms. This resolves #1. - Added
deprecation.pytoutils. It implements the@deprecateddecorator,
that can be used to mark a function, method or class as being deprecated. - Fixed a bug in
GymEnvFitnessthat was causing an incorrect interpretation of
the output values of fixed-topology genomes using TensorFlow layers. - Made some fixes and additions to the project's docstrings.
- Added a new example in which NEvoPy is used to create an AI to play the
Flappy Bird game. - The other examples were reformatted and comments explaining the code were
added to them.
NEvoPy 0.0.2
Pre-release of NEvoPy. The docs and the examples of the project need to be improved before a full release.