ritorno a rette percettroni aggiustamento formule retta

This commit is contained in:
2025-01-25 18:45:01 +01:00
parent 9c1205a371
commit 99d3b2f831
5 changed files with 22 additions and 19 deletions

View File

@@ -136,7 +136,7 @@ void main()
correggi_pesi(&p, gradiente_w1, gradiente_w2, gradiente_bias);
}
rette[i].m = -(p.w1 * x[j][0]) / p.w2;
rette[i].m = -(p.w1 / p.w2);
rette[i].q = -(p.bias / p.w2);
if (corrette != 4)