int main (int argc, const char * argv[]) { std::cout << "Sonar mine demo\n"; // Train the neural network with the samples trainMachine(); // Now try predicting some values with the trained network predict(); return 0; }
int main(int argc, char* argv[]) { int wait; // Train the neural network with the samples trainMachine(); // Now try predicting some values with the trained network Predict(1.0,1.3); Predict(0.7,0.5); Predict(0.1,0.2); Predict(0.2,0.2); Predict(0.3,0.3); //I'll wait for an integer. :) scanf("%d",&wait); return 0; }