python - running a SVM classification wont stop on my dataset - Stack Overflow

i have a dataset in kaggle and i must compare different ML algorithms accuracy for a binary classificat

i have a dataset in kaggle and i must compare different ML algorithms accuracy for a binary classification problem. the shape of data is (500000,18). but when i implement any kind of SVM like linear, rbf , poly ... the code wont stop even after a day and there is no error that i can figure out whats the problem. the data set addresss is : and my code is simple :

from sklearn.svm import SVC
clf = SVC(kernel='linear',C=0.001)

clf.fit(X_train, y_train)

i must mention that the accuracy isnt important i just must run different kernel for comparing the accuracies. is there any tips for running SVM for this dataset?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745566494a4633425.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信