{
  "id": 366711,
  "title": "Add to cart without clicks, purchase without clicks/cart event are valid events?",
  "url": "/competitions/otto-recommender-system/discussion/366711",
  "author_name": "",
  "post_date": "2022-11-17T10:07:36.623651Z",
  "votes": 2,
  "comment_count": 1,
  "views": 0,
  "content": "<h2>Issue</h2>\n<p>About 2.3% of train events, there exists the data that seems inconsistent:</p>\n<p>case1. <code>carts</code> event without <code>clicks</code> in the session<br>\ncase2. <code>order</code> event without <code>clicks</code> nor <code>carts</code> in the session</p>\n<p>Are these data are valid transaction data?<br>\nIf so, how can these are generated?</p>\n<h2>Possible cause</h2>\n<p>In my assumption,</p>\n<p>case1 -&gt; generated when items are added to card from other items web page<br>\ncase2 -&gt; generated when \"one click purchase\"</p>\n<h2>How to reproduce?</h2>\n<p>I published this notebook:<br>\n<a href=\"https://www.kaggle.com/code/tatamikenn/otto-possible-inconsistent-events/notebook?scriptVersionId=111269624\" target=\"_blank\">https://www.kaggle.com/code/tatamikenn/otto-possible-inconsistent-events/notebook?scriptVersionId=111269624</a></p>\n<hr>\n<p>c.f. it also pointed out in this topic:<br>\n<a href=\"https://www.kaggle.com/competitions/otto-recommender-system/discussion/366478\" target=\"_blank\">https://www.kaggle.com/competitions/otto-recommender-system/discussion/366478</a></p>",
  "messages": [
    {
      "id": "2033521",
      "postDate": "11/17/2022 10:07:36",
      "content": "<h2>Issue</h2>\n<p>About 2.3% of train events, there exists the data that seems inconsistent:</p>\n<p>case1. <code>carts</code> event without <code>clicks</code> in the session<br>\ncase2. <code>order</code> event without <code>clicks</code> nor <code>carts</code> in the session</p>\n<p>Are these data are valid transaction data?<br>\nIf so, how can these are generated?</p>\n<h2>Possible cause</h2>\n<p>In my assumption,</p>\n<p>case1 -&gt; generated when items are added to card from other items web page<br>\ncase2 -&gt; generated when \"one click purchase\"</p>\n<h2>How to reproduce?</h2>\n<p>I published this notebook:<br>\n<a href=\"https://www.kaggle.com/code/tatamikenn/otto-possible-inconsistent-events/notebook?scriptVersionId=111269624\" target=\"_blank\">https://www.kaggle.com/code/tatamikenn/otto-possible-inconsistent-events/notebook?scriptVersionId=111269624</a></p>\n<hr>\n<p>c.f. it also pointed out in this topic:<br>\n<a href=\"https://www.kaggle.com/competitions/otto-recommender-system/discussion/366478\" target=\"_blank\">https://www.kaggle.com/competitions/otto-recommender-system/discussion/366478</a></p>",
      "rawMarkdown": "## Issue\n\nAbout 2.3% of train events, there exists the data that seems inconsistent:\n\ncase1. `carts` event without `clicks` in the session\ncase2. `order` event without `clicks` nor `carts` in the session\n\nAre these data are valid transaction data?\nIf so, how can these are generated?\n\n## Possible cause\n\nIn my assumption,\n\ncase1 -> generated when items are added to card from other items web page\ncase2 -> generated when \"one click purchase\"\n\n## How to reproduce?\n\nI published this notebook:\nhttps://www.kaggle.com/code/tatamikenn/otto-possible-inconsistent-events/notebook?scriptVersionId=111269624\n\n-----\n\nc.f. it also pointed out in this topic:\nhttps://www.kaggle.com/competitions/otto-recommender-system/discussion/366478",
      "votes": null
    },
    {
      "id": "2034174",
      "postDate": "11/17/2022 22:10:31",
      "content": "<p>This issue is explained in <a href=\"https://www.kaggle.com/competitions/otto-recommender-system/discussion/363973#2018121\" target=\"_blank\">this thread</a>. </p>\n<blockquote>\n  <p>if the ordered item was already in the customer's cart before the data extraction period started. Similarly, a wishlist feature in our shop can lead to cart additions without a previous click in the dataset. These inconsistencies are realistic, and solutions must be able to handle them.</p>\n</blockquote>\n<p>Also credit to <a href=\"https://www.kaggle.com/dehokanta\" target=\"_blank\">@dehokanta</a> <a href=\"https://www.kaggle.com/competitions/otto-recommender-system/discussion/364697#2020901\" target=\"_blank\">here</a> for mentioning it.</p>",
      "rawMarkdown": "This issue is explained in [this thread](https://www.kaggle.com/competitions/otto-recommender-system/discussion/363973#2018121). \n>  if the ordered item was already in the customer's cart before the data extraction period started. Similarly, a wishlist feature in our shop can lead to cart additions without a previous click in the dataset. These inconsistencies are realistic, and solutions must be able to handle them.\n\nAlso credit to @dehokanta [here](https://www.kaggle.com/competitions/otto-recommender-system/discussion/364697#2020901) for mentioning it.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2034174,
      "author_name": "proselotis",
      "author_url": "",
      "post_date": "11/17/2022 22:10:31",
      "content": "<p>This issue is explained in <a href=\"https://www.kaggle.com/competitions/otto-recommender-system/discussion/363973#2018121\" target=\"_blank\">this thread</a>. </p>\n<blockquote>\n  <p>if the ordered item was already in the customer's cart before the data extraction period started. Similarly, a wishlist feature in our shop can lead to cart additions without a previous click in the dataset. These inconsistencies are realistic, and solutions must be able to handle them.</p>\n</blockquote>\n<p>Also credit to <a href=\"https://www.kaggle.com/dehokanta\" target=\"_blank\">@dehokanta</a> <a href=\"https://www.kaggle.com/competitions/otto-recommender-system/discussion/364697#2020901\" target=\"_blank\">here</a> for mentioning it.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2033521": "## Issue\n\nAbout 2.3% of train events, there exists the data that seems inconsistent:\n\ncase1. `carts` event without `clicks` in the session\ncase2. `order` event without `clicks` nor `carts` in the session\n\nAre these data are valid transaction data?\nIf so, how can these are generated?\n\n## Possible cause\n\nIn my assumption,\n\ncase1 -> generated when items are added to card from other items web page\ncase2 -> generated when \"one click purchase\"\n\n## How to reproduce?\n\nI published this notebook:\nhttps://www.kaggle.com/code/tatamikenn/otto-possible-inconsistent-events/notebook?scriptVersionId=111269624\n\n-----\n\nc.f. it also pointed out in this topic:\nhttps://www.kaggle.com/competitions/otto-recommender-system/discussion/366478",
    "2034174": "This issue is explained in [this thread](https://www.kaggle.com/competitions/otto-recommender-system/discussion/363973#2018121). \n>  if the ordered item was already in the customer's cart before the data extraction period started. Similarly, a wishlist feature in our shop can lead to cart additions without a previous click in the dataset. These inconsistencies are realistic, and solutions must be able to handle them.\n\nAlso credit to @dehokanta [here](https://www.kaggle.com/competitions/otto-recommender-system/discussion/364697#2020901) for mentioning it."
  },
  "source": "meta"
}