示例#1
0
文件: J48.java 项目: bigbigbug/wekax
  /** Returns a superconcise version of the model */
  public String toSummaryString() {

    return "Number of leaves: "
        + m_root.numLeaves()
        + "\n"
        + "Size of the tree: "
        + m_root.numNodes()
        + "\n";
  }
示例#2
0
文件: J48.java 项目: bigbigbug/wekax
 /**
  * Returns the size of the tree
  *
  * @return the size of the tree
  */
 public double measureTreeSize() {
   return m_root.numNodes();
 }