K-Means Clustering in R and Tableau Objective: To use the k-means clustering algorithm to identify clusters in a dataset, both in R and Tableau.

K-Means Clustering in R and Tableau

Objective: To use the k-means clustering algorithm to identify clusters in a dataset, both in R and Tableau.

Dataset #1:

The dataset for this assignment is the Old Faithful Geysar dataset. The dataset contains the duration of the eruption (in minutes) and the waiting time (in minutes) between eruptions for the Old Faithful geyser in Yellowstone National Park, Wyoming, USA. The dataset contains 272 observations on those 2 variables.

Create a report in Word Processor that will include:

A brief introduction (in one to two paragraphs) to k-means clustering (Write in your own words without copying and pasting from the internet.)Create a scatter plot with the 272 observations.Can you identify clusters forming in your Scatter Plot?Circle the clusters you have identified.Provide a screenshot of your scatter plot in the report. Please make sure the plot is appropriately labeled.Perform a K-Means analysis on the dataset.A description of how you identified the optimal number of clusters.The results of your K-Means clustering analysis in R and Tableau.An analysis of the clustered data.List each question before answering it.

Dataset #2:

The dataset for this assignment is the Iris dataset. The dataset contains measurements of sepal length, sepal width, petal length, and petal width for 150 iris flowers, which are labeled as belonging to one of three species: Iris setosa, Iris versicolor, or Iris virginica.

Create a report in Word Processor that will include:

Perform a K-Means analysis on the dataset.A description of how you identified the optimal number of clusters.The results of your K-Means clustering analysis in R and Tableau.An analysis of the clustered data.What are the characteristics of each cluster?Are the clusters well-separated?List each question before answering it.

 

Submission:

1.     Create two folders, one for each problem.

2.     Include your report, R file and Tableau file in the same folder for each problem.

3.     When you are done and ready to submit, place both folders inside one folder and zip that folder.

4.     Upload the zipped folder to Canvas.