GithubHelp home page GithubHelp logo

Comments (8)

springcoil avatar springcoil commented on August 19, 2024

Your interaction matrix needs to be positive and negative. The value 4.0 is arbitrary you could pick 3.0 for example.

from lightfm.

springcoil avatar springcoil commented on August 19, 2024

Is this correct @maciejkula ?

from lightfm.

maciejkula avatar maciejkula commented on August 19, 2024

Yes, you need to do this for logistic loss.

For WARP loss you only need positives, as the negatives are sampled from other users' interactions. So in that sense this is not necessary. I guess the interpretation here is that only values above some X are actual positives.

from lightfm.

maciejkula avatar maciejkula commented on August 19, 2024

@xiaop1987 are you happy about this answer? Or can I expand more?

from lightfm.

xiaop1987 avatar xiaop1987 commented on August 19, 2024

@maciejkula surely I'm happy, thanks a lot :).

I take this step as making explicit feedback training data, but when I reading the example/movielens/readme.md which said that warp loss is used in implicit feedback, did I miss anything?

btw: I'm implementing warp loss in spark as recommending algorithm, but the result is not so good, would you mind if I posted some problems about warp loss(wsabie) by email?

from lightfm.

maciejkula avatar maciejkula commented on August 19, 2024

Yes, WARP loss is for implicit data. So this step basically drops anything less than 4 (but you could equally well leave everything in).

Sure, should I drop you an email at [email protected]?

from lightfm.

xiaop1987 avatar xiaop1987 commented on August 19, 2024

@maciejkula yes, that would be very appreciated!

from lightfm.

maciejkula avatar maciejkula commented on August 19, 2024

Done, let me know if you didn't get it!

from lightfm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.