/** * Execute the supplied object. Subclasses need to override this method. * * @param toRun the object to execute * @param options any options to pass to the object * @throws Exception if a problem occurs */ @Override public void run(Object toRun, String[] options) throws Exception { if (!(toRun instanceof ASEvaluation)) { throw new IllegalArgumentException( "Object to run is not an instance of ASEValuation!"); } preExecution(); runEvaluator((ASEvaluation) toRun, options); postExecution(); }
/** * Execute the supplied object. Subclasses need to override this method. * * @param toRun the object to execute * @param options any options to pass to the object * @throws Exception if a problem occurs */ @Override public void run(Object toRun, String[] options) throws Exception { if (!(toRun instanceof ASEvaluation)) { throw new IllegalArgumentException( "Object to run is not an instance of ASEValuation!"); } preExecution(); runEvaluator((ASEvaluation) toRun, options); postExecution(); }
(weka.clusterers.Clusterer) scheme, options); } else if (selectedType == SchemeType.ATTRIBUTE_SELECTION) { weka.attributeSelection.ASEvaluation.runEvaluator( (weka.attributeSelection.ASEvaluation) scheme, options); } else if (selectedType == SchemeType.ASSOCIATOR) {
(weka.clusterers.Clusterer) scheme, options); } else if (selectedType == SchemeType.ATTRIBUTE_SELECTION) { weka.attributeSelection.ASEvaluation.runEvaluator( (weka.attributeSelection.ASEvaluation) scheme, options); } else if (selectedType == SchemeType.ASSOCIATOR) {