| NeuralNetwork.NeuralNetwork |
( |
DataSet |
trainSet, |
|
|
int |
hiddenNodeCount, |
|
|
double |
learningRate, |
|
|
int |
maxEpoch, |
|
|
double |
hiddenWeights[][], |
|
|
double |
outputWeights[][] |
|
) |
| |
|
inline |
Constructor
- Parameters
-
| trainSet | training data set |
| hiddenNodeCount | number of hidden node to use |
| learningRate | user-defined learning rate |
| maxEpoch | maximum epoch |
| hiddenWeights | |
| outputWeights | |
| double NeuralNetwork.classifyInstance |
( |
Instance |
inst | ) |
|
|
inline |
Classify instance.
- Parameters
-
- Returns
- the sigmoid value of the output
| void NeuralNetwork.resetWeights |
( |
double |
hiddenWeights[][], |
|
|
double |
outputWeights[][] |
|
) |
| |
|
inline |
Reset the weights according to given weight matrix
- Parameters
-
| hiddenWeights | Two-Dimensional input to hidden node weights |
| outputWeights | Two-Dimensional hidden to output node weights |
| void NeuralNetwork.train |
( |
| ) |
|
|
inline |
train the neual network with initializing data set
| void NeuralNetwork.train |
( |
DataSet |
set | ) |
|
|
inline |
train the neual network using the given data set
The documentation for this class was generated from the following file: