weka4ws.service.impl
Class ClassificationTask

java.lang.Object
  extended byweka4ws.service.impl.DataMiningTask
      extended byweka4ws.service.impl.DataMiningTestTask
          extended byweka4ws.service.impl.ClassificationTask
All Implemented Interfaces:
DataMiningConstants

public class ClassificationTask
extends DataMiningTestTask

Author:
Marco Lackovic

Field Summary
 
Fields inherited from interface weka4ws.service.impl.DataMiningConstants
CLASSES_TO_CLUSTERS, CROSS_VALIDATION, GRIDMAPFILE, logger, PERCENTAGE_SPLIT, TEMP_DIR, TEST_SET, TRAINING_SET
 
Constructor Summary
ClassificationTask(ClassificationParameters parameters, Weka4WSResource resultResource)
           
 
Method Summary
static void processClassifierPrediction(weka.core.Instance toPredict, weka.classifiers.Classifier classifier, weka.classifiers.Evaluation eval, weka.core.FastVector predictions, weka.core.Instances plotInstances, weka.core.FastVector plotShape, weka.core.FastVector plotSize)
          Method taken from the ClassifierPanel class of Weka 3.4.11
static weka.core.Instances setUpVisualizableInstances(weka.core.Instances trainInstances)
          Method taken from the ClassifierPanel class of Weka 3.4.11.
 void startClassifier()
          This is the same method of the class weka.gui.explorer.ClassifierPanel taken from the source code of Weka version 3.4.11
 
Methods inherited from class weka4ws.service.impl.DataMiningTestTask
isTestsetAvailable
 
Methods inherited from class weka4ws.service.impl.DataMiningTask
getSavePath, isDatasetAvailable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassificationTask

public ClassificationTask(ClassificationParameters parameters,
                          Weka4WSResource resultResource)
                   throws java.lang.Exception
Method Detail

startClassifier

public void startClassifier()
This is the same method of the class weka.gui.explorer.ClassifierPanel taken from the source code of Weka version 3.4.11


setUpVisualizableInstances

public static weka.core.Instances setUpVisualizableInstances(weka.core.Instances trainInstances)
Method taken from the ClassifierPanel class of Weka 3.4.11.


processClassifierPrediction

public static void processClassifierPrediction(weka.core.Instance toPredict,
                                               weka.classifiers.Classifier classifier,
                                               weka.classifiers.Evaluation eval,
                                               weka.core.FastVector predictions,
                                               weka.core.Instances plotInstances,
                                               weka.core.FastVector plotShape,
                                               weka.core.FastVector plotSize)
Method taken from the ClassifierPanel class of Weka 3.4.11