Package eu.admire.ogsadai.activity.weka

Examples of eu.admire.ogsadai.activity.weka.ClassifyActivity.addOutput()


          MockInputPipe inputClassifier = new MockInputPipe(classifier);
          classify.addInput(ClassifyActivity.INPUT_CLASSIFIER, inputClassifier);
          MockInputPipe inputData = new MockInputPipe(buildInputTable().toArray());
          classify.addInput(ClassifyActivity.INPUT_DATA, inputData);
          MockOutputPipe outputClassify = new MockOutputPipe(new Object[] {});
          classify.addOutput(ClassifyActivity.OUTPUT, outputClassify);
         
          classify.process();
         
          List actualBlocks = outputClassify.getActualBlocks();
          assertEquals(input.size(), actualBlocks.size());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.