How to create random 2D data for testing classifier?

2 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Classification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by