MATLAB Answers

divideint divides the same way every time even when I place 'rng shuffle' before it.

11 views (last 30 days)
Brent McWatters
Brent McWatters on 21 Jul 2020 at 5:01
Hi,
Code below returns the indices for each of those sets of data but the indices are always the same. How do I set it up so they are different each time?
Thank you,
Brent
rng shuffle;
[trainT,valT,testT] = divideint(nn_config.UnCleanLength,CONFIG.dataSplit.trainingFraction,CONFIG.dataSplit.validationFraction,CONFIG.dataSplit.testFraction);

  0 Comments

Sign in to comment.

Answers (0)