This commit is contained in:
Gustav Louw 2018-03-30 13:19:40 -07:00
parent 8522ff336f
commit 6dc57089f9
1 changed files with 1 additions and 2 deletions

View File

@ -13,8 +13,7 @@ Tinn (Tiny Neural Network) is a dependency free neural network library written i
double tg[] = { 0.01, 0.99 };
/* Two hidden nuerons */
const Tinn tinn = xtbuild(len(in), 2, len(tg));
int i;
for(i = 0; i < 10000; i++)
for(int i = 0; i < 1000; i++)
{
double error = xttrain(tinn, in, tg, 0.5);
printf("%.12f\n", error);