how to divide data set randomly into training,testing,validation data set?
显示 更早的评论
Hello guys, I have a dataset of a matrix of size 116*116*45 type double and I want to divide it randomly into 3 subsets training,testing and cross-validation sets.
how to make it randomly generated everytime it run?
can anyone help me?
回答(1 个)
Image Analyst
2019-11-28
0 个投票
Try randsample() or randperm().
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!