Method | Description | |
---|---|---|
CalculateClassificationError ( IMLClassification method, IMLDataSet data ) : double |
Calculate an error for a method that makes use of classification.
|
|
CalculateRegressionError ( IMLRegression method, IMLDataSet data ) : double |
Calculate a regression error.
|
|
ConvertCSV2Binary ( |
Convert a CSV file to binary.
|
|
ConvertCSV2Binary ( String csvFile, |
Convert a CSV file to a binary training file.
|
|
Evaluate ( IMLRegression network, IMLDataSet training ) : void |
Evaluate the network and display (to the console) the output for every value in the training set. Displays ideal and actual.
|
|
LoadCSV2Memory ( String filename, int input, int ideal, bool headers, |
Load CSV to memory.
|
|
LoadEGB2Memory ( |
Load an EGB file to memory.
|
|
SaveCSV ( |
Save the dataset to a CSV file.
|
|
SaveEGB ( |
Save the training set to an EGB file.
|
|
SimpleFeedForward ( int input, int hidden1, int hidden2, int output, bool tanh ) : |
Create a simple feedforward neural network.
|
|
TrainConsole ( |
Train the neural network, using SCG training, and output status to the console.
|
|
TrainConsole ( IMLTrain train, |
Train the network, using the specified training algorithm, and send the output to the console.
|
|
TrainDialog ( |
Train using RPROP and display progress to a dialog box.
|
|
TrainDialog ( IMLTrain train, |
Train, using the specified training method, display progress to a dialog box.
|
|
TrainToError ( |
Train the network, to a specific error, send the output to the console.
|
|
TrainToError ( IMLTrain train, IMLDataSet trainingSet, double error ) : void |
Train to a specific error, using the specified training method, send the output to the console.
|
|
TrainToError ( IMLTrain train, double error ) : void |
Train to a specific error, using the specified training method, send the output to the console.
|
Method | Description | |
---|---|---|
EncogUtility ( ) : System |
Private constructor.
|
|
FormatNeuralData ( IMLData data ) : String |
Format neural data as a list of numbers.
|
public static CalculateClassificationError ( IMLClassification method, IMLDataSet data ) : double | ||
method | IMLClassification | The method to check. |
data | IMLDataSet | The data to check. |
return | double |
public static CalculateRegressionError ( IMLRegression method, IMLDataSet data ) : double | ||
method | IMLRegression | The method to check. |
data | IMLDataSet | The data to check. |
return | double |
public static ConvertCSV2Binary ( |
||
csvFile | The CSV file to convert. | |
format | The format. | |
binFile | The binary file. | |
input | int | The input. |
ideal | int | The ideal. |
headers | bool | True, if headers are present. |
return | void |
public static ConvertCSV2Binary ( String csvFile, |
||
csvFile | String | The CSV file. |
format | The format. | |
binFile | String | The binary file. |
inputCount | int | The number of input values. |
outputCount | int | The number of output values. |
headers | bool | True, if there are headers on the3 CSV. |
expectSignificance | bool | Should a significance column be expected. |
return | void |
public static Evaluate ( IMLRegression network, IMLDataSet training ) : void | ||
network | IMLRegression | The network to evaluate. |
training | IMLDataSet | The training set to evaluate. |
return | void |
public static LoadCSV2Memory ( String filename, int input, int ideal, bool headers, |
||
filename | String | The CSV file to load. |
input | int | The input count. |
ideal | int | The ideal count. |
headers | bool | True, if headers are present. |
format | The loaded dataset. | |
expectSignificance | bool | The loaded dataset. |
return | IMLDataSet |
public static LoadEGB2Memory ( |
||
filename | The file to load. | |
return | IMLDataSet |
public static SaveCSV ( |
||
targetFile | The target file. | |
format | The format to use. | |
set | IMLDataSet | The data set. |
return | void |
public static SaveEGB ( |
||
egbFile | The EGB file to save to. | |
data | IMLDataSet | The training data to save. |
return | void |
public static SimpleFeedForward ( int input, int hidden1, int hidden2, int output, bool tanh ) : |
||
input | int | The number of input neurons. |
hidden1 | int | The number of hidden layer 1 neurons. |
hidden2 | int | The number of hidden layer 2 neurons. |
output | int | The number of output neurons. |
tanh | bool | True to use hyperbolic tangent activation function, false to /// use the sigmoid activation function. |
return |
public static TrainConsole ( |
||
network | The network to train. | |
trainingSet | IMLDataSet | The training set. |
minutes | int | The number of minutes to train for. |
return | void |
public static TrainConsole ( IMLTrain train, |
||
train | IMLTrain | The training method to use. |
network | The network to train. | |
trainingSet | IMLDataSet | The training set. |
minutes | int | The number of minutes to train for. |
return | void |
public static TrainDialog ( |
||
network | The network to train. | |
trainingSet | IMLDataSet | The training set to use. |
return | void |
public static TrainDialog ( IMLTrain train, |
||
train | IMLTrain | The training method to use. |
network | The network to train. | |
trainingSet | IMLDataSet | The training set to use. |
return | void |
public static TrainToError ( |
||
network | The network to train. | |
trainingSet | IMLDataSet | The training set to use. |
error | double | The error level to train to. |
return | void |
public static TrainToError ( IMLTrain train, IMLDataSet trainingSet, double error ) : void | ||
train | IMLTrain | The training method. |
trainingSet | IMLDataSet | The training set to use. |
error | double | The desired error level. |
return | void |
public static TrainToError ( IMLTrain train, double error ) : void | ||
train | IMLTrain | The training method. |
error | double | The desired error level. |
return | void |