Comments (4)
Thank you
There are multiple ways of implementing a recommendation engine - once you are certain that you want to use a machine learning approach, you will need to identify features (such as the last 10 product categories viewed, etc.) that allow the estimator to learn the mapping from input to a good recommendation. This will require some ingenuity and domain knowledge on your end.
Typically, learners require a fixed length feature vector as input. For this reason, if you would like to be able to consider all of the information you have regarding the user, you will need to come up with a fixed length representation of the data first (Ex. Category view counts, demographics, etc.). Again this will require some ingenuity on your part. I would start by becoming very familiar with the differences between categorical and continuous data representations.
Then you have to consider what you want your model output to be. Will it be the category of a product? A specific product? A score as to how much the estimator thinks the customer will like a specific product?
Once you narrow down the problem, let me know and if you had more questions we'll go from there
from ml.
Thank you @andrewdalpino
I have some information about people, like geographic zone, purchase quantity, etc.
But what I have more is user to items actions. View item, add to cart item, bought item, spent time viewing item, etc.
What I want is to recommend items based on that, ordered by the probability to buy the item.
Buy is the target action, the rest is just secondary information that can help us to understand what the user wants.
I think it will be great if we can assign some weight, because add to cart item is more than view item. View item 3 times is also more than view item.
This recommender https://github.com/actionml/universal-recommender
Is great, it just doesn’t assign weight to actions, but it uses all the actions (not with a fixed length) to recommend items based in the probability to reach the target action.
Can we do something like that?
from ml.
A Probabilistic classifier that outputs the probability of purchasing every product in the catalog will do the trick. However, there are some things to consider. Is the product catalog very large? Will it change frequently? If so, this model might not scale as well as you'd expect.
The prediction would look something like ...
{
"guitar": 0.6,
"soap": 0.1,
"bananas": 0.3
}
... and you'd recommend the products with the highest probabilities
I cannot speak too much about the feature engineering as I'm not an expert in your domain, but it sounds like you can use those events as features just fine. Again, it will require some wrangling on your part. The training label of each sample will be the product or products they've purchased as a result of those events.
I am not familiar with that library either but maybe it would help to know that aside from machine learning you could also try a collaborative filtering approach
from ml.
from ml.
Related Issues (20)
- psr/log old version is limiting the project to be used on modern frameworks HOT 2
- Which alogorithm can be used for search result ranking ? HOT 2
- Is "Transformer Architecture Marchine Learning Model" supported on RubixML ??? HOT 4
- Map method in Dataset doesn't exist HOT 2
- Multi Language Tokenization Support HOT 3
- WordCountVectorizer Memory Issue HOT 2
- TruncatedSVD() made PHP crash without any message HOT 3
- Evaluation of the cluster quality with indicators HOT 1
- Requirements not resolved to an installable set of packages HOT 3
- Softmax Classifier & partial training HOT 1
- Does Rubix ML support Natural Language Processing (NLP)? HOT 1
- Convert `Transformers\PrincipalComponentAnalysis` to NumPower
- Convert `Transformers\LinearDiscriminantAnalysis` to NumPower
- Convert `Transformers\TruncatedSVD` to NumPower
- Convert `Generators\Blob` to NumPower
- Convert `Generators\Circle` to NumPower
- Convert `Generators\HalfMoon` to NumPower
- Add numpower to the GitHub workflow pipeline
- How to use TF-IDF when it is not categorical? HOT 1
- create chatbot with questions and answers
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 ml.