addestrato al 97%

This commit is contained in:
2026-03-26 10:38:46 +01:00
parent 37c01285ca
commit 50ec609ff9
4 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -21,7 +21,7 @@ typedef unsigned char byte;
double LRE = 0.1;
double soglia_sigmoide = 0.5;
#define TOLLERANZA 95
#define TOLLERANZA 97
typedef struct
{
@@ -519,7 +519,6 @@ void correggi_pesi_percettrone_byte(Percettrone *p, Istanza input, double gradie
char addestra(ReteNeurale *rete_neurale, Dataset set)
{
int corrette = 0;
for (int indice_set = 0; indice_set < set.size; indice_set++)
{
byte output_corretto = set.istanze[indice_set].classificazione;