Package weka.classifiers.trees.j48

Examples of weka.classifiers.trees.j48.Distribution


      modSelection = new C45ModelSelection(m_minNumObj, instances);
    if (!m_reducedErrorPruning)
      m_root = new C45PruneableClassifierTree(modSelection, !m_unpruned, m_CF,
              m_subtreeRaising, !m_noCleanup);
    else
      m_root = new PruneableClassifierTree(modSelection, !m_unpruned, m_numFolds,
             !m_noCleanup, m_Seed);
    m_root.buildClassifier(instances);
    if (m_binarySplits) {
      ((BinC45ModelSelection)modSelection).cleanup();
    } else {
View Full Code Here


    try {
      if( !m_reducedErrorPruning ) {
        result = new C45PruneableClassifierTree( null, !m_unpruned, m_CF, m_subtreeRaising, !m_noCleanup ).getCapabilities();
      } else {
        result = new PruneableClassifierTree( null, !m_unpruned, m_numFolds, !m_noCleanup, m_Seed ).getCapabilities();
      }
    } catch( Exception e ) {
      result = new Capabilities( this );
    }
View Full Code Here

    ModelSelection modSelection = new HTreeModelSelection( m_minNumObj, instances );

    if( !m_reducedErrorPruning ) {
      m_root = new C45PruneableClassifierTree( modSelection, !m_unpruned, m_CF, m_subtreeRaising, !m_noCleanup );
    } else {
      m_root = new PruneableClassifierTree( modSelection, !m_unpruned, m_numFolds, !m_noCleanup, m_Seed );
    }
    m_root.buildClassifier( instances );
  }
View Full Code Here

    try {
      if( !m_reducedErrorPruning ) {
        result = new C45PruneableClassifierTree( null, !m_unpruned, m_CF, m_subtreeRaising, !m_noCleanup ).getCapabilities();
      } else {
        result = new PruneableClassifierTree( null, !m_unpruned, m_numFolds, !m_noCleanup, m_Seed ).getCapabilities();
      }
    } catch( Exception e ) {
      result = new Capabilities( this );
    }
View Full Code Here

    ModelSelection modSelection = new HDIGModelSelection( m_minNumObj, instances );

    if( !m_reducedErrorPruning ) {
      m_root = new C45PruneableClassifierTree( modSelection, !m_unpruned, m_CF, m_subtreeRaising, !m_noCleanup );
    } else {
      m_root = new PruneableClassifierTree( modSelection, !m_unpruned, m_numFolds, !m_noCleanup, m_Seed );
    }
    m_root.buildClassifier( instances );
  }
View Full Code Here

    try {
      if( !m_reducedErrorPruning ) {
        result = new C45PruneableClassifierTree( null, !m_unpruned, m_CF, m_subtreeRaising, !m_noCleanup ).getCapabilities();
      } else {
        result = new PruneableClassifierTree( null, !m_unpruned, m_numFolds, !m_noCleanup, m_Seed ).getCapabilities();
      }
    } catch( Exception e ) {
      result = new Capabilities( this );
    }
View Full Code Here

    }
    if( !m_reducedErrorPruning ) {
      m_root = new C45PruneableClassifierTree( modSelection, !m_unpruned, m_CF,
          m_subtreeRaising, !m_noCleanup );
    } else {
      m_root = new PruneableClassifierTree( modSelection, !m_unpruned, m_numFolds,
          !m_noCleanup, m_Seed );
    }
    m_root.buildClassifier( instances );
    if( m_binarySplits ) {
      ( (BinC45ModelSelection) modSelection ).cleanup();
View Full Code Here

   
    try {
      if (!m_reducedErrorPruning)
        result = new C45PruneableClassifierTree(null, !m_unpruned, m_CF, m_subtreeRaising, !m_noCleanup, m_collapseTree).getCapabilities();
      else
        result = new PruneableClassifierTree(null, !m_unpruned, m_numFolds, !m_noCleanup, m_Seed).getCapabilities();
    }
    catch (Exception e) {
      result = new Capabilities(this);
      result.disableAll();
    }
View Full Code Here

      modSelection = new C45ModelSelection(m_minNumObj, instances, m_useMDLcorrection);
    if (!m_reducedErrorPruning)
      m_root = new C45PruneableClassifierTree(modSelection, !m_unpruned, m_CF,
                                              m_subtreeRaising, !m_noCleanup, m_collapseTree);
    else
      m_root = new PruneableClassifierTree(modSelection, !m_unpruned, m_numFolds,
             !m_noCleanup, m_Seed);
    m_root.buildClassifier(instances);
    if (m_binarySplits) {
      ((BinC45ModelSelection)modSelection).cleanup();
    } else {
View Full Code Here

TOP

Related Classes of weka.classifiers.trees.j48.Distribution

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.