I built a cross-validated SVM model with fitcsvm but I cant seem to use "predict" to predict responses from a new data with the model
이전 댓글 표시
Hi there
I built a cross validated and Bayesian Optimised model (CValidated_SVMModel_for_AUC1) with Support Vector Machines (SVM) on MATLAB with the "fitcsvm" syntax
I need to use the cross validated model to predict the responses from a new data (X_test)
I have tried to use this:
[Predicted_label,score] = kfoldPredict(CValidated_SVMModel_for_AUC1, X_test) without sucess
I have also tried to use:
[label,score] = predict(SVMModel_for_AUC1,X_test) without success
I will apprecaite if someone can advise me on how to resolve this
Thank You
댓글 수: 5
Adam Danz
2024년 6월 25일
What problems did you have with the line below?
[label,score] = predict(SVMModel_for_AUC1,X_test)
NCA
2024년 6월 25일
Adam Danz
2024년 6월 25일
How do you create CValidated_SVMModel_for_AUC1?
Adam Danz
2024년 6월 26일
In that case, it seems like kfoldPredict would the right tool. What error message or unexpected output are to getting with that? It would be easier to investigate this if you attach a mat file containing SVMModel_for_AUC1 and c_part.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!