*Welcome, Hacker News readers! You may also be interested in this analysis of Hacker News survey data done in R.*

Josh Reich has created a concise R script demonstrating various machine-learning techniques in R with simple, self-contained examples. For example, here's the code for K-means clustering:

k <- kmeans(train[,1:2], 3) plot(train[,1:2], type='n') text(train[,1:2], as.character(k$cluster)) cm (train$class, k$cluster)

- K-means clustering
- K nearest neighbours clustering
- Kernel clustering (via hand-rolled code)
- Recursive partitioning (regression trees)
- Principal Components Analysis (PCA)
- Linear Discriminant Analysis (LDA)
- Support Vector Machines (SVM)

I want to know some details about this R machine learning. Can any buddy help me...

Posted by: Raghu | May 11, 2010 at 07:11