Mean and SD obtained from a Trained Model - Classification Learner Toolbox
1 次查看(过去 30 天)
显示 更早的评论
Hello everyone!
I just want to know the meaning of the matrices mu and sigma that are obtained when we export a trained model from Classification Learner. For example, I got 12 features trained and both matrices of mean and standard deviation came out with 12 elements. If I need to know the mean and SD because I used k-fold, how to proceed?
Thank you all in advance.
Link of refference: k-nearest neighbor classification - MATLAB (mathworks.com)
0 个评论
回答(1 个)
UDAYA PEDDIRAJU
2024-8-29
Hi Gustavo,
The matrices "mu" and "sigma" represent the mean and standard deviation of each feature used for normalization during training. For k-fold, calculate these for each fold separately or use overall dataset values.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!