Skip to content

LightFM .fit() (loss) #724

Description

@Datchthana1

Hi,

I am using LightFM with Python 3.12.4.

I can use loss='logistic' without any issue, but when I try to use loss='warp' or loss='bpr', it fails.

I got silently stopped

To try to fix it, I installed the latest version from GitHub using:


pip install git+[https://github.com/daviddavo/lightfm](https://github.com/daviddavo/lightfm)

However, the problem persists.

Could you please advise how to properly enable WARP and BPR losses in this setup?

Environment:

  • Python 3.12.4
  • LightFM unknown version
  • OS: Windows 11

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions