Package com.googlecode.fannj
Class Trainer
- java.lang.Object
-
- com.googlecode.fannj.Trainer
-
public class Trainer extends java.lang.Object
Trains an ANN. Currently only File based training is supported.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static float
fann_get_MSE(com.sun.jna.Pointer ann)
protected static void
fann_train_on_file(com.sun.jna.Pointer ann, java.lang.String filename, int max_epochs, int epochs_between_reports, float desired_error)
float
train(java.lang.String trainingFile, int maxEpochs, int epochsBetweenReports, float desiredError)
-
-
-
Constructor Detail
-
Trainer
public Trainer(Fann fann)
-
-
Method Detail
-
train
public float train(java.lang.String trainingFile, int maxEpochs, int epochsBetweenReports, float desiredError)
-
fann_train_on_file
protected static void fann_train_on_file(com.sun.jna.Pointer ann, java.lang.String filename, int max_epochs, int epochs_between_reports, float desired_error)
-
fann_get_MSE
protected static float fann_get_MSE(com.sun.jna.Pointer ann)
-
-