how to use cvCreateTestSet
I'm trying to generate test samples for MLP (OpenCV 2.3).
I found the function cvCreateTestSet
in ml.hpp
but I did not see explanations about how to use it.
Any hints ?
Edit: I would like to adapt this excellent wiki by replacing kMeans by MLP(back_prop).
I was wondering if cvCreateTestSet
could be used somewhere in the process.
it might help, if you could be more specific, about how you want to use that mlp.
what does your input look like ?
are you trying to do some classification ? are there 2 'classes' or more ?
for training, the mlp wants 2 things:
there's a lot of ways to get that data, be a bit more specific, so ppl here can help you better ;)
Sorry for the short post. I edited the question.
oh, that's a nice wiki link.
looking at the code ( ml/src/testset.cpp, 59 ) it seems, i's constructing a very special set of randomized inputdata for the case of CV_TS_CONCENTRIC_SPHERES (what's that ? no idea.)
so, it CONSTRUCTS random features.
not what you wanted, i guess
please, have a look here, too. rosetta-stone like approach at comparative implementations of ml techniques (including mlp):
http://www.bytefish.de/wiki/machine_learning_opencv