Skip to main content

A genetic AutoML system for ensemble methods

Project description

Genens

Genens is an AutoML system for pipeline optimization based on developmental genetic programming.

Installation

Clone the repository.

git clone https://github.com/gabrielasuchopar/genens.git
pip install genens

Using Genens

As for now, the GenensClassifier is fully functional. It can be used just as any scikit-learn classifier. When fit() is called, evolutionary optimization is run. After it finishes, predict() produces a prediction with the best of optimized pipelines. Alternatively, you can call get_best_pipelines() to get pipelines from the pareto front.

from genens import GenensClassifier
from sklearn.datasets import load_iris()

iris = load_iris()
train_X, test_X, train_y, test_y = train_test_split(iris.data, iris.target, test_size=0.25)

clf = GenensClassifier()
clf.fit(train_X, train_y)
... # process of evolution

pred = clf.predict(test_X)

Tests

You can run tests which produce data about evolution process and pickle files of best optimized pipelines. Sample config files are included in ./genens/tests/config.

  • Run Genens on a dataset specified in the config file.

python ./genens/tests/run_datasets.py --out OUT_DIR config CONFIG

python ./genens/tests/run_openml.py --out OUT_DIR --config CONFIG

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genens-0.1.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genens-0.1-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file genens-0.1.tar.gz.

File metadata

  • Download URL: genens-0.1.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5

File hashes

Hashes for genens-0.1.tar.gz
Algorithm Hash digest
SHA256 ab118be9b6e33adea46fe5272fec80fb7eed20853440728281e2d07c1a3bd93b
MD5 7cb462e396565ff5f4b97a165dd400e5
BLAKE2b-256 78eb9190982bf0206a185ccf46f6251d3f7af2404ccf9e92428496e4b69feec7

See more details on using hashes here.

File details

Details for the file genens-0.1-py3-none-any.whl.

File metadata

  • Download URL: genens-0.1-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5

File hashes

Hashes for genens-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd1c7a2d4f0d8a8a71eadc4232f27023ed29bedc27a76a39e68fd004a69c7abd
MD5 32e61fed060ddb1d92b280b9150e22cd
BLAKE2b-256 4ba844048d069bc61896bf8e91c33362958a630f8a5ab3021ce88e3ca0c57f0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page