lyst / lightfm

A Python implementation of LightFM, a hybrid recommendation algorithm.
Apache License 2.0
4.66k stars 679 forks source link

How to get clusters of users from trained lightfm model on implicit rating model? #700

Open vyaslkv opened 9 months ago

vyaslkv commented 9 months ago

I want to cluster users given that I have a trained fm model. I tried clustering user embeddings I got user_embeddings = model.get_user_representations() then applying k means clustering but I didn't get any pattern.