kmodes icon indicating copy to clipboard operation
kmodes copied to clipboard

Support feature weights

Open pratikmondkar opened this issue 7 years ago • 4 comments

Need to add a parameter or input vector specifying the weight of each categorical variable rather than treating them as same in dissimilarity calculation as its doing now.

pratikmondkar avatar Dec 13 '16 12:12 pratikmondkar

It would be nice to have this, yes.

nicodv avatar Dec 14 '16 18:12 nicodv

Has anything been done on this?

j-cahill avatar Mar 29 '22 14:03 j-cahill

No work on feature weights has been done at this point.

Sample weights have been added recently, though:

  • https://github.com/nicodv/kmodes/pull/171
  • https://github.com/nicodv/kmodes/pull/174

nicodv avatar Mar 30 '22 19:03 nicodv

Is this on the roadmap? I've been duplicating features to increase weight

@nicodv - is there a better way to do this?

mohammed-guiga avatar Feb 02 '24 15:02 mohammed-guiga