According to the documentation it is average over all folds
https://www.mathworks.com/help/releases/R2020a/stats/select-data-and-validation-for-classification-problem.html
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!