public String toString(){
  StringBuffer text=new StringBuffer();
  text.append("Regression by discretization");
  if (m_ClassMeans == null) {
    text.append(": No model built yet.");
  }
 else {
    text.append("\n\nClass attribute discretized into " + m_ClassMeans.length + " values\n");
    text.append("\nClassifier spec: " + getClassifierSpec() + "\n");
    text.append(m_Classifier.toString());
  }
  return text.toString();
}

public String toString ( ) { StringBuffer text = new StringBuffer ( ) ; text . append ( "Regression by discretization" ) ; if ( m_ClassMeans == null ) { text . append ( ": No model built yet." ) ; } else { text . append ( "\n\nClass attribute discretized into " + m_ClassMeans . length + " values\n" ) ; text . append ( "\nClassifier spec: " + getClassifierSpec ( ) + "\n" ) ; text . append ( m_Classifier . toString ( ) ) ; } return text . toString ( ) ; }
returns a description of the classifier .
