public interface NeuronModel
Modifier and Type | Method and Description |
---|---|
void |
changeNeuronWeight(double[] vector,
double factor)
Change neuron weights for specified neuron number,factor and input data vector
|
void |
changeNeuronWeight(double[] vector,
double factor,
double influence)
Change neuron weights for specified neuron number,factor and input data vector
|
double |
getValue(double[] inputVector)
Return value of the neuron after activation.
|
double[] |
getWeight()
Returns array contains valu of the weights
|
void |
setWeight(double[] weight)
Set weigths from array as parameter
|
double[] getWeight()
void setWeight(double[] weight)
weight
- array of the weightsdouble getValue(double[] inputVector) throws java.lang.Exception
inputVector
- input vector for neuronjava.lang.Exception
- any error.void changeNeuronWeight(double[] vector, double factor) throws java.lang.Exception
vector
- input data vector.factor
- the iteration number or factor.java.lang.Exception
- any error.void changeNeuronWeight(double[] vector, double factor, double influence) throws java.lang.Exception
vector
- input data vector.factor
- the iteration number or factor.influence
- cells in neighbourhood have a reduced influence.java.lang.Exception
- any error.