Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final Project : Identifying communities #16

Open
Niagara1000 opened this issue May 4, 2020 · 1 comment
Open

Final Project : Identifying communities #16

Niagara1000 opened this issue May 4, 2020 · 1 comment

Comments

@Niagara1000
Copy link

Hi Professor @Anthony-Howell-PhD ,

Under the Identifying Communities section of the Final Project Outline Storyboard, there is this code. did you want us to create 9 clusters or should we stick to fewer? Your comments are included in the snippet that I am pasting below:


..
..

#Run Cluster Analysis
mod2 <- Mclust(Census2010[keep.these1]) 
# Set groups to 5, but you can remove this to let r split data into own groupings

summary(mod2, parameters = TRUE)
Census2010$cluster <- mod2$classification
@AntJam-Howell
Copy link
Collaborator

@Niagara1000 in that code example there is no pre-defined specification for number of groups. The number of groups will be determined based on the clustering algorithm. If you want to force the data into a specific number of groups, lets say four, you need to add the G=4 to the Mclust function as we did in Lab 6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants