ITMO-FS

Python Feature Selection library from ITMO University.


Keywords
feature selection, machine learning, feature-selection, machine-learning
License
BSD-3-Clause
Install
pip install ITMO-FS==0.3.3

Documentation

ITMO_FS

Feature selection library in Python

Package information: Python 2.7 Python 3.6 License

Install with

pip install ITMO_FS

Current available algorithms:

Filters Wrappers Hybrid Embedded Ensembles
Spearman correlation Add Del Filter Wrapper MOSNS MeLiF
Pearson correlation Backward selection   MOSS Best goes first
Fit Criterion Sequential Forward Selection   RFE Best sum
F ratio QPFS      
Gini index Hill climbing      
Information Gain        
Minimum Redundancy Maximum Relevance        
VDM        
QPFS        

To use basic filter:

from sklearn.datasets import load_iris
from ITMO_FS.filters import UnivariateFilter, spearman_corr, select_best_by_value # provides you a filter class, basic measures and cutting rules

data, target = load_iris(True)
res = UnivariateFilter(spearman_corr, select_best_by_value(0.9999)).run(data, target)
print("SpearmanCorr:", data.shape, '--->', res.shape)