Opencv SVR auto_train error “Assertion failed (sv_count != 0) in do_train”

左心房为你撑大大i 提交于 2019-12-13 07:00:39

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!