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 ready to be used. It has an interface similar to other scikit-learn estimators. When fit() is called, the 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
Directory ./genens/tests contains scripts for running dataset tests and produce data about evolution process along with 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
- Runs genEns on the OpenML-CC18 benchmarking suite
python ./genens/tests/run_openml.py --out OUT_DIR --config CONFIG
More tests are to be included in later releases.
Metadata
Release files for genens 0.1.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| genens-0.1.19.tar.gz | 35.1 kB | Without provenance | Details |
Release files / genens-0.1.19.tar.gz
| Download URL | genens-0.1.19.tar.gz |
|---|---|
| Size | 35.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fee4682d3c70c52f06c8eb606539761f4b7227847cdcc57425d882d56ef69123
|
|
BLAKE2b-256 checksum How to use checksums |
12f55576356c6d2440c6ec323760fbc773c436344e5f05901be72e7d816966de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for genens 0.1.19
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.