com.rapidminer.operator.learner.functions
Class Perceptron
java.lang.Object
com.rapidminer.operator.Operator
com.rapidminer.operator.learner.AbstractLearner
com.rapidminer.operator.learner.functions.Perceptron
- All Implemented Interfaces:
- ConfigurationListener, PreviewListener, Learner, ParameterHandler, LoggingHandler
public class Perceptron
- extends AbstractLearner
The perceptron is a type of artificial neural network invented in 1957 by Frank Rosenblatt.
It can be seen as the simplest kind of feedforward neural network: a linear classifier.
Beside all biological analogies, the single layer perceptron is simply a linear classifier
which is efficiently trained by a simple update rule: for all wrongly classified data points,
the weight vector is either increased or decreased by the corresponding example values.
- Author:
- Sebastian Land
| 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 |
PARAMETER_ROUNDS
public static final java.lang.String PARAMETER_ROUNDS
- See Also:
- Constant Field Values
PARAMETER_LEARNING_RATE
public static final java.lang.String PARAMETER_LEARNING_RATE
- See Also:
- Constant Field Values
Perceptron
public Perceptron(OperatorDescription description)
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
getKernel
protected Kernel getKernel()
throws UndefinedParameterError
- Throws:
UndefinedParameterError
getLearnRate
public double getLearnRate(int time,
int maxtime,
double initLearnRate)
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