Comments (8)
Your interaction matrix needs to be positive and negative. The value 4.0 is arbitrary you could pick 3.0 for example.
from lightfm.
Is this correct @maciejkula ?
from lightfm.
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.
@xiaop1987 are you happy about this answer? Or can I expand more?
from lightfm.
@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.
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.
@maciejkula yes, that would be very appreciated!
from lightfm.
Done, let me know if you didn't get it!
from lightfm.
Related Issues (20)
- How to reproduce the evaluation score in the paper.
- Recommender System with RFM ratings to put into Interaction matrix HOT 9
- Feature Request: Support for Freezing Item Embeddings while Updating User Embeddings During Training
- Incorporating item and user biases in LightFM embeddings for accurate recommendations in Vespa HOT 1
- Item and User Normalization
- Is there a way to save Dataset()? HOT 1
- How to get clusters of users from trained lightfm model on implicit rating model?
- Evaluate AUC on a subset of items
- Auc evalutation return always nan
- Can't install on Python 3.10.6 in Ubuntu HOT 1
- Implementing Incremental Training and Feedback loop using Lightfm
- LightFM kills Jupyter Kernel when fitting model
- Does calculating precision@k for one user makes sense? HOT 1
- Creating recommendations for single users without leveraging user identity features
- Can't install on Python 3.12 HOT 6
- Can't seem to install with with poetry HOT 3
- ModuleNotFoundError: No module named 'lightfm._lightfm_fast_no_openmp'
- Recommendation model with text embedding as item feature
- Same precision@k with different item embeddings?
- Recommending documents to users based on keywords in the absence of interactions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightfm.