Sunaina
• Female
• Chicago, IL
• United States

# Sunaina's Page

## Latest Activity

Keshav Dhandhania and Sunaina are now friends
May 28, 2018
"Why use Power BI at all? Or why not just use Power BI? In the first case I can send this out to an R markdown file and have it go straight to html/CSS in a dashboard that is open source and easily edited with a CSS editor. Seems like a chore to load…"
Mar 14, 2018
"Sorry, but I don't understand how Power BI is used in this example."
Mar 10, 2018
Sunaina posted blog posts
Mar 9, 2018
Sunaina's blog post was featured

### Clustering in Power BI using R

Here, I've used the famous Iris Flower dataset to show the clustering in Power BI using R. I've used the K-means clustering method to show the different species of Iris flower.About the dataset: The Iris dataset has 5 attributes (Sepal length, Sepal width, Petal width, Petal length, Species). The 3 different species are named as Setosa, Versicolor and Virginica. It is observed that, the Petal Length and Petal Width are similar in…See More
Mar 9, 2018

## Profile Information

My Web Site Or LinkedIn Profile
Professional Status
Student
NA
How did you find out about DataScienceCentral?
Interests:
Finding a new position

## Sunaina's Blog

### Steps to calculate centroids in cluster using K-means clustering algorithm

Posted on March 7, 2018 at 3:30pm

In this blog I will go a bit more in detail about the K-means method and explain how we can calculate the distance between centroid and data points to form a cluster.

Consider the below data set which has the values of the data points on a particular graph.

Table 1:

We can randomly choose two initial points as the centroids and from there we can start calculating distance of each point.

For now we will consider that D2 and D4 are…

Continue

### Clustering in Power BI using R

Posted on March 7, 2018 at 1:30pm

Here, I've used the famous Iris Flower dataset to show the clustering in Power BI using R. I've used the K-means clustering method to show the different species of Iris flower.

About the datasetThe Iris dataset has 5 attributes (Sepal length, Sepal width, Petal width, Petal length, Species). The 3 different species are named as Setosa,…

Continue

## Comment Wall

Join Data Science Central