Package weka.experiment

Examples of weka.experiment.CrossValidationResultProducer


      sec = ((RegressionSplitEvaluator)se).getClassifier();
    }
   
    // build new ResultProducer
    if (m_ExperimentTypeCBox.getSelectedItem() == TYPE_CROSSVALIDATION_TEXT) {
      CrossValidationResultProducer cvrp = new CrossValidationResultProducer();
      cvrp.setNumFolds(m_numFolds);
      cvrp.setSplitEvaluator(se);
     
      PropertyNode[] propertyPath = new PropertyNode[2];
      try {
  propertyPath[0] = new PropertyNode(se, new PropertyDescriptor("splitEvaluator",
                      CrossValidationResultProducer.class),
View Full Code Here


    }

    if (m_ExperimentTypeCBox.getSelectedItem() == TYPE_CROSSVALIDATION_TEXT) {

      if (m_Exp.getResultProducer() instanceof CrossValidationResultProducer) {
  CrossValidationResultProducer cvrp = (CrossValidationResultProducer) m_Exp.getResultProducer();
  cvrp.setNumFolds(m_numFolds);
      } else {
  return;
      }

    } else {
View Full Code Here

TOP

Related Classes of weka.experiment.CrossValidationResultProducer

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.