@Override public String toString(){
  assignLeafModelNumbers(0);
  try {
    StringBuffer text=new StringBuffer();
    if (m_isLeaf) {
      text.append(": ");
      text.append("LM_" + m_leafModelNum + ":"+ getModelParameters());
    }
 else {
      dumpTree(0,text);
    }
    text.append("\n\nNumber of Leaves  : \t" + numLeaves() + "\n");
    text.append("\nSize of the Tree : \t" + numNodes() + "\n");
    text.append(modelsToString());
    return text.toString();
  }
 catch (  Exception e) {
    return "Can't print logistic model tree";
  }
}

@ Override public String toString ( ) { assignLeafModelNumbers ( 0 ) ; try { StringBuffer text = new StringBuffer ( ) ; if ( m_isLeaf ) { text . append ( ": " ) ; text . append ( "LM_" + m_leafModelNum + ":" + getModelParameters ( ) ) ; } else { dumpTree ( 0 , text ) ; } text . append ( "\n\nNumber of Leaves  : \t" + numLeaves ( ) + "\n" ) ; text . append ( "\nSize of the Tree : \t" + numNodes ( ) + "\n" ) ; text . append ( modelsToString ( ) ) ; return text . toString ( ) ; } catch ( Exception e ) { return "Can't print logistic model tree" ; } }
returns a description of the logistic model tree ( tree structure and logistic models )
