{
  "id": 453427,
  "title": "How to design target variables for predicting  onset,  wakeup ？Classification or regression？",
  "url": "/competitions/child-mind-institute-detect-sleep-states/discussion/453427",
  "author_name": "",
  "post_date": "2023-11-06T11:22:04.833445900Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Currently there are methods：<a href=\"https://www.kaggle.com/code/werus23/sleep-critical-point-train/notebook\" target=\"_blank\">https://www.kaggle.com/code/werus23/sleep-critical-point-train/notebook</a><br>\nand <a href=\"https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/441470;\" target=\"_blank\">https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/441470;</a></p>\n<p>What I really tried was to use -1(not onset,  not wakeup ) and 1 (when is  onset or wakeup ) as target variables to predict the value at each time point. But there is no way to confirm which one is onset or wakeup. It is more difficult for me to find other scientific methods. Maybe wait until the end of the competition to learn other modeling ideas.</p>",
  "messages": [
    {
      "id": "2514535",
      "postDate": "11/06/2023 11:22:04",
      "content": "<p>Currently there are methods：<a href=\"https://www.kaggle.com/code/werus23/sleep-critical-point-train/notebook\" target=\"_blank\">https://www.kaggle.com/code/werus23/sleep-critical-point-train/notebook</a><br>\nand <a href=\"https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/441470;\" target=\"_blank\">https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/441470;</a></p>\n<p>What I really tried was to use -1(not onset,  not wakeup ) and 1 (when is  onset or wakeup ) as target variables to predict the value at each time point. But there is no way to confirm which one is onset or wakeup. It is more difficult for me to find other scientific methods. Maybe wait until the end of the competition to learn other modeling ideas.</p>",
      "rawMarkdown": "Currently there are methods：https://www.kaggle.com/code/werus23/sleep-critical-point-train/notebook\nand https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/441470;\n\nWhat I really tried was to use -1(not onset,  not wakeup ) and 1 (when is  onset or wakeup ) as target variables to predict the value at each time point. But there is no way to confirm which one is onset or wakeup. It is more difficult for me to find other scientific methods. Maybe wait until the end of the competition to learn other modeling ideas.",
      "votes": null
    },
    {
      "id": "2514557",
      "postDate": "11/06/2023 11:38:50",
      "content": "<p>You can convert <code>onset</code> and <code>wakeup</code> variables to create <code>awake</code> variable (0 before onset and after wakeup, 1 in between).</p>",
      "rawMarkdown": "You can convert `onset` and `wakeup` variables to create `awake` variable (0 before onset and after wakeup, 1 in between).",
      "votes": null
    },
    {
      "id": "2514576",
      "postDate": "11/06/2023 11:47:42",
      "content": "<p>This requires continuous values of 1. If there are 0s in the middle of the continuous values of 1, then one onset and wakeup time period will be divided into two onset and wakeup time periods.</p>",
      "rawMarkdown": "This requires continuous values of 1. If there are 0s in the middle of the continuous values of 1, then one onset and wakeup time period will be divided into two onset and wakeup time periods.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2514557,
      "author_name": "atamazian",
      "author_url": "",
      "post_date": "11/06/2023 11:38:50",
      "content": "<p>You can convert <code>onset</code> and <code>wakeup</code> variables to create <code>awake</code> variable (0 before onset and after wakeup, 1 in between).</p>",
      "votes": null,
      "replies": [
        {
          "id": 2514576,
          "author_name": "jiumentidudu",
          "author_url": "",
          "post_date": "11/06/2023 11:47:42",
          "content": "<p>This requires continuous values of 1. If there are 0s in the middle of the continuous values of 1, then one onset and wakeup time period will be divided into two onset and wakeup time periods.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2514535": "Currently there are methods：https://www.kaggle.com/code/werus23/sleep-critical-point-train/notebook\nand https://www.kaggle.com/competitions/child-mind-institute-detect-sleep-states/discussion/441470;\n\nWhat I really tried was to use -1(not onset,  not wakeup ) and 1 (when is  onset or wakeup ) as target variables to predict the value at each time point. But there is no way to confirm which one is onset or wakeup. It is more difficult for me to find other scientific methods. Maybe wait until the end of the competition to learn other modeling ideas.",
    "2514557": "You can convert `onset` and `wakeup` variables to create `awake` variable (0 before onset and after wakeup, 1 in between).",
    "2514576": "This requires continuous values of 1. If there are 0s in the middle of the continuous values of 1, then one onset and wakeup time period will be divided into two onset and wakeup time periods."
  },
  "source": "meta"
}