File Exchange

image thumbnail

6 functions for generating artificial datasets

version 1.0 (39.9 KB) by

6 parameterized functions that generate distinct 2D datasets for Machine Learning purposes.

31 Downloads

Updated

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

Comments and Ratings (2)

Thanks a whole lot!

chang hsiung

thanks a lot, this will be very useful.

MATLAB Release
MATLAB 7.12 (R2011a)
Acknowledgements

Inspired: DBSCAN

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video