问题
I am using OpenCv SVM for regression and it worked fine, when I tune the parameters manually. But when I use the grid search method to optimize the parameters:
1.It kept giving me the "Assertion failed (sv_count != 0) in do_train" error
when I used it on a large data set (about 10000 instances and 10 features).
2. I got good results when I tried the same code
with a smaller data set (100 instances and 5 features).
Could someone please help me figure out what the problem could be?
Thank you.
来源:https://stackoverflow.com/questions/23873124/opencv-svr-auto-train-error-assertion-failed-sv-count-0-in-do-train