I need a sample program that will train a neural network (2 layer perceptron) in Python with the py-fann2 lybrary ([login to view URL]). Save the network definition file (standard method of the FANN library). Load this definition file in a sample C program (no C++) and run on a data input and print the result in C.
Any sample data will do even XOR.
A bonus (will be rewarded) would be to show a technique to maximize the precision of learning in the Python part using some standard parameters of the FANN library and showcase also the FANN Cascade training ([login to view URL]) in Python.
The lowest price working example of Python AND C code wins the bid.
All code is available on the internet but needs time to glue together.