-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Initial product recommendation engine #874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial product recommendation engine #874
Conversation
|
I don't know much about machine learning, but how is it possible to use the ID of Amazon products to recommend simplCommerce IDs that are totally different. |
|
In the current, this is solution cannot release because that was builded on Amazon example Dataset. The ML learning solution should be build on real data of the system. The data is most important with ML feature, so i will improve this solution for long time running. |
I see, for simplicity we can suggest the products that have some similarities with the displayed one, for example product name, description, tags .. etc |
|
Hi @ainhattv thank you for your nice work. But I think the code is more for reference. It is not some thing we can put in production. So I cannot merge to the code base but will keep here for reference purpose. Btw, we should not modify the ProductController, the code to load/render recommended product should be encapsulated in the Recommendation module by using a ViewComponent and in the product details view, we invoke that view component |
|
Hi A. @thiennn, |
|
Since the MLData folder from the original sample is checked directly into the repository, please exercise caution with this PR. This data is very large and not using GitLFS (if merged, it would permanently increase the size required to clone SimplCommerce), and won't be useful to future users of SimplCommerce. If this continues to progress, deleting the data and issuing a "squash commit" would eliminate the vestigial data. However, this does look like a great starting point for working on a recommendation engine. Maybe consider splitting the data loading and the data training to two separate services to be able to support running it off of the main web app? As it stands the web app used for SimplCommerce doesn't currently need to be a high compute instance. |
|
@mdekrey You right, |
|
I didn't have much free time, so I just put what already existed to work with real data. |
|
To test, make some sales with more than one product then restart the application to train using the data (data.txt) or wait a day for the job to run again and train again. |
No description provided.