Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

feature selection python

from sklearn.feature_selection import VarianceThreshold
sel = VarianceThreshold(threshold=(0.95 * (1 - 0.95)))
sel_=sel.fit_transform(features)
 
PREVIOUS NEXT
Tagged: #feature #selection #python
ADD COMMENT
Topic
Name
1+4 =