Why identical outputs despite different inputs to a machine learning models
3 views (last 30 days)
Show older comments
why do I get the same predicted values despite having different inputs in a SVM model. For example, suppose the training data is matrixA, and the Two different Prediction data are MatrixC and MatrixD. Why is the predicted values identical?
A=trainedModel.predictFcn(matrixA);
B=trainedModel.predictFcn(matrixB);
MatrixB is a concatination of MatrixA with another Matrix---
I appreciate any help I can get?
0 Comments
Answers (1)
Bernhard Suhm
on 6 Mar 2019
Of course it could predict the same category for different kinds of inputs, especially if there aren't a lot of categories... Or for some reason, only the features represented by matrixA determined the final model, and the training of B ignored the additional features provided in the concatenated matrix. Or what am I missing?
See Also
Categories
Find more on Gaussian Process Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!