|
Python |
Accueil Précédent Suivant |
Demo.py demonstration program is designed for testing some functionality of the NDK library.
It needs :
| • | Python 2.4 |
| • | Python modules Numeric and Pylab |
| • | The "MonaEx70.dll" DLL. |
The Python source files can be copied for here :
| • | "monadecl.py" |
| • | "const.py" |
| • | "testfiles.py" |
| • | "Demo.py" |
Copy these files in the same folder.
Launch the command line :
"pyhon.exe Demo.py"
The program will perform the following operations :
Create a neural model with 1 input, 1 output and 2 hidden neurons.
Load the data from the function "createdata11"
Normalize the data
Launch a 25 iterations training
Compute the dispercion matrix
Compute the leverages
Verify the equality of the leverages sum and the number of parameters of the model.
Print the results.