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

Estimation of Gamma in K-Prototypes #185

Closed
crixus5678 opened this issue Sep 2, 2022 · 1 comment · Fixed by #186
Closed

Estimation of Gamma in K-Prototypes #185

crixus5678 opened this issue Sep 2, 2022 · 1 comment · Fixed by #186
Labels

Comments

@crixus5678
Copy link

For the estimation of gamma in k-prototypes, the current implementation appears to estimate the gamma by using 0.5 * (standard deviation of all numeric data).

However, in the paper [Huang 1997] it was mentioned that gamma is guided by the " average standard deviation of numeric attributes". If that is the case, shouldn't we be calculating the mean for all the standard deviation of each numeric attribute?

@crixus5678 crixus5678 added the bug label Sep 2, 2022
@nicodv
Copy link
Owner

nicodv commented Sep 6, 2022

For reference, from the paper:

Generally speaking, γ_l is related to σ_l , the average standard deviation of numeric attributes in cluster l. In practice, σ_l can be used as a guidance to determine γ_l . However, since σ_l is unknown before clustering, the overall average standard deviation σ of numeric attributes can be used for all σ_l.

So yes, it appears you are correct in your statement.

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

Successfully merging a pull request may close this issue.

2 participants