addestrato al 97%
This commit is contained in:
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user