mirror of
https://github.com/BlackLight/neuralpp.git
synced 2025-07-22 13:38:54 +02:00
Growing up...
This commit is contained in:
parent
b62dfe3967
commit
25996a5e70
10 changed files with 169 additions and 72 deletions
|
@ -7,6 +7,8 @@
|
|||
|
||||
#include <iostream>
|
||||
#include <neural++.hpp>
|
||||
|
||||
using namespace std;
|
||||
using namespace neuralpp;
|
||||
|
||||
int main() {
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
#include <iostream>
|
||||
#include <neural++.hpp>
|
||||
|
||||
using namespace std;
|
||||
using namespace neuralpp;
|
||||
|
||||
#define NETFILE "adder.net"
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue