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

How to calculate P-value, Calinski-Harabasz Index (CHI) and Davis-Bouldin Index (DBI)? #3

Open
Arsener opened this issue Jan 4, 2021 · 1 comment

Comments

@Arsener
Copy link

Arsener commented Jan 4, 2021

Hello, Dr. Yin.
I'm very interested in your work using weighted kmeans for clustering. I want to know how to calculate p-value. Would you please provide me with relevant reference materials about it? In addition, the center of cluster is needed when calculating CHI and CBI. In this work, multi-dimensional time series data with different length are clustered, so how to get the center of the cluster?

Looking forward to your reply. Thank you!

@yinchangchang
Copy link
Owner

We computed the p-value for each variable first and the mean p-value for all variables were presented in the paper. (see https://www.nature.com/articles/s41598-018-37545-z)

We used sklearn to calculate the CHI and DBI (https://scikit-learn.org/stable/modules/clustering.html#clustering-performance-evaluation)

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