com.googlecode.fannj
Class Trainer
java.lang.Object
com.googlecode.fannj.Trainer
public class Trainer
- extends Object
Trains an ANN. Currently only File based training is supported.
Method Summary |
protected static float |
fann_get_MSE(com.sun.jna.Pointer ann)
|
protected static void |
fann_train_on_file(com.sun.jna.Pointer ann,
String filename,
int max_epochs,
int epochs_between_reports,
float desired_error)
|
float |
train(String trainingFile,
int maxEpochs,
int epochsBetweenReports,
float desiredError)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Trainer
public Trainer(Fann fann)
train
public float train(String trainingFile,
int maxEpochs,
int epochsBetweenReports,
float desiredError)
fann_train_on_file
protected static void fann_train_on_file(com.sun.jna.Pointer ann,
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)