Git Product home page Git Product logo

Comments (5)

john-parton avatar john-parton commented on May 21, 2024 1

For anyone reading this, I ended up using elastic's "more like this" functionality to dynamically generate recommended products. The overall fidelity of recommendations might be less than manually specified products, but the dramatic reduction in data entry burden was considered a reasonable trade off for my application.

from django-oscar.

AndrewIngram avatar AndrewIngram commented on May 21, 2024

Is pre-populating the data necessary? The database queries involved don't seem especially complicated or slow, but then I haven't tried this before on large datasets (ie millions of order line rows).

On the flip-side, keeping the ProductRecommendation model will work for more advanced recommendation algorithms too.

from django-oscar.

codeinthehole avatar codeinthehole commented on May 21, 2024

I think it is worth doing this in a batch job as we have some projects lined up with millions of products, and I'd like to keep this fast. We also have projects where these recommendations come from another source, and so it makes sense to store the relationships in a standard structure.

Having said that, it would still be useful to write a simple extension to the basket page that does the queries at runtime. The same query logic would be needed for the batch job, so it's a valuable exercise. It's worth starting with that and then extending it to populate the recommendation tables.

from django-oscar.

john-parton avatar john-parton commented on May 21, 2024

I will be implementing this feature in an upcoming project, does anyone have a partially working implementation?

from django-oscar.

sasha0 avatar sasha0 commented on May 21, 2024

I believe within just simple lookup in the order history we can't get relevant products, because customers often buy unrelated products in the same order.

To get list of similar products, we'll have to design quite more complex algorithm, which is potential topic for the new issue we'd create once we get to implement this.

from django-oscar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.