Uh oh!
There was an error while loading. Please reload this page.
Initial product recommendation engine - #874
Conversation
afernandes
commented
Mar 28, 2020
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. |
hishamco
commented
Mar 28, 2020
ainhattv
commented
Mar 28, 2020
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. |
hishamco
commented
Mar 28, 2020
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, |
mdekrey
commented
May 27, 2020
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. |
ainhattv
commented
May 28, 2020
@mdekrey You right, |
afernandes
commented
May 21, 2021
I didn't have much free time, so I just put what already existed to work with real data. |
afernandes
commented
May 21, 2021
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.