lyst / lightfm

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

Random split does not work correctly #599

Closed Myname10 closed 3 years ago

Myname10 commented 3 years ago

Hello,

I'm using the random split tain test funtion with a fixed seed

train, test = random_train_test_split(interactions=lfm_interactions_with_weights, test_percentage=test_percentage, random_state=random.RandomState(3))

But whenver i run this function it returrns different train, test

ANy help thank you