aggiornamento codice percettroni.h

This commit is contained in:
2026-03-24 14:06:37 +01:00
parent 43732d156f
commit 524f33a690
4 changed files with 68 additions and 65 deletions
+4 -1
View File
@@ -30,6 +30,9 @@ gcc -o rete_neurale rete_neurale.c -lm
# Automated training with pauses (prevents overheating)
./addestratore.sh
# Memory leak detection (valgrind)
valgrind --leak-check=full ./codice_ricordo
```
### Running a Single Test
@@ -103,7 +106,7 @@ No formal test framework. Use these approaches:
1. `codice_ricordo.c` - XOR validation (4 inputs, quick convergence test)
2. Visual inspection of weight outputs via `stampa_pesi_rete()`
3. Monitor epoch error rates in training output
4. Check for memory leaks with valgrind: `valgrind --leak-check=full ./codice_ricordo`
4. Check for memory leaks with valgrind
## Project Structure
- `percettroni.h` - Core neural network (header-only library with implementations)