Skip to content

Instantly share code, notes, and snippets.

@khuangaf
Last active February 16, 2018 03:27
Show Gist options
  • Save khuangaf/873e90ad389d6d50ccc681699d09f538 to your computer and use it in GitHub Desktop.
Save khuangaf/873e90ad389d6d50ccc681699d09f538 to your computer and use it in GitHub Desktop.
from spotlight.factorization.implicit import ImplicitFactorizationModel
implicit_model = ImplicitFactorizationModel()
implicit_model.fit(implicit_interactions)
implicit_model.predict(user_ids, item_ids=None)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment