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.



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:

Comments and Ratings (2)

Thanks a whole lot!

chang hsiung

thanks a lot, this will be very useful.

MATLAB Release
MATLAB 7.12 (R2011a)

Inspired: DBSCAN

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

» Watch video