Using a graph model for recommendations

We will be using a very specific data model for our recommender system, which is based on the dataset that we imported in the previous chapter. All we have changed is that we added a couple of products and brands to the model, and inserted some data into the database correspondingly. In total, we added the following:

  • Ten products
  • Three product brands
  • Fifty relationships between existing person nodes and the mentioned products, highlighting that these persons bought these products

These are the products and brands that we added:

Using a graph model for recommendations

Adding products and brands to the dataset

The following diagram shows the resulting model: ...

Get Learning Neo4j now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.