Undefined function 'predict' for input arguments of type 'table' for Python package (with Matlab Compiler).
이전 댓글 표시
I am getting the error "Undefined function 'predict' for input arguments of type 'table'" when I try to execute the function that I packaged for Python. The function should predict based on a trained SVM model (edit: I used 'templateSVM' and 'fitcecoc' functions). I am sure my inputs are all correct, the input is not a table format, it is a matrix of type double, all of the necessary dimensions of the matrix are correct too. The function works when I run it from Matlab directly, but fails when I call it from Python, giving me the error above. Could this be a licensing issue? Although I read that with application deployment of Statistics and Machine Learning Toolbox functionality no additional licenses are required if you used command line functions.
댓글 수: 3
kenan atakan
2018년 6월 21일
Hi Al, I am also getting same error while making dll integration for .net. Did you find any solution or reason for that error.
AI
2018년 6월 21일
kenan atakan
2018년 7월 3일
hi Al, thank you so much for your answer. your fast reply really made a lot work. I also saw similar solutions from other posts but they weren't clear.
답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Python Package Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!