Alternatives to 'datasample'
古いコメントを表示
Hi!
I'm looking for an alternative to the datasample function. It's a part of the Statistics & Machine Learning toolbox. Any ideas? I want to be able to sample rows of data from tables and matrices and would like to have the choice of sampling with/without replacement.
Thanks for your ideas!
5 件のコメント
Adam Danz
2020 年 8 月 22 日
Are you sampling with replacement or without replacement?
Veena Chatti
2020 年 8 月 22 日
Veena Chatti
2020 年 8 月 22 日
編集済み: Veena Chatti
2020 年 8 月 22 日
Adam Danz
2020 年 8 月 22 日
randperm samples without replacement.
To sample with replacement, use randi.
Veena Chatti
2020 年 8 月 26 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Text Data Preparation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!