How to make code to split, compute mean, apply Softmax
Show older comments
I have 90 datasets (9 data x 10 labels)
1. split the dataset into support(80dataset) and query(10dataset)
2. Compute each mean of examples(9 means)
3. Compute the Euclidean distance between each mean and query(10dataset)
4. apply Softmax and calculate probabilities
5. compute accuracy
1 Comment
Sindar
on 16 Mar 2020
check out splitapply: https://www.mathworks.com/help/matlab/ref/splitapply.html
Accepted Answer
More Answers (0)
Categories
Find more on Statistics and Machine Learning Toolbox 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!