List of usage examples for weka.classifiers.rules OneR toString
@Override
public String toString()
From source file:controller.OneRBean.java
public void calculate() { output = column;//from ww w. j a va2 s.c o m int index = columns.indexOf(column); OneR one = new OneR(); inst.setClassIndex(index); inst.firstInstance(); try { one.buildClassifier(inst); output = one.toString();// + "<br /> asdfasdfasdf"; } catch (Exception ex) { Logger.getLogger(OneRBean.class.getName()).log(Level.SEVERE, null, ex); } }