|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.data.neural.Perceptron
org.knime.base.data.neural.InputPerceptron
public class InputPerceptron
Class representing an input perceptron.
Constructor Summary | |
---|---|
InputPerceptron()
Constructs a perceptron with input 0. |
|
InputPerceptron(double input)
Constructs a perceptron with given input. |
Method Summary | |
---|---|
double |
activationFunction(double in)
Activation function, returns the input. |
double |
getInput()
Returns the current input of the perceptron. |
double |
output()
Returns the current input of the perceptron. |
void |
setInput(double input)
Sets the input to given value. |
Methods inherited from class org.knime.base.data.neural.Perceptron |
---|
evaluate, getClassValue, getThreshold, getWeight, getWeights, random, scalarProduct, setClassValue, setThreshold, setWeight, setWeights |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputPerceptron(double input)
input
- input for the perceptronpublic InputPerceptron()
Method Detail |
---|
public double getInput()
public void setInput(double input)
input
- new inputpublic double output()
output
in class Perceptron
public double activationFunction(double in)
activationFunction
in class Perceptron
in
- input
in
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |