Skip to content

Commit

Permalink
Merge pull request #142 from Happy-Algorithms-League/setup/long_descr…
Browse files Browse the repository at this point in the history
…iption

Change long description in setup.py
  • Loading branch information
mschmidt87 authored Jun 10, 2020
2 parents c743f20 + 84ffba8 commit fad7435
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 14 additions & 0 deletions long_description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
HAL-CGP
=======
[![Python3.6](https://img.shields.io/badge/python-3.6-red.svg)](https://www.python.org/downloads/release/python-369/)
[![Python3.7](https://img.shields.io/badge/python-3.7-red.svg)](https://www.python.org/)
[![Python3.8](https://img.shields.io/badge/python-3.8-red.svg)](https://www.python.org/)
[![GPL license](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-3.0.html)
[![Build Status](https://api.travis-ci.org/Happy-Algorithms-League/hal-cgp.svg?branch=master)](https://travis-ci.org/Happy-Algorithms-League/hal-cgp)
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Coverage Status](https://coveralls.io/repos/github/Happy-Algorithms-League/python-gp/badge.svg?branch=master)](https://coveralls.io/github/Happy-Algorithms-League/python-gp?branch=master)

Cartesian genetic programming (CGP) in pure Python.

This library implements Cartesian genetic programming (e.g, Miller and Thomson, 2000; Miller, 2011) for symbolic regression in pure Python, targeting applications with expensive fitness evaluations. It provides Python data structures to represent and evolve two-dimensional directed graphs (genotype) that are translated into computational graphs (phenotype) implementing mathematical expressions. The computational graphs can be compiled as a Python functions, SymPy expressions (Meurer et al., 2017) or PyTorch modules (Paszke et al., 2017). The library currently implements an evolutionary algorithm, specifically (mu + lambda) evolution strategies adapted from Deb et al. (2002), to evolve a population of symbolic expressions in order to optimize an objective function.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def read_extra_requirements():
name="hal-cgp",
version=read_version(),
author="Jakob Jordan, Maximilian Schmidt",
author_email="[email protected]",
description=("Cartesian Genetic Programming in pure Python."),
license="GPLv3",
keywords="genetic programming",
Expand All @@ -43,7 +42,7 @@ def read_extra_requirements():
install_requires=read_requirements(),
extras_require=read_extra_requirements(),
packages=["cgp", "cgp.ea", "cgp.local_search"],
long_description=open("README.md").read(),
long_description=open("long_description.md").read(),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit fad7435

Please sign in to comment.