de.dfki.madm.mlwizard.functionality
Class SystemConstructor

java.lang.Object
  extended by de.dfki.madm.mlwizard.functionality.SystemConstructor

public class SystemConstructor
extends java.lang.Object

constructs the final classification system

Author:
remat

Constructor Summary
SystemConstructor()
           
 
Method Summary
static
<T extends com.rapidminer.operator.Operator>
T
addOperator(com.rapidminer.Process process, java.lang.Class<T> clazz, com.rapidminer.operator.Operator previsouOperator)
          creates an operator and adds it to the process and connect its first input with the first output of the previous operator
static com.rapidminer.Process createProcess(Classifier classifier, com.rapidminer.operator.meta.ParameterSet parameterSet, java.lang.String datasetLocation)
           
static com.rapidminer.Process createProcess(Classifier classifier, com.rapidminer.operator.meta.ParameterSet parameterSet, java.lang.String datasetLocation, boolean xrff)
          creates a complete process of creating a classification model for the given classifier, parameter set and dataset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemConstructor

public SystemConstructor()
Method Detail

addOperator

public static <T extends com.rapidminer.operator.Operator> T addOperator(com.rapidminer.Process process,
                                                                         java.lang.Class<T> clazz,
                                                                         com.rapidminer.operator.Operator previsouOperator)
                                                              throws com.rapidminer.operator.OperatorCreationException
creates an operator and adds it to the process and connect its first input with the first output of the previous operator

Parameters:
process - the process
clazz - the class of the operator to be created
previsouOperator - the previous operator
Returns:
the newly created operator
Throws:
com.rapidminer.operator.OperatorCreationException

createProcess

public static com.rapidminer.Process createProcess(Classifier classifier,
                                                   com.rapidminer.operator.meta.ParameterSet parameterSet,
                                                   java.lang.String datasetLocation)
                                            throws com.rapidminer.operator.OperatorCreationException,
                                                   java.io.IOException,
                                                   com.rapidminer.tools.XMLException
Throws:
com.rapidminer.operator.OperatorCreationException
java.io.IOException
com.rapidminer.tools.XMLException

createProcess

public static com.rapidminer.Process createProcess(Classifier classifier,
                                                   com.rapidminer.operator.meta.ParameterSet parameterSet,
                                                   java.lang.String datasetLocation,
                                                   boolean xrff)
                                            throws com.rapidminer.operator.OperatorCreationException,
                                                   java.io.IOException,
                                                   com.rapidminer.tools.XMLException
creates a complete process of creating a classification model for the given classifier, parameter set and dataset

Parameters:
classifier - the classifier
parameterSet - the parameter set that will be applied to the final process
datasetLocation - the location of the dataset
Returns:
the created process
Throws:
com.rapidminer.operator.OperatorCreationException
com.rapidminer.tools.XMLException
java.io.IOException


Copyright © 2001-2009 by Rapid-I