Create a synthetic dataset manually
Versión 1.0.1 (1,95 KB) por
Ludmila Kuncheva
An interactive tool for creating a synthetic 2-dimensional dataset manually within a 10-by-10 grid.
The script provides an interactive tool for creating a multi-class synthetic dataset manually. You can choose the class label and the location of the points (x,y coordinates) by clicking on a 10-by-10 2D grid. The coordinates can be integers (snap-to-grid; the default option) or real-valued.
The script opens up a figure. Choose a class label from the buttons on the left. Click on the 2D axes space to add points to this class. You can remove a point by clicking on it again. When finished, press a key from the keyboard. The dataset is contained in variables “data” and “labels”, and is stored in file “Dataset.mat”.
Citar como
Ludmila Kuncheva (2026). Create a synthetic dataset manually (https://la.mathworks.com/matlabcentral/fileexchange/136689-create-a-synthetic-dataset-manually), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2023b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
