Neural Networks  0.0.1
 All Classes Functions Variables Pages
Public Member Functions | List of all members
NeuralNetwork Class Reference

Public Member Functions

 NeuralNetwork (DataSet trainSet, int hiddenNodeCount, double learningRate, int maxEpoch, double[][] hiddenWeights, double[][] outputWeights)
 
void train ()
 
void train (DataSet set)
 
double classifyInstance (Instance inst)
 
void resetWeights (double[][] hiddenWeights, double[][] outputWeights)
 

Detailed Description

Neural Network class

Constructor & Destructor Documentation

NeuralNetwork.NeuralNetwork ( DataSet  trainSet,
int  hiddenNodeCount,
double  learningRate,
int  maxEpoch,
double  hiddenWeights[][],
double  outputWeights[][] 
)
inline

Constructor

Parameters
trainSettraining data set
hiddenNodeCountnumber of hidden node to use
learningRateuser-defined learning rate
maxEpochmaximum epoch
hiddenWeights
outputWeights

Member Function Documentation

double NeuralNetwork.classifyInstance ( Instance  inst)
inline

Classify instance.

Parameters
instinstance
Returns
the sigmoid value of the output
void NeuralNetwork.resetWeights ( double  hiddenWeights[][],
double  outputWeights[][] 
)
inline

Reset the weights according to given weight matrix

Parameters
hiddenWeightsTwo-Dimensional input to hidden node weights
outputWeightsTwo-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: