Dream to Learn is shutting down...

We are very sorry to say that Dream to Learn will be shutting down as of December 28th, 2019. If you have content that you wish to keep, you should make a copy of it before that date.


0COMMENTS0RECOMMENDS

Self- and Super-organizing Maps in R: The kohonen Package (Part 1)

68
POSTED IN: Data Analytics & Visualization Blog

From "Self- and Super-organizing Maps in R: The kohonen Package"

## Attended a Topological Data Analysis meetup last night in SFO and chatting with some folks on TDA and related.  Getting my feet wet this library.  thought some other newbies may enjoy the 'hello world' approach to this library / package / method....

Part 1 - Let's get Visual ("hello world wine")

#install.packages("kohonen")

require(kohonen)

### Basic Demo to get started - example from PDF Doc for Kohonen Library
library("kohonen")
data("wines")
wines.sc <- scale(wines)
set.seed(7)
wine.som <- som(data = wines.sc, grid = somgrid(5, 4, "hexagonal"))
plot(wine.som, main = "Wine data")

Source:  http://www.r-bloggers.com/self-organising-maps-for-customer-segmentation-using-r/ & Libra

 

Study Group Discussion Room: https://dreamtolearn.com/data_analytics_viz/r_newbies

If interest, - join us!  :)  everyone welcome

Interested in more content by this author?

About the Author

Ryan Anderson

Ryan Anderson

Hi! I like to play with data, analytics and hack around with robots and gadgets in my garage. Lately I've been learning about machine learning.

About this blog

Description is...<br/>Data Analytics & Visualization Blog - Generating insights from Data since 2013

Created: July 25, 2014

Englishfrançais

Up Next