text_plain_output_1.png
from lightfm import LightFM

from lightfm.datasets import fetch_movielens

data = fetch_movielens(min_rating=3.0)

model_0 = LightFM(loss='warp')
model_0.fit(data['train'], epochs=70, num_threads=4)