Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

I am looking for datasets of 2 dimensional datapoints (each datapoint is a vector of two values (x,y)) following different distributions and forms ? Or is there any codes to generate such a datapoints ? I want to use them to plot/visualise how some clustering algorithms performs on them. Here are some examples:

share|improve this question
I vote for cw ;) – steffen Feb 20 '12 at 12:53
A similar question in lines of specific datasets has been closed here : stats.stackexchange.com/questions/38928/… – Praneeth Vepakomma Dec 22 '12 at 18:09

migrated from stackoverflow.com Feb 20 '12 at 7:47

5 Answers

R comes with a lot of datasets, and it looks like it would not be a big deal to reproduce most of the examples you cited with few lines of code. You may also find the mlbench package useful, in particular synthetic datasets starting with mlbench.*. Some illustrations are given below.

enter image description here

You will find additional examples by looking at the Cluster Task View on CRAN. For example, the fpc package has a built-in generator for "face-shaped" clustered benchmark datasets (rFace).

enter image description here

Similar considerations apply to Python, where you will find interesting benchmark tests and datasets for clustering with the scikit-learn.

The UCI Machine Learning Repository hosts a lot of datasets as well, but you're better off simulating data yourself with the language of your choice.

share|improve this answer

Here are some datasets designed exactly for this task:

The Fundamental Clustering Problem Suite by Ultsch

share|improve this answer
(+1) Thanks for the link. – chl Feb 20 '12 at 15:51

Here is a customizable cluster generator. It only addresses a certain class of data sets, but it can surely be used for cluster algorithm investigations.

Here is an example of the kind of clusters it can create:

http://i.stack.imgur.com/vrCG5.png

Cluster affiliation is saved in a text file. The code is open source under MIT license.

share|improve this answer

ELKI comes with a couple of data sets (check also the unit tests, they contain many more than those on the web site, along with parameter settings).

It also includes a fairly flexible data generator.

share|improve this answer

I can't believe that nobody has mentioned Fisher's Iris data.

I don't think I've seen a clustering technique that doesn't use the iris data as an example.

In r, just type "iris" to access the data.

Here's an example of a nice (and typical) iris plot: http://ygc.name/2011/12/24/ml-class-7-kmeans-clustering/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.