Where can I find this "trainingPartitions" function?

Hi
Where can I find this "trainingPartitions" function used in the online example below?
[idxTrain,idxValidation,idxTest] = trainingPartitions(numObservations, [0.8 0.1 0.1]);
Thanks

 Accepted Answer

openExample('nnet/SequenceToOneRegressionUsingDeepLearningExample')
The function should be inside the mlx

4 Comments

Thanks Walter.
I have "Deep Learning Toolbox" Version 14.2 (R2021a).
Do I need a newer version to access this example mlx?
The example appears to be new as of r2022a
The function appears to be part of three examples, but it appears that they are all new
@Walter Roberson I've Matlab 2019a version, will trainingPartitions be available in that version sir?
Muhammad Usman Saleem:
No. That function is new as of R2022a.

Sign in to comment.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!