How to create random 2D data for testing classifier?

Hello
I would like to create random 2D data for playing around with classifiers. The result should be a (nx2) matrix where the rows are n data points and the columns are the features. There should be 2 or more classes and of course the data should be separable (to a certain amount).
How should this be done? Of course I could define the data points manually but this is somewhat cumbersome.

Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 31 Jan. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by