My pseudocode tests every permutation of the enumerations
fann_train_enum, fann_activationfunc_enum, and fann_nettype_enum.
of tests run, the number passed, and the number failed.
Post by Marcel SerourI don't think I quite understand you pseudo-code, could you explain
a little better?
anyway I downloaded testing.zip, seems that the testing functions
receive int * passed, int * failed, why don't they return true or
false instead of this?
marcel
I made a quick-and-dirty diff of fann.c and included the beginnings
of a program for testing ANNs. My next step is to make a bunch of
runs to establish a baseline. Pseudo-code for testing against the
foreach(fann_train_enum){
foreach(fann_activationfunc_enum){
foreach(fann_nettype_enum){
- Seed libfann with constant
- Create a small multilayer ANN with given parameters
- Train net for 100 epochs
- Test against previous results
- Print results (PASS/FAIL)
}
}
}
Once you have the code written for testing, it should be trivial to
dump out the tests and copy-paste them back into the program to
establish said baseline. I'd imagine that this method would pick up
any fann_run() changes fairly quickly.
http://pricepages.org/fann/testing.zip
~Seth
Post by Marcel Serourwell, then please do, I started to write my own, so no reason to
continue alone when I can help..
marcel
I've spent some time creating a small test framework. I haven't had
enough time to finish it and attempt to merge it with CVS, but I'll
send anyone the code who is interested in helping out.
~Seth
Post by Marcel Serourthere are two test examples that come with fann source, one uses
fann_run and the other fann_test , what's the difference?
any automated test function that test against a training file?
would that be useful? to test for every pair as it would be used
for training, but to test how well the ann is trained?
marcel
---------------------------------------------------------------------
-
Post by Marcel Serour---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn
cash
Post by Marcel Serourhttp://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV_______________________________
_
Post by Marcel Serour_______________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
---------------------------------------------------------------------
----
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
---------------------------------------------------------------------
----
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV_______________________________
________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
----------------------------------------------------------------------
---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
----------------------------------------------------------------------
---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV________________________________
_______________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general