#include #include #include using namespace std; void CreateTrainingSet(string fname); //------------- // main //------------- int main(int narg, char *argv[]) { // Create an ANN that we can train nnann ann; ann.AddLayer(1); ann.AddLayer(1, new nnann_function_step()); // Train the ANN and save it to a file unsigned int epochs = ann.TrainFromFile("not.train"); cout<<"Training complete after "<