懂视

调用svm时,报错 y should 1

2024-10-20 05:28:38

因为NuSVC参数nu的设置问题。当然另外一种解决方案就是把NuSVC换成LinearSVC,我发现LinearSVC训练的效果更好。