Question: R Code: In this question, you are asked to make use of the R libraries for k-means. The elbow technique is used to determine optimal
R Code:
In this question, you are asked to make use of the R libraries for k-means. The elbow technique is
used to determine optimal cluster number. Find the optimal cluster number for the Diabetes and New York Times Comments data sets using elbow method (for 2 Diabetes Dataset: https://archive.ics.uci.edu/ml/datasets/Diabetes+130-US+hospitals+for+years+1999-2008 New York Times Comments data sets: https://www.kaggle.com/datasets/benjaminawd/new-york-times-articles-comments-2020?select=nyt-comments-2020.csv R script: Discussion of Findings: Plots:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
