com.rapidminer.operator.learner.bayes
Class KernelNaiveBayes

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

public class KernelNaiveBayes
extends AbstractLearner

Kernel Naive Bayes learner.

Version:
$Id: KernelNaiveBayes.java,v 1.1.2.1 2009-04-08 14:40:21 tobiasmalbrecht Exp $
Author:
Tobias Malbrecht

Field Summary
static int BANDWIDTH_SELECTION_MODE_FIX
           
static int BANDWIDTH_SELECTION_MODE_HEURISTIC
           
static java.lang.String[] BANDWIDTH_SELECTION_MODES
           
static int ESTIMATION_MODE_FULL
           
static int ESTIMATION_MODE_GREEDY
           
static java.lang.String[] ESTIMATION_MODES
           
static java.lang.String PARAMETER_APPLICATION_GRID_SIZE
           
static java.lang.String PARAMETER_BANDWIDTH
           
static java.lang.String PARAMETER_BANDWIDTH_SELECTION
           
static java.lang.String PARAMETER_ESTIMATION_MODE
           
static java.lang.String PARAMETER_LAPLACE_CORRECTION
           
static java.lang.String PARAMETER_MINIMUM_BANDWIDTH
           
static java.lang.String PARAMETER_NUMBER_OF_KERNELS
           
static java.lang.String PARAMETER_USE_APPLICATION_GRID
           
 
Fields inherited from class com.rapidminer.operator.learner.AbstractLearner
PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN
 
Constructor Summary
KernelNaiveBayes(OperatorDescription description)
           
 
Method Summary
 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_LAPLACE_CORRECTION

public static final java.lang.String PARAMETER_LAPLACE_CORRECTION
See Also:
Constant Field Values

PARAMETER_ESTIMATION_MODE

public static final java.lang.String PARAMETER_ESTIMATION_MODE
See Also:
Constant Field Values

ESTIMATION_MODES

public static final java.lang.String[] ESTIMATION_MODES

ESTIMATION_MODE_FULL

public static final int ESTIMATION_MODE_FULL
See Also:
Constant Field Values

ESTIMATION_MODE_GREEDY

public static final int ESTIMATION_MODE_GREEDY
See Also:
Constant Field Values

PARAMETER_BANDWIDTH_SELECTION

public static final java.lang.String PARAMETER_BANDWIDTH_SELECTION
See Also:
Constant Field Values

BANDWIDTH_SELECTION_MODES

public static final java.lang.String[] BANDWIDTH_SELECTION_MODES

BANDWIDTH_SELECTION_MODE_HEURISTIC

public static final int BANDWIDTH_SELECTION_MODE_HEURISTIC
See Also:
Constant Field Values

BANDWIDTH_SELECTION_MODE_FIX

public static final int BANDWIDTH_SELECTION_MODE_FIX
See Also:
Constant Field Values

PARAMETER_BANDWIDTH

public static final java.lang.String PARAMETER_BANDWIDTH
See Also:
Constant Field Values

PARAMETER_MINIMUM_BANDWIDTH

public static final java.lang.String PARAMETER_MINIMUM_BANDWIDTH
See Also:
Constant Field Values

PARAMETER_NUMBER_OF_KERNELS

public static final java.lang.String PARAMETER_NUMBER_OF_KERNELS
See Also:
Constant Field Values

PARAMETER_USE_APPLICATION_GRID

public static final java.lang.String PARAMETER_USE_APPLICATION_GRID
See Also:
Constant Field Values

PARAMETER_APPLICATION_GRID_SIZE

public static final java.lang.String PARAMETER_APPLICATION_GRID_SIZE
See Also:
Constant Field Values
Constructor Detail

KernelNaiveBayes

public KernelNaiveBayes(OperatorDescription description)
Method Detail

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

supportsCapability

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


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