【问题标题】:WEKA: How to filter multiple attribute ranges?WEKA:如何过滤多个属性范围?
【发布时间】:2011-08-27 20:54:25
【问题描述】:

这是我通常在weka中选择一个属性范围的做法

String[] options = new String[2];
options[0] = "-R";                                    // "range"
options[1] = "1-2"; 

Remove remove = new Remove();                         // new instance of filter
remove.setOptions(options);   

现在,我还需要删除属性字段 4,如何在 options[1] 中指定?

谢谢

【问题讨论】:

    标签: machine-learning weka classification


    【解决方案1】:

    The Remove API 将要删除的属性描述为逗号分隔的列表, 所以我认为你应该使用:

    options[1] = "1-2,4";
    

    【讨论】:

      猜你喜欢
      • 2021-03-21
      • 2020-01-20
      • 1970-01-01
      • 2020-02-26
      • 1970-01-01
      • 2014-02-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多