Growing up...

This commit is contained in:
blacklight 2009-08-16 11:09:42 +02:00
parent b62dfe3967
commit 25996a5e70
10 changed files with 169 additions and 72 deletions

View file

@ -7,6 +7,8 @@
#include <iostream>
#include <neural++.hpp>
using namespace std;
using namespace neuralpp;
int main() {

View file

@ -7,6 +7,8 @@
#include <iostream>
#include <neural++.hpp>
using namespace std;
using namespace neuralpp;
#define NETFILE "adder.net"

View file

@ -8,10 +8,12 @@
#include <iostream>
#include <neural++.hpp>
using namespace std;
using namespace neuralpp;
int main() {
NeuralNet net(2, 2, 1, 0.0005, 10000);
NeuralNet net(2, 2, 1, 0.005, 1000);
cout << "Training in progress - This may take a while...\n";
net.train("adder.xml", NeuralNet::file);