Sklearn-nature-inspired-algorithms

Latest version: v0.12.0

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

0.4.0

The nature-inspired search can be run multiple times, this will provide more stable results. Helper visualization functions were updated to show multiple runs/select run to show.

0.3.0

- new algorithms: Hybrid Bat Algorithm, Hybrid Self Adapting Bat Algorithm
- changed default option values for `NatureInspiredSearchCV`, the new defaults are:
- `algorithm` = `hba`
- `population_size` = `50`
- `max_n_gen` = `100`
- `max_stagnating_gen` = `20`

0.2.2

- bug fixes

0.2.1

- added support to select metric (`min`, `max`, `median`, `mean`) in `score_by_generation_lineplot`

0.2.0

- changed default option values for `NatureInspiredSearchCV`, the new defaults are:
- `algorithm` = `ba`
- `population_size` = `15`
- `max_n_gen` = `25`
- `max_stagnating_gen` = `2`
- new helper methods `score_by_generation_violinplot`, `score_by_generation_lineplot` for plotting the search progress
python
from sklearn_nature_inspired_algorithms.model_selection import NatureInspiredSearchCV
from sklearn_nature_inspired_algorithms.helpers import score_by_generation_violinplot

nia_search = NatureInspiredSearchCV(clf, param_grid)

score_by_generation_violinplot(nia_search)

0.1.1

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.