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

 采纳的回答

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

4 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品

版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by