Python 特征选择的FCBF方法

Python 特征选择的FCBF方法,python,filter,Python,Filter,我想使用快速相关滤波器(FCBF)选择方法来选择自变量中的重要和非冗余变量进行分类。我在github中找到了该方法的python实现。 我按照相同的步骤使用该方法,但出现以下错误: C:\Users\HP> python fcbf.py -h (null): can't open file 'fcbf.py': [Errno 2] No such file or directory C:\Users\HP>cd C:\Users\HP\Downloads\FCBF-master\F

我想使用快速相关滤波器(FCBF)选择方法来选择自变量中的重要和非冗余变量进行分类。我在github中找到了该方法的python实现。 我按照相同的步骤使用该方法,但出现以下错误:

C:\Users\HP> python fcbf.py -h
(null): can't open file 'fcbf.py': [Errno 2] No such file or directory

C:\Users\HP>cd C:\Users\HP\Downloads\FCBF-master\FCBF-master\src

C:\Users\HP\Downloads\FCBF-master\FCBF-master\src> python fcbf.py -h
  File "fcbf.py", line 158
    print "Using minimum SU value as default threshold: {0}".format(thresh)
                                                           ^
SyntaxError: invalid syntax