{
  "id": 196209,
  "title": "Why isn't the data completely in order?",
  "url": "/competitions/riiid-test-answer-prediction/discussion/196209",
  "author_name": "",
  "post_date": "2020-11-09T22:23:19.281844400Z",
  "votes": 1,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Hi, I am trying to train an RNN, but I am running into the problem that the data is not perfectly ordered.  Here is what the test data looks like for the first iteration:<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F4282397%2F290bf343e1ac48b8c18f011cdf227248%2FScreenshot%20from%202020-11-09%2014-19-44.png?generation=1604960409533167&amp;alt=media\" alt=\"\"><br>\nAs you can see, the first student does have the first question shown, but every student afterwards does not.  If they were perfectly ordered, it wouldn't be hard to create an RNN, but since they aren't this makes it impossible, since you don't know how many questions are before the current one.  Is there a specific reason why this is? </p>",
  "messages": [
    {
      "id": "1073755",
      "postDate": "11/09/2020 22:23:19",
      "content": "<p>Hi, I am trying to train an RNN, but I am running into the problem that the data is not perfectly ordered.  Here is what the test data looks like for the first iteration:<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F4282397%2F290bf343e1ac48b8c18f011cdf227248%2FScreenshot%20from%202020-11-09%2014-19-44.png?generation=1604960409533167&amp;alt=media\" alt=\"\"><br>\nAs you can see, the first student does have the first question shown, but every student afterwards does not.  If they were perfectly ordered, it wouldn't be hard to create an RNN, but since they aren't this makes it impossible, since you don't know how many questions are before the current one.  Is there a specific reason why this is? </p>",
      "rawMarkdown": "Hi, I am trying to train an RNN, but I am running into the problem that the data is not perfectly ordered.  Here is what the test data looks like for the first iteration:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F4282397%2F290bf343e1ac48b8c18f011cdf227248%2FScreenshot%20from%202020-11-09%2014-19-44.png?generation=1604960409533167&alt=media)\nAs you can see, the first student does have the first question shown, but every student afterwards does not.  If they were perfectly ordered, it wouldn't be hard to create an RNN, but since they aren't this makes it impossible, since you don't know how many questions are before the current one.  Is there a specific reason why this is?",
      "votes": null
    },
    {
      "id": "1074848",
      "postDate": "11/11/2020 06:37:46",
      "content": "<p>I'm not sure what you mean by first question. As far as I understand, every user interaction is chronologically ordered. Because the test has different users in a single group, it just looks like the timestamps are in random order. Also, keep in mind that the test data chronologically continues after the train dataset, meaning that users in the train dataset will appear with timestamps greater than their latest timestamp in the test dataset.</p>",
      "rawMarkdown": "I'm not sure what you mean by first question. As far as I understand, every user interaction is chronologically ordered. Because the test has different users in a single group, it just looks like the timestamps are in random order. Also, keep in mind that the test data chronologically continues after the train dataset, meaning that users in the train dataset will appear with timestamps greater than their latest timestamp in the test dataset.",
      "votes": null
    },
    {
      "id": "1075268",
      "postDate": "11/11/2020 14:34:54",
      "content": "<p>Otherwise it wouldn't be fun :)</p>",
      "rawMarkdown": "Otherwise it wouldn't be fun :)",
      "votes": null
    },
    {
      "id": "1076644",
      "postDate": "11/12/2020 18:00:09",
      "content": "<p>If the data is chronologically ordered why aren't the first few groups all just <code>nan</code> for the <code>prior_question_elapsed_time</code>?  Doesn't this mean that there are rows for the users in the group that are before the data presented in the dataset?</p>",
      "rawMarkdown": "If the data is chronologically ordered why aren't the first few groups all just `nan` for the `prior_question_elapsed_time`?  Doesn't this mean that there are rows for the users in the group that are before the data presented in the dataset?",
      "votes": null
    },
    {
      "id": "1077182",
      "postDate": "11/13/2020 09:53:50",
      "content": "<p>Yes. There are users that have not been presented in the train dataset, and their first appearance is within the test dataset. Notice that for other users, prior_question_elapsed_time is not NaN.</p>",
      "rawMarkdown": "Yes. There are users that have not been presented in the train dataset, and their first appearance is within the test dataset. Notice that for other users, prior_question_elapsed_time is not NaN.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1074848,
      "author_name": "wingtail",
      "author_url": "",
      "post_date": "11/11/2020 06:37:46",
      "content": "<p>I'm not sure what you mean by first question. As far as I understand, every user interaction is chronologically ordered. Because the test has different users in a single group, it just looks like the timestamps are in random order. Also, keep in mind that the test data chronologically continues after the train dataset, meaning that users in the train dataset will appear with timestamps greater than their latest timestamp in the test dataset.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1076644,
          "author_name": "fatehaliyev",
          "author_url": "",
          "post_date": "11/12/2020 18:00:09",
          "content": "<p>If the data is chronologically ordered why aren't the first few groups all just <code>nan</code> for the <code>prior_question_elapsed_time</code>?  Doesn't this mean that there are rows for the users in the group that are before the data presented in the dataset?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1077182,
          "author_name": "wingtail",
          "author_url": "",
          "post_date": "11/13/2020 09:53:50",
          "content": "<p>Yes. There are users that have not been presented in the train dataset, and their first appearance is within the test dataset. Notice that for other users, prior_question_elapsed_time is not NaN.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1075268,
      "author_name": "anonymerspastiker",
      "author_url": "",
      "post_date": "11/11/2020 14:34:54",
      "content": "<p>Otherwise it wouldn't be fun :)</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1073755": "Hi, I am trying to train an RNN, but I am running into the problem that the data is not perfectly ordered.  Here is what the test data looks like for the first iteration:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F4282397%2F290bf343e1ac48b8c18f011cdf227248%2FScreenshot%20from%202020-11-09%2014-19-44.png?generation=1604960409533167&alt=media)\nAs you can see, the first student does have the first question shown, but every student afterwards does not.  If they were perfectly ordered, it wouldn't be hard to create an RNN, but since they aren't this makes it impossible, since you don't know how many questions are before the current one.  Is there a specific reason why this is?",
    "1074848": "I'm not sure what you mean by first question. As far as I understand, every user interaction is chronologically ordered. Because the test has different users in a single group, it just looks like the timestamps are in random order. Also, keep in mind that the test data chronologically continues after the train dataset, meaning that users in the train dataset will appear with timestamps greater than their latest timestamp in the test dataset.",
    "1075268": "Otherwise it wouldn't be fun :)",
    "1076644": "If the data is chronologically ordered why aren't the first few groups all just `nan` for the `prior_question_elapsed_time`?  Doesn't this mean that there are rows for the users in the group that are before the data presented in the dataset?",
    "1077182": "Yes. There are users that have not been presented in the train dataset, and their first appearance is within the test dataset. Notice that for other users, prior_question_elapsed_time is not NaN."
  },
  "source": "meta"
}