{
  "id": 378219,
  "title": "Generate 1-week or any length of `train-test-test_label` dataset for fast iteration on Kaggle",
  "url": "/competitions/otto-recommender-system/discussion/378219",
  "author_name": "danielliao",
  "post_date": "2023-01-14T23:49:13.274000",
  "votes": 9,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Hi Everyone,</p>\n<p>You could generate 1-week or any length of <code>train-test-test_label</code> <a href=\"https://www.kaggle.com/datasets/danielliao/1st-7days-train-validation-set\" target=\"_blank\">dataset</a> for fast iteration on Kaggle with this <a href=\"https://www.kaggle.com/code/danielliao/subset-first-7days-train-test-split\" target=\"_blank\">notebook</a> within 2 minutes.</p>\n<p>Actually you could generate any length of duration of the dataset as you like, the only cell you need to change is the following <a href=\"https://www.kaggle.com/code/danielliao/subset-first-7days-train-test-split?scriptVersionId=116374379&amp;cellId=2\" target=\"_blank\">cell</a></p>\n<pre><code>start_time = [,,,,,]\nend_time = [,,,,,]\nsplit_days = \n</code></pre>\n<p>If you find my notebook and dataset helpful, please upvote them, thank you!!</p>\n<hr>\n<p>I have done a lot of work to put this notebook together. You can check <a href=\"https://github.com/EmbraceLife/My_Journey_on_Kaggle/blob/main/OTTO%20Recsys%20Comp%20(New).md\" target=\"_blank\">the growing process</a> of this notebook in the image below and links to those notebooks that this notebook integrates.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F850197%2F7c3864fc3c4878353ac7a0ec3e87516b%2FScreen%20Shot%202023-01-15%20at%2007.41.58.png?generation=1673739753912524&amp;alt=media\" alt=\"\"></p>\n<p>I have verified this 1-week dataset in another <a href=\"https://www.kaggle.com/code/danielliao/verify-1week-otto-train-valid-test/\" target=\"_blank\">notebook</a>.</p>\n<p>My other notebooks for integrating this notebook have been verified in these places below</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F850197%2Fc87c1fc1ac04545c3f406216f761dfc1%2FScreen%20Shot%202023-01-15%20at%2007.42.11.png?generation=1673739807649613&amp;alt=media\" alt=\"\"></p>\n<p>No matter how much work I have done to verify them I could still make mistakes there, as I am a beginner myself. I would really appreciate if you could also try different ways to verify the dataset and show me the code and result for anything odd, thanks! </p>",
  "messages": [
    {
      "id": 2100101,
      "postDate": "2023-01-14T23:49:13.273Z",
      "content": "<p>Hi Everyone,</p>\n<p>You could generate 1-week or any length of <code>train-test-test_label</code> <a href=\"https://www.kaggle.com/datasets/danielliao/1st-7days-train-validation-set\" target=\"_blank\">dataset</a> for fast iteration on Kaggle with this <a href=\"https://www.kaggle.com/code/danielliao/subset-first-7days-train-test-split\" target=\"_blank\">notebook</a> within 2 minutes.</p>\n<p>Actually you could generate any length of duration of the dataset as you like, the only cell you need to change is the following <a href=\"https://www.kaggle.com/code/danielliao/subset-first-7days-train-test-split?scriptVersionId=116374379&amp;cellId=2\" target=\"_blank\">cell</a></p>\n<pre><code>start_time = [,,,,,]\nend_time = [,,,,,]\nsplit_days = \n</code></pre>\n<p>If you find my notebook and dataset helpful, please upvote them, thank you!!</p>\n<hr>\n<p>I have done a lot of work to put this notebook together. You can check <a href=\"https://github.com/EmbraceLife/My_Journey_on_Kaggle/blob/main/OTTO%20Recsys%20Comp%20(New).md\" target=\"_blank\">the growing process</a> of this notebook in the image below and links to those notebooks that this notebook integrates.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F850197%2F7c3864fc3c4878353ac7a0ec3e87516b%2FScreen%20Shot%202023-01-15%20at%2007.41.58.png?generation=1673739753912524&amp;alt=media\" alt=\"\"></p>\n<p>I have verified this 1-week dataset in another <a href=\"https://www.kaggle.com/code/danielliao/verify-1week-otto-train-valid-test/\" target=\"_blank\">notebook</a>.</p>\n<p>My other notebooks for integrating this notebook have been verified in these places below</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F850197%2Fc87c1fc1ac04545c3f406216f761dfc1%2FScreen%20Shot%202023-01-15%20at%2007.42.11.png?generation=1673739807649613&amp;alt=media\" alt=\"\"></p>\n<p>No matter how much work I have done to verify them I could still make mistakes there, as I am a beginner myself. I would really appreciate if you could also try different ways to verify the dataset and show me the code and result for anything odd, thanks! </p>",
      "rawMarkdown": "Hi Everyone,\n\nYou could generate 1-week or any length of `train-test-test_label` [dataset](https://www.kaggle.com/datasets/danielliao/1st-7days-train-validation-set) for fast iteration on Kaggle with this [notebook](https://www.kaggle.com/code/danielliao/subset-first-7days-train-test-split) within 2 minutes.\n\nActually you could generate any length of duration of the dataset as you like, the only cell you need to change is the following [cell](https://www.kaggle.com/code/danielliao/subset-first-7days-train-test-split?scriptVersionId=116374379&cellId=2)\n\n```python\nstart_time = [2022,7,31,22,0,0]\nend_time = [2022,8,7,22,0,0]\nsplit_days = 2\n```\n\nIf you find my notebook and dataset helpful, please upvote them, thank you!!\n\n---\n\nI have done a lot of work to put this notebook together. You can check [the growing process](https://github.com/EmbraceLife/My_Journey_on_Kaggle/blob/main/OTTO%20Recsys%20Comp%20(New).md) of this notebook in the image below and links to those notebooks that this notebook integrates.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F850197%2F7c3864fc3c4878353ac7a0ec3e87516b%2FScreen%20Shot%202023-01-15%20at%2007.41.58.png?generation=1673739753912524&alt=media)\n\nI have verified this 1-week dataset in another [notebook](https://www.kaggle.com/code/danielliao/verify-1week-otto-train-valid-test/).\n\nMy other notebooks for integrating this notebook have been verified in these places below\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F850197%2Fc87c1fc1ac04545c3f406216f761dfc1%2FScreen%20Shot%202023-01-15%20at%2007.42.11.png?generation=1673739807649613&alt=media)\n\nNo matter how much work I have done to verify them I could still make mistakes there, as I am a beginner myself. I would really appreciate if you could also try different ways to verify the dataset and show me the code and result for anything odd, thanks! ",
      "votes": 9
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "2100101": "Hi Everyone,\n\nYou could generate 1-week or any length of `train-test-test_label` [dataset](https://www.kaggle.com/datasets/danielliao/1st-7days-train-validation-set) for fast iteration on Kaggle with this [notebook](https://www.kaggle.com/code/danielliao/subset-first-7days-train-test-split) within 2 minutes.\n\nActually you could generate any length of duration of the dataset as you like, the only cell you need to change is the following [cell](https://www.kaggle.com/code/danielliao/subset-first-7days-train-test-split?scriptVersionId=116374379&cellId=2)\n\n```python\nstart_time = [2022,7,31,22,0,0]\nend_time = [2022,8,7,22,0,0]\nsplit_days = 2\n```\n\nIf you find my notebook and dataset helpful, please upvote them, thank you!!\n\n---\n\nI have done a lot of work to put this notebook together. You can check [the growing process](https://github.com/EmbraceLife/My_Journey_on_Kaggle/blob/main/OTTO%20Recsys%20Comp%20(New).md) of this notebook in the image below and links to those notebooks that this notebook integrates.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F850197%2F7c3864fc3c4878353ac7a0ec3e87516b%2FScreen%20Shot%202023-01-15%20at%2007.41.58.png?generation=1673739753912524&alt=media)\n\nI have verified this 1-week dataset in another [notebook](https://www.kaggle.com/code/danielliao/verify-1week-otto-train-valid-test/).\n\nMy other notebooks for integrating this notebook have been verified in these places below\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F850197%2Fc87c1fc1ac04545c3f406216f761dfc1%2FScreen%20Shot%202023-01-15%20at%2007.42.11.png?generation=1673739807649613&alt=media)\n\nNo matter how much work I have done to verify them I could still make mistakes there, as I am a beginner myself. I would really appreciate if you could also try different ways to verify the dataset and show me the code and result for anything odd, thanks! "
  }
}