Comments (7)
Hey @rragundez ! Could you clarify for me what you mean by "different actions"? What would some examples of different actions be?
I'm glad you're interested!
from tensorrec.
So, suppose I have two users which both are vegetarians, same age, like music etc. same preferences, same user features, but they have interacted with my content items differently. Since the actions get ingested in training time only for the loss function, at inference/prediction time both users get treated equally (since their features are the same)
Is this a bit clearer?
from tensorrec.
Much clearer, thank you!
In this case, you could provide personalization by adding an "indicator feature" - a one-hot-encoded feature that is unique to each user. Practically, I do this by appending an identity matrix (n_users, n_users) to my user metadata matrix.
You can read a bit more about using indicator features in a recommender system in section 2.3 of this paper: https://arxiv.org/pdf/1507.08439.pdf
Does that help?
from tensorrec.
I thought about that initially and I came up with a reason of why not to do it, but lost it now. Let me get back to you, I'll take a look at the paper, thanks a lot!
Another question, in your experience with this architecture how many user features and items features and actions would I need to get good results?
from tensorrec.
Wouldn't it be a problem that for example if I have 100,000 users and let's say only 10 user features? Seems to me that this would be a problem when calculating the embeddings.
from tensorrec.
The only issue with a large number of indicator features is the size of embeddings in memory. That said, I've routinely built systems with 4mm+ users with indicator features and metadata features without problems.
from tensorrec.
great thanks! I'll try it out.
from tensorrec.
Related Issues (20)
- TFLite export - Input and output nodes HOT 3
- How to use tensorrec to do online serving?
- Error: Pack node (stack_24) axis attribute is out of bounds: 1 HOT 1
- Validation techniques HOT 1
- Trouble saving models HOT 2
- How to exclude user's liked items from the predictions? HOT 1
- Unexpected outcomes from custom prediction graph
- How can i get similar users?
- Tensorrec environment issues HOT 5
- Inferences' issue HOT 1
- How to make Tensorrec have stable results HOT 2
- Temporal dynamics
- Fix simple typo: predictiones -> predictions
- How to write kNN by TensorRec?
- Error on dimensionality HOT 1
- Error - tensorflow has no attribute`get_default_session()` HOT 3
- module 'tensorflow' has no attribute 'get_default_session' HOT 4
- About users Features matrix
- Performance issues in the program
- Question - install of tensorrec only once
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 tensorrec.