com.googlecode.fannj
public class Trainer extends Object
Modifier and Type | Method and Description |
---|---|
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) |
public Trainer(Fann fann)
public float train(String trainingFile, int maxEpochs, int epochsBetweenReports, float desiredError)
protected static void fann_train_on_file(com.sun.jna.Pointer ann, String filename, int max_epochs, int epochs_between_reports, float desired_error)
protected static float fann_get_MSE(com.sun.jna.Pointer ann)