Skip to content

Commit

Permalink
new release
Browse files Browse the repository at this point in the history
  • Loading branch information
YingxuH committed Jun 19, 2021
1 parent 104960e commit dde2998
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A black-box optimization package published in [pypi](https://pypi.org/project/ge

#### Example

The original example code can be found in [test.py](./test.py).
The original example code can be found in [test.py](https://github.com/YingxuH/genetic_algorithm/blob/master/test.py).

import numpy as np
import matplotlib.pyplot as plt
Expand Down Expand Up @@ -64,7 +64,7 @@ Visualize the difference between predicted and ground truth data:

population size = 100 | population size = 500
:-------------------------:|:-------------------------:
![](./img/example1.png) | ![](./img/example2.png)
![](https://github.com/YingxuH/genetic_algorithm/blob/master/img/example1.png) | ![](https://github.com/YingxuH/genetic_algorithm/blob/master/img/example2.png)

There is still quite some difference between the predicted ones and the ground truth.
If the population size goes 100 to 500, the optimizer is then working better than before. There are other parameters such as
Expand Down
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,20 @@
setuptools.setup(
name = 'genetic_algorithm',
packages = ['genetic_algorithm'],
version = '0.2.2',
version = '1.0.0',
license='MIT',
description = 'A python package implementing the genetic algorithm',
long_description = long_description,
long_description_content_type='text/markdown',
author = 'He Yingxu',
author_email = '[email protected]',
url = 'https://github.com/YingxuH/genetic_algorithm',
download_url = 'https://github.com/YingxuH/genetic_algorithm/archive/0.2.2.tar.gz',
keywords = ['genetic algorithm', 'machine learning'],
download_url = 'https://github.com/YingxuH/genetic_algorithm/archive/1.0.0.tar.gz',
keywords = ['genetic algorithm', 'machine learning', "optimization"],
install_requires = [
"numpy",
"pandas"
"pandas",
"scipy"
],
classifiers=[
'Development Status :: 4 - Beta', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
Expand Down

0 comments on commit dde2998

Please sign in to comment.