/** * Set the classifier to use for accuracy estimation * * @param newClassifier the Classifier to use. */ public void setClassifier(Classifier newClassifier) { m_wrapperTemplate.setClassifier(newClassifier); }
/** * Set the classifier to use for accuracy estimation * * @param newClassifier the Classifier to use. */ public void setClassifier(Classifier newClassifier) { m_wrapperTemplate.setClassifier(newClassifier); }
/** Creates a WrapperSubsetEval with J48 */ public ASEvaluation getEvaluator() { WrapperSubsetEval eval = new WrapperSubsetEval(); eval.setClassifier(new weka.classifiers.trees.J48()); return eval; }
/** Creates a WrapperSubsetEval with J48 */ public ASEvaluation getEvaluator() { WrapperSubsetEval eval = new WrapperSubsetEval(); eval.setClassifier(new weka.classifiers.trees.J48()); return eval; }
optionString = ZeroR.class.getName(); setClassifier(AbstractClassifier.forName(optionString, Utils.partitionOptions(options))); optionString = Utils.getOption('F', options);
optionString = ZeroR.class.getName(); setClassifier(AbstractClassifier.forName(optionString, Utils.partitionOptions(options))); optionString = Utils.getOption('F', options);
wrapper.setClassifier(this.classifier); wrapper.setFolds(10); wrapper.setThreshold(0.01);