@Override public String toString(){
  StringBuffer text=new StringBuffer();
  if (m_trainInstances == null) {
    text.append("ReliefF feature evaluator has not been built yet\n");
  }
 else {
    text.append("\tReliefF Ranking Filter");
    text.append("\n\tInstances sampled: ");
    if (m_sampleM == -1) {
      text.append("all\n");
    }
 else {
      text.append(m_sampleM + "\n");
    }
    text.append("\tNumber of nearest neighbours (k): " + m_Knn + "\n");
    if (m_weightByDistance) {
      text.append("\tExponentially decreasing (with distance) " + "influence for\n" + "\tnearest neighbours. Sigma: " + m_sigma + "\n");
    }
 else {
      text.append("\tEqual influence nearest neighbours\n");
    }
  }
  return text.toString();
}

@ Override public String toString ( ) { StringBuffer text = new StringBuffer ( ) ; if ( m_trainInstances == null ) { text . append ( "ReliefF feature evaluator has not been built yet\n" ) ; } else { text . append ( "\tReliefF Ranking Filter" ) ; text . append ( "\n\tInstances sampled: " ) ; if ( m_sampleM == - 1 ) { text . append ( "all\n" ) ; } else { text . append ( m_sampleM + "\n" ) ; } text . append ( "\tNumber of nearest neighbours (k): " + m_Knn + "\n" ) ; if ( m_weightByDistance ) { text . append ( "\tExponentially decreasing (with distance) " + "influence for\n" + "\tnearest neighbours. Sigma: " + m_sigma + "\n" ) ; } else { text . append ( "\tEqual influence nearest neighbours\n" ) ; } } return text . toString ( ) ; }
return a description of the relieff attribute evaluator .
