cjlin1 / libsvm

LIBSVM -- A Library for Support Vector Machines
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
BSD 3-Clause "New" or "Revised" License
4.54k stars 1.64k forks source link

the svmpredict is seem to not work well #141

Closed haiwenheaven closed 4 years ago

haiwenheaven commented 5 years ago

after compile the test with hearscale is work but when i test my dataset the svmpredict is not work that always rreturn empty accuracy

cjlin1 commented 5 years ago

Could you provide more details?

On 2019-04-03 23:01, haiwenheaven wrote:

after compile the test with hearscale is work but when i test my dataset the svmpredict is not work that always rreturn empty accuracy

-- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2]. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/cjlin1/libsvm/issues/141", "url": "https://github.com/cjlin1/libsvm/issues/141", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Links:

[1] https://github.com/cjlin1/libsvm/issues/141 [2] https://github.com/notifications/unsubscribe-auth/AFGwnjXHbNslRD-GtEdoBJyJ6vEHhbLTks5vdZUtgaJpZM4cb_e_

haiwenheaven commented 5 years ago

@cjlin1 when i train a model and predict like "model = svmtrain(train_wine_labels, train_wine, '-c 2 -g 1'); [predict_label, accuracy] = svmpredict(test_wine_labels, test_wine, model); i get a empty accuracy

cjlin1 commented 5 years ago

how about predict_label? and what is the screen output of svmpredict On 2019-04-04 10:40, haiwenheaven wrote:

@cjlin1 [1] when i train a model and predict like "model = svmtrain(train_wine_labels, train_wine, '-c 2 -g 1'); [predict_label, accuracy] = svmpredict(test_wine_labels, test_wine, model); i get a empty accuracy

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [2], or mute the thread [3]. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/cjlin1/libsvm/issues/141#issuecomment-479994392", "url": "https://github.com/cjlin1/libsvm/issues/141#issuecomment-479994392", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Links:

[1] https://github.com/cjlin1 [2] https://github.com/cjlin1/libsvm/issues/141#issuecomment-479994392 [3] https://github.com/notifications/unsubscribe-auth/AFGwngn59K1fcbacQClKv86Zn-5FaWh8ks5vdjj8gaJpZM4cb_e_

haiwenheaven commented 5 years ago

@cjlin1 sorry,maybe i will reply to you in some days ,beacause at first i want to sovle this problem by installing matlab agian but now i .make another trouble in installing matlab