ELM-C--
ELM-C-- copied to clipboard
Matlab function cross_valid_ids
Hello friend In the example you use this function [trn vld] = cross_valid_ids( size(X,2), 10, [0.9 0.1 0] ); but I can't use it in Matlab, can you help me please? how it works ?
Hi,
The function returns indices for training and testing. You provide the total size of dataset (this is size(X,2) in Matlab). The random split proportions are specified in third argument - 90% for training, 10% for validation and 0% for testing. The second argument tells how many folds to do, in this case 10.