Guest User

Untitled

a guest
Jul 18th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. from sklearn.feature_selection import VarianceThreshold
  2. # variance selection method, the return value is the data after the feature selection
  3. #Parameter threshold is the threshold of variance
  4. VarianceThreshold(threshold=3).fit_transform(iris.data)
Add Comment
Please, Sign In to add comment