I trained a multi-class model using Matlab Classification Learner App and turned it into a function. I got predicted class and fit score from the observations.
[fitClass, fitScore]= trained_model.predictFcn(observation);
I wish to get posterior probability score for each class rather than fit scores, which are always negative.
ScoreSVMModel = fitSVMPosterior(SVMModel)
Error: You must pass OBJ as an SVM model or a cross-validated SVM model.
My understanding is that fitSVMPosterior function belongs to another libary, which is not compatible with the model from he Learner App. I wonder if there is a method to get poserior probability for the model trianed from Classification learner App? Or should I use other methods that have posterior probability function to train my model Thank you for your hints!