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

Question about the k-Prototype #10

Closed
ANIS87 opened this issue Apr 13, 2016 · 1 comment
Closed

Question about the k-Prototype #10

ANIS87 opened this issue Apr 13, 2016 · 1 comment

Comments

@ANIS87
Copy link

ANIS87 commented Apr 13, 2016

Dear Nico
Thank you very much for this python code !
In fact, i have a question about the algorithm k-Prototype implemented in this work.
I wanted to know if it is possible to assign some weighted coefficients to each families of variables ( like various probabilities : 0.7 for numeric data and 0.3 for categories) in the order to give more importance to some classification than other.
Thank You for any response.

@nicodv
Copy link
Owner

nicodv commented Apr 29, 2016

The gamma coefficient does exactly this. Check it out: https://github.com/nicodv/kmodes/blob/master/kmodes/kprototypes.py#L284

@nicodv nicodv closed this as completed Apr 29, 2016
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