com.rapidminer.operator.learner.functions.kernel
Class GPLearner

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.learner.AbstractLearner
          extended by com.rapidminer.operator.learner.functions.kernel.GPLearner
All Implemented Interfaces:
ConfigurationListener, PreviewListener, Learner, ParameterHandler, LoggingHandler

public class GPLearner
extends AbstractLearner

Gaussian Process (GP) Learner. The GP is a probabilistic method both for classification and regression.

Author:
Piotr Kasprzak, Ingo Mierswa
Keywords:
GP

Field Summary
static java.lang.String[] KERNEL_TYPES
           
static java.lang.String PARAMETER_EPSILON_TOL
          The parameter name for "Tolerance for gamma induced projections"
static java.lang.String PARAMETER_GEOMETRICAL_TOL
          The parameter name for "Tolerance for geometry induced projections"
static java.lang.String PARAMETER_GP_TYPE
          The parameter name for "Regression"
static java.lang.String PARAMETER_KERNEL_A
          The parameter name for "The SVM kernel parameter a (neural).
static java.lang.String PARAMETER_KERNEL_B
          The parameter name for "The SVM kernel parameter b (neural).
static java.lang.String PARAMETER_KERNEL_BIAS
          The parameter name for "The bias used in the poly kernel.
static java.lang.String PARAMETER_KERNEL_DEGREE
          The parameter name for "The degree used in the poly kernel.
static java.lang.String PARAMETER_KERNEL_LENGTHSCALE
          The parameter name for "The lengthscale r for rbf kernel functions (exp{-1.0 * r^-2 * ||x - bla||}).
static java.lang.String PARAMETER_KERNEL_SHIFT
          The parameter name for "The SVM kernel parameter shift (polynomial, Multiquadric).
static java.lang.String PARAMETER_KERNEL_SIGMA1
          The parameter name for "The SVM kernel parameter sigma1 (Epanechnikov, Gaussian Combination, Multiquadric).
static java.lang.String PARAMETER_KERNEL_SIGMA2
          The parameter name for "The SVM kernel parameter sigma2 (Gaussian Combination).
static java.lang.String PARAMETER_KERNEL_SIGMA3
          The parameter name for "The SVM kernel parameter sigma3 (Gaussian Combination).
static java.lang.String PARAMETER_KERNEL_TYPE
          The parameter name for "The kind of kernel.
static java.lang.String PARAMETER_MAX_BASIS_VECTORS
          The parameter name for "Maximum number of basis vectors to be used.
 
Fields inherited from class com.rapidminer.operator.learner.AbstractLearner
PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN
 
Constructor Summary
GPLearner(OperatorDescription description)
           
 
Method Summary
 Kernel createKernel()
          Create the appropriate kernel function depending on the RapidMiner - ui settings.
 java.util.List<ParameterType> getParameterTypes()
          Returns a list of ParameterTypes describing the parameters of this operator.
 Model learn(ExampleSet exampleSet)
          Trains a model.
 boolean supportsCapability(LearnerCapability lc)
          Checks for Learner capabilities.
 
Methods inherited from class com.rapidminer.operator.learner.AbstractLearner
apply, getEstimatedPerformance, getInputClasses, getInputDescription, getOptimizationPerformance, getOutputClasses, getWeights, onlyWarnForNonSufficientCapabilities, shouldCalculateWeights, shouldDeliverOptimizationPerformance, shouldEstimatePerformance
 
Methods inherited from class com.rapidminer.operator.Operator
addError, addValue, addWarning, apply, checkDeprecations, checkForStop, checkIO, checkProperties, clearErrorList, cloneOperator, createExperimentTree, createExperimentTree, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, getAddOnlyAdditionalOutput, getApplyCount, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getEncoding, getErrorList, getExperiment, getInnerOperatorsXML, getInput, getInput, getInput, getIOContainerForInApplyLoopBreakpoint, getIODescription, getLog, getName, getOperatorClassName, getOperatorDescription, getParameter, getParameterAsBoolean, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsString, getParameterList, getParameters, getParameterType, getParent, getProcess, getStartTime, getStatus, getUserDescription, getValue, getValues, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isEnabled, isExpanded, isParallel, isParameterSet, log, logError, logNote, logWarning, performAdditionalChecks, processFinished, processStarts, register, registerOperator, remove, rename, resume, setApplyCount, setBreakpoint, setEnabled, setExpanded, setInput, setListParameter, setOperatorParameters, setParameter, setParameters, setParent, setUserDescription, toString, unregisterOperator, writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rapidminer.operator.learner.Learner
getName
 

Field Detail

PARAMETER_GP_TYPE

public static final java.lang.String PARAMETER_GP_TYPE
The parameter name for "Regression"

See Also:
Constant Field Values

PARAMETER_KERNEL_TYPE

public static final java.lang.String PARAMETER_KERNEL_TYPE
The parameter name for "The kind of kernel."

See Also:
Constant Field Values

PARAMETER_KERNEL_LENGTHSCALE

public static final java.lang.String PARAMETER_KERNEL_LENGTHSCALE
The parameter name for "The lengthscale r for rbf kernel functions (exp{-1.0 * r^-2 * ||x - bla||})."

See Also:
Constant Field Values

PARAMETER_KERNEL_DEGREE

public static final java.lang.String PARAMETER_KERNEL_DEGREE
The parameter name for "The degree used in the poly kernel."

See Also:
Constant Field Values

PARAMETER_KERNEL_BIAS

public static final java.lang.String PARAMETER_KERNEL_BIAS
The parameter name for "The bias used in the poly kernel."

See Also:
Constant Field Values

PARAMETER_KERNEL_SIGMA1

public static final java.lang.String PARAMETER_KERNEL_SIGMA1
The parameter name for "The SVM kernel parameter sigma1 (Epanechnikov, Gaussian Combination, Multiquadric)."

See Also:
Constant Field Values

PARAMETER_KERNEL_SIGMA2

public static final java.lang.String PARAMETER_KERNEL_SIGMA2
The parameter name for "The SVM kernel parameter sigma2 (Gaussian Combination)."

See Also:
Constant Field Values

PARAMETER_KERNEL_SIGMA3

public static final java.lang.String PARAMETER_KERNEL_SIGMA3
The parameter name for "The SVM kernel parameter sigma3 (Gaussian Combination)."

See Also:
Constant Field Values

PARAMETER_KERNEL_SHIFT

public static final java.lang.String PARAMETER_KERNEL_SHIFT
The parameter name for "The SVM kernel parameter shift (polynomial, Multiquadric)."

See Also:
Constant Field Values

PARAMETER_KERNEL_A

public static final java.lang.String PARAMETER_KERNEL_A
The parameter name for "The SVM kernel parameter a (neural)."

See Also:
Constant Field Values

PARAMETER_KERNEL_B

public static final java.lang.String PARAMETER_KERNEL_B
The parameter name for "The SVM kernel parameter b (neural)."

See Also:
Constant Field Values

PARAMETER_MAX_BASIS_VECTORS

public static final java.lang.String PARAMETER_MAX_BASIS_VECTORS
The parameter name for "Maximum number of basis vectors to be used."

See Also:
Constant Field Values

PARAMETER_EPSILON_TOL

public static final java.lang.String PARAMETER_EPSILON_TOL
The parameter name for "Tolerance for gamma induced projections"

See Also:
Constant Field Values

PARAMETER_GEOMETRICAL_TOL

public static final java.lang.String PARAMETER_GEOMETRICAL_TOL
The parameter name for "Tolerance for geometry induced projections"

See Also:
Constant Field Values

KERNEL_TYPES

public static final java.lang.String[] KERNEL_TYPES
Constructor Detail

GPLearner

public GPLearner(OperatorDescription description)
Method Detail

supportsCapability

public boolean supportsCapability(LearnerCapability lc)
Description copied from interface: Learner
Checks for Learner capabilities. Should return true if the given capability is supported.


learn

public Model learn(ExampleSet exampleSet)
            throws OperatorException
Description copied from interface: Learner
Trains a model. This method should be called by apply() and is implemented by subclasses.

Throws:
OperatorException

createKernel

public Kernel createKernel()
                    throws OperatorException
Create the appropriate kernel function depending on the RapidMiner - ui settings.

Throws:
OperatorException

getParameterTypes

public java.util.List<ParameterType> getParameterTypes()
Description copied from class: Operator
Returns a list of ParameterTypes describing the parameters of this operator. The default implementation returns an empty list if no input objects can be retained and special parameters for those input objects which can be prevented from being consumed.

Specified by:
getParameterTypes in interface ParameterHandler
Overrides:
getParameterTypes in class Operator


Copyright © 2001-2009 by Rapid-I