{
  "id": 480072,
  "title": "Question about Target Variable",
  "url": "/competitions/crypto-bull-prediction-challenge/discussion/480072",
  "author_name": "",
  "post_date": "2024-02-27T04:07:41.309213700Z",
  "votes": null,
  "comment_count": 4,
  "views": 0,
  "content": "<p>What does the target variable represent? Increase or decrease in price of the next hour?</p>",
  "messages": [
    {
      "id": "2670669",
      "postDate": "02/27/2024 04:07:41",
      "content": "<p>What does the target variable represent? Increase or decrease in price of the next hour?</p>",
      "rawMarkdown": "What does the target variable represent? Increase or decrease in price of the next hour?",
      "votes": null
    },
    {
      "id": "2671243",
      "postDate": "02/27/2024 12:05:14",
      "content": "<p>Hey Harry!</p>\n<p>Target is an increase of the <code>price</code> over the <code>horizon</code> above the <code>threshold</code>.</p>\n<p>We've added an explanation in the evaluation section of the <a href=\"https://www.kaggle.com/competitions/crypto-bull-prediction-challenge/overview\" target=\"_blank\">overview</a>. </p>",
      "rawMarkdown": "Hey Harry!\n\nTarget is an increase of the `price` over the `horizon` above the `threshold`.\n\nWe've added an explanation in the evaluation section of the [overview](https://www.kaggle.com/competitions/crypto-bull-prediction-challenge/overview).",
      "votes": null
    },
    {
      "id": "2793195",
      "postDate": "05/04/2024 15:44:07",
      "content": "<p>The predicted value indicating an increase (1) or decrease (0) in the cryptocurrency price.</p>",
      "rawMarkdown": "The predicted value indicating an increase (1) or decrease (0) in the cryptocurrency price.",
      "votes": null
    },
    {
      "id": "2831136",
      "postDate": "05/23/2024 14:25:04",
      "content": "<p>The explanation is clear that the target is calculated as: data[price].pct_change(horizon).shift(-horizon).fillna(0) &gt; threshold, where price, horizon and threshold are parameters set constant for this competition.</p>\n<p>Where can we find the values of the constants price, horizon and threshold? Or is that intentionally a secret?</p>",
      "rawMarkdown": "The explanation is clear that the target is calculated as: data[price].pct_change(horizon).shift(-horizon).fillna(0) > threshold, where price, horizon and threshold are parameters set constant for this competition.\n\nWhere can we find the values of the constants price, horizon and threshold? Or is that intentionally a secret?",
      "votes": null
    },
    {
      "id": "2948487",
      "postDate": "08/06/2024 00:09:54",
      "content": "<p>Hi, I published a notebook explaining those parameters. Feel free to check it out in the code section</p>",
      "rawMarkdown": "Hi, I published a notebook explaining those parameters. Feel free to check it out in the code section",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2671243,
      "author_name": "romanbutov",
      "author_url": "",
      "post_date": "02/27/2024 12:05:14",
      "content": "<p>Hey Harry!</p>\n<p>Target is an increase of the <code>price</code> over the <code>horizon</code> above the <code>threshold</code>.</p>\n<p>We've added an explanation in the evaluation section of the <a href=\"https://www.kaggle.com/competitions/crypto-bull-prediction-challenge/overview\" target=\"_blank\">overview</a>. </p>",
      "votes": null,
      "replies": [
        {
          "id": 2831136,
          "author_name": "florisroos",
          "author_url": "",
          "post_date": "05/23/2024 14:25:04",
          "content": "<p>The explanation is clear that the target is calculated as: data[price].pct_change(horizon).shift(-horizon).fillna(0) &gt; threshold, where price, horizon and threshold are parameters set constant for this competition.</p>\n<p>Where can we find the values of the constants price, horizon and threshold? Or is that intentionally a secret?</p>",
          "votes": null,
          "replies": [
            {
              "id": 2948487,
              "author_name": "d4nilz",
              "author_url": "",
              "post_date": "08/06/2024 00:09:54",
              "content": "<p>Hi, I published a notebook explaining those parameters. Feel free to check it out in the code section</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2793195,
      "author_name": "freeexotic",
      "author_url": "",
      "post_date": "05/04/2024 15:44:07",
      "content": "<p>The predicted value indicating an increase (1) or decrease (0) in the cryptocurrency price.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2670669": "What does the target variable represent? Increase or decrease in price of the next hour?",
    "2671243": "Hey Harry!\n\nTarget is an increase of the `price` over the `horizon` above the `threshold`.\n\nWe've added an explanation in the evaluation section of the [overview](https://www.kaggle.com/competitions/crypto-bull-prediction-challenge/overview).",
    "2793195": "The predicted value indicating an increase (1) or decrease (0) in the cryptocurrency price.",
    "2831136": "The explanation is clear that the target is calculated as: data[price].pct_change(horizon).shift(-horizon).fillna(0) > threshold, where price, horizon and threshold are parameters set constant for this competition.\n\nWhere can we find the values of the constants price, horizon and threshold? Or is that intentionally a secret?",
    "2948487": "Hi, I published a notebook explaining those parameters. Feel free to check it out in the code section"
  },
  "source": "meta"
}