6 functions for generating artificial datasets

6 parameterized functions that generate distinct 2D datasets for Machine Learning purposes.
1.9K Downloads
Updated 23 Apr 2013

View License

* twospirals.m generates two classes representing two spirals
* clusterincluster.m generates two circular classes
* corners.m generates four classes, each corresponding to a corner shape pointing towards the center
* halfkernel.m generates two half ellipses, one inside the other
* crescentfullmoon.m generates one circular class and one larger crescent folded around it.
* outlier.m produces 2 large circular classes, and 2 smaller classes of outliers.

Inspired by the following StackOverflow question:
http://stackoverflow.com/questions/16146599/create-artificial-data-in-matlab

Cite As

Jeroen Kools (2024). 6 functions for generating artificial datasets (https://www.mathworks.com/matlabcentral/fileexchange/41459-6-functions-for-generating-artificial-datasets), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers
Acknowledgements

Inspired: DBSCAN

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0