configurato per mnist 1000 epoche pronto al test

This commit is contained in:
2025-02-22 15:43:02 +01:00
parent e787843a67
commit 67dfb2fe92
5 changed files with 435 additions and 322 deletions

View File

@@ -29,19 +29,19 @@ Dataset *crea_dataset_xor() {
set->istanze[0].dati[0] = 0;
set->istanze[0].dati[1] = 0;
set->istanze[0].classificazione = 1;
set->istanze[0].classificazione = 0;
set->istanze[1].dati[0] = 0;
set->istanze[1].dati[1] = 1;
set->istanze[1].classificazione = 0;
set->istanze[1].classificazione = 1;
set->istanze[2].dati[0] = 1;
set->istanze[2].dati[1] = 0;
set->istanze[2].classificazione = 0;
set->istanze[2].classificazione = 1;
set->istanze[3].dati[0] = 1;
set->istanze[3].dati[1] = 1;
set->istanze[3].classificazione = 1;
set->istanze[3].classificazione = 0;
return set;
}