TypeError: 'float' object is not callable报错及解决方案

今天进行scikit-learn的特征选择实验时,一段很是短的代码不知为什么老是报错,代码以下:编程 #Filename:FeatureV1.py from sklearn.feature_selection import VarianceThreshold X=[[0,0,1],[0,1,0],[1,0,0],[0,1,0],[0,1,1]] sel=VarianceThreshold(thre
相关文章
相关标签/搜索