datasetSplit

版本 1.0.1 (21.1 KB) 作者: Anmol Pardeshi
this dataset splitter function splits the input dataset into two parts based on percentage value provided by the user
8.0 次下载
更新时间 2021/1/9

查看许可证

During machine learning or other projects, it is a usual practice to save some percentage of data for testing and the rest (usually larger chunk) is used for training. This function accomplishes the same. The user has the freedom to provide the percentage to be reserved for training.

Inputs ->
i. the complete dataset (grouped by one type of label only)(IMP: get rid of the col titles' row)
ii. percentage of the dataset to be dedicate towards ** testing** dataset (usually smaller portion of the whole dataset)

Outputs ->
i. first is the larger chunk of the dataset (training dataset)
ii. smaller chunk of the dataset (testing dataset)

引用格式

Anmol Pardeshi (2025). datasetSplit (https://www.mathworks.com/matlabcentral/fileexchange/85393-datasetsplit), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2017a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.1

updated for non-repeating random numbers

1.0.0