Split data matrix into training, validation and test sets

Split randomly data matrix into training, validation and test sets.
24 Downloads
Updated 28 Dec 2022

View License

Function splitdata.m splits the data matrix into training, validation and test sets. Moreover, it returns the appropriate indices of records in the data matrix.

Cite As

Krzysztof Wiktorowicz (2026). Split data matrix into training, validation and test sets (https://www.mathworks.com/matlabcentral/fileexchange/122662-split-data-matrix-into-training-validation-and-test-sets), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.2

Updated description.

1.0.1

Updated description.

1.0.0