public class InputNeuron extends Neuron
InputNeuron class is used to feed information into the neural network. The input neuron has no
input synapses. To add or remove input activations simply use the addInput or removeInput
methods. An InputNeuron is typically created using the method createOrLookupInputNeuron in the model.
By adding an input activation using addInput further activations will be created for this document
depending on the network topology. In fact a whole network of neuron activations will be created containing activation
objects for all possible interpretations of these inputs. The activations reflect the structure of the activated
part of the neural network.Neuron.NormWeightactivationSum, bias, currentNeuronId, id, initialized, inputSynapses, inputSynapsesByWeight, isBlocked, label, LEARN_RATE, lock, m, MAX_SELF_REFERENCING_DEPTH, maxRecurrentSum, negDirSum, negRecSum, node, noTraining, numberOfActivations, outputNodes, outputSynapses, posRecSum, TOLERANCE, WEIGHT_TOLERANCE| Constructor and Description |
|---|
InputNeuron() |
InputNeuron(String label) |
InputNeuron(String label,
boolean isBlocked) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInput(Document doc,
int begin,
int end)
Propagate an input activation into the network.
|
void |
addInput(Document doc,
int begin,
int end,
Integer rid)
Propagate an input activation into the network.
|
void |
addInput(Document doc,
int begin,
int end,
Integer rid,
InterprNode o)
Propagate an input activation into the network.
|
void |
addInput(Document doc,
int begin,
int end,
Integer rid,
InterprNode o,
double value)
Propagate an input activation into the network.
|
void |
addInput(Document doc,
int begin,
int end,
InterprNode o)
Propagate an input activation into the network.
|
static InputNeuron |
create(Document doc,
InputNeuron n) |
void |
propagateAddedActivation(Document doc,
Activation act) |
void |
remove(Document doc) |
void |
removeInput(Document doc,
int begin,
int end) |
void |
removeInput(Document doc,
int begin,
int end,
Integer rid) |
void |
removeInput(Document doc,
int begin,
int end,
Integer rid,
InterprNode o) |
void |
removeInput(Document doc,
int begin,
int end,
InterprNode o) |
String |
toString() |
avgActivation, compareTo, computeBounds, computeErrorSignal, computeWeight, count, create, getFinalActivations, propagateRemovedActivation, publish, read, readFields, sigmoid, toStringWithSynapses, train, train, transferFunction, unpublish, writepublic InputNeuron()
public InputNeuron(String label)
public InputNeuron(String label, boolean isBlocked)
public static InputNeuron create(Document doc, InputNeuron n)
public void propagateAddedActivation(Document doc, Activation act)
propagateAddedActivation in class Neuronpublic void addInput(Document doc, int begin, int end)
doc - The current documentbegin - The range beginend - The range endpublic void addInput(Document doc, int begin, int end, InterprNode o)
doc - The current documentbegin - The range beginend - The range endo - The interpretation nodepublic void addInput(Document doc, int begin, int end, Integer rid)
doc - The current documentbegin - The range beginend - The range endrid - The relational id (e.g. the word position)public void addInput(Document doc, int begin, int end, Integer rid, InterprNode o)
doc - The current documentbegin - The range beginend - The range endrid - The relational id (e.g. the word position)o - The interpretation nodepublic void addInput(Document doc, int begin, int end, Integer rid, InterprNode o, double value)
doc - The current documentbegin - The range beginend - The range endrid - The relational id (e.g. the word position)o - The interpretation nodevalue - The activation value of this input activationpublic void removeInput(Document doc, int begin, int end)
public void removeInput(Document doc, int begin, int end, InterprNode o)
public void removeInput(Document doc, int begin, int end, Integer rid, InterprNode o)
Copyright © 2017. All rights reserved.