jhpro.nnet.jknnl
Interface NeuronModel
-
- All Known Subinterfaces:
- TiredNeuronModel
- All Known Implementing Classes:
- DefaultNeuron, DefaultNeuronWithBias, KohonenNeuron, KohonenNeuronWithTired
public interface NeuronModelNeuron Model interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublegetValue(double[] inputVector)Return value of the neuron after activation.double[]getWeight()Returns array contains valu of the weightsvoidsetWeight(double[] weight)Set weigths from array as parameter
-
-
-
Method Detail
-
getWeight
double[] getWeight()
Returns array contains valu of the weights- Returns:
- array of the weights
-
setWeight
void setWeight(double[] weight)
Set weigths from array as parameter- Parameters:
weight- array of the weights
-
getValue
double getValue(double[] inputVector)
Return value of the neuron after activation. if activation function is not set, function return sum of the multiplication of vector v_i and weight w_i for each i (numbers of weigth and lenght of the input vector)- Parameters:
inputVector- input vector for neuron- Returns:
- return
-
-
DMelt 3.0 © DataMelt by jWork.ORG