The Ultimate Guide To Partitioning Clustering

September 6, 2017
By

[This article was first published on Easy Guides, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

In this first volume of symplyR, we are excited to share our Practical Guides to Partioning Clustering.

Partitioning clustering methods

The course materials contain 3 chapters organized as follow:

K-Means Clustering Essentials

Contents:

  • K-means basic ideas
  • K-means algorithm
  • Computing k-means clustering in R
    • Data
    • Required R packages and functions: stats::kmeans()
    • Estimating the optimal number of clusters: factoextra::fviz_nbclust()
    • Computing k-means clustering
    • Accessing to the results of kmeans() function
    • Visualizing k-means clusters: factoextra::fviz_cluster()
  • K-means clustering advantages and disadvantages
  • Alternative to k-means clustering

K-Medoids Essentials: PAM clustering

Contents:

  • PAM concept
  • PAM algorithm
  • Computing PAM in R
    • Data
    • Required R packages and functions: cluster::pam() or fpc::pamk()
    • Estimating the optimal number of clusters: factoextra::fviz_nbclust()
    • Computing PAM clustering
    • Accessing to the results of the pam() function
    • Visualizing PAM clusters: factoextra::fviz_cluster()

CLARA – Clustering Large Applications

Contents:

  • CLARA concept
  • CLARA Algorithm
  • Computing CLARA in R
    • Data format and preparation
    • Required R packages and functions: cluster::clara()
    • Estimating the optimal number of clusters: factoextra::fviz_nbclust()
    • Computing CLARA
    • Visualizing CLARA clusters: factoextra::fviz_cluster()

Example of plots:

K means clustering plots

Licence: Licence Creative Commons

To leave a comment for the author, please follow the link and comment on their blog: Easy Guides.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers

Most visited articles of the week

  1. Free Springer Books during COVID19
  2. 5 Ways to Subset a Data Frame in R
  3. How to write the first for loop in R
  4. R – Sorting a data frame by the contents of a column
  5. Date Formats in R
  6. How to schedule R scripts
  7. Installing R packages
  8. In-depth introduction to machine learning in 15 hours of expert videos
  9. Intro to {polite} Web Scraping of Soccer Data with R!

Sponsors

RSS Jobs for R users

RSS python-bloggers.com (python/data-science news)

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)