~ubuntu-branches/ubuntu/utopic/weka/utopic-proposed

« back to all changes in this revision

Viewing changes to src/main/java/weka/classifiers/trees/ft/FTtree.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2014-05-03 15:49:06 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20140503154906-s15hy2fdjy9geixq
Tags: 3.6.11-1
* New upstream release.
* Update wrapper script to work with any java6-runtime.

Show diffs side-by-side

added added

removed removed

Lines of Context:
643
643
      }else {
644
644
        text.append("N" + m_id 
645
645
                    + " [label=\"" + 
646
 
                    m_localModel.leftSide(m_train) + "\" ");
 
646
                    Utils.backQuoteChars(m_localModel.leftSide(m_train)) + "\" ");
647
647
        text.append("]\n");
648
648
        graphTree(text);
649
649
      }
662
662
      text.append("N" + m_id  
663
663
                  + "->" + 
664
664
                  "N" + m_sons[i].m_id +
665
 
                  " [label=\"" + m_localModel.rightSide(i,m_train).trim() + 
 
665
                  " [label=\"" + Utils.backQuoteChars(m_localModel.rightSide(i,m_train).trim()) + 
666
666
                  "\"]\n");
667
667
      if (m_sons[i].m_isLeaf && m_sons[i].m_hasConstr) {
668
668
        text.append("N" +m_sons[i].m_id + " [label=\"FT_"+m_sons[i].m_leafModelNum+":"+
674
674
          text.append("]\n");
675
675
        }else{
676
676
          text.append("N" + m_sons[i].m_id +
677
 
                      " [label=\""+m_sons[i].m_localModel.leftSide(m_train) + 
 
677
                      " [label=\""+ Utils.backQuoteChars(m_sons[i].m_localModel.leftSide(m_train)) + 
678
678
                      "\" ");
679
679
          text.append("]\n");
680
680
          m_sons[i].graphTree(text);