0.13.1
Release Notes
0.13.1
New Features
-
random_stateparameter:GASearchCVandGAFeatureSelectionCVnow accept arandom_stateargument that seeds the entire search atfittime — population initialisation (including Latin hypercube sampling), mutation, crossover, and random immigrants. Runs are fully reproducible without manually seeding the globalrandom/numpyRNGs. Passrandom_state=None(default) to keep the previous non-deterministic behaviour. -
Expanded plotting API: eleven new functions in
sklearn_genetic.plots—plot_parameter_evolution,plot_search_decisions,plot_candidate_scores,plot_feature_selection,plot_convergence,plot_diversity,plot_optimizer_events,plot_score_landscape,plot_cv_scores,plot_candidate_rankings, andplot_search_overview. See the Plotting Gallery for examples. -
Benchmarks page: new Benchmarks section in the docs with Bayesmark-style comparisons of
GASearchCVagainst Optuna and random search on tabular regression/classification tasks and CASH (combined algorithm selection and hyperparameter optimisation) scenarios.
Bug Fixes
- Fixed Latin hypercube sampler reproducibility: the
smartinitialiser now seedsqmc.LatinHypercubefrom the global RNG so numeric-parameter searches are reproducible whenrandom_stateis set.