Genetic feature selection module for scikit-learn
Genetic feature selection module for scikit-learn Genetic algorithms mimic the process of natural selection to search for optimal values of a function. Installation The easiest way to install sklearn-genetic is using pip pip install sklearn-genetic or conda conda install -c conda-forge sklearn-genetic Requirements Python >= 2.7 scikit-learn >= 0.20.3 DEAP >= 1.0.2 Example from __future__ import print_function import numpy as np from sklearn import datasets, linear_model from genetic_selection import GeneticSelectionCV def main(): iris = datasets.load_iris() # Some
Read more