{
  "id": 293843,
  "title": "Example code for submit time-lagged features with gresearch_crypto module",
  "url": "/competitions/g-research-crypto-forecasting/discussion/293843",
  "author_name": "",
  "post_date": "2021-12-07T09:01:00.092232900Z",
  "votes": 10,
  "comment_count": 3,
  "views": 0,
  "content": "<p>@ CompetitionHost: can you provide sample code that shows how to use the gresearch_crypto module to predict with time-lagged features.<br>\nI wanted to use \"Open\", \"High\", \"Low\" and \"Close\" as time lagged features. (To predict target at time t use feature Close at time  t-1,t-2 etc.) <br>\nI have not yet been able to identify a clear method in the description that is 100% reliable even in phase 2</p>\n<p>As a second point, it would be important for me to know which information train and supplemental_train contain in phase 2.<br>\nIs the content of train in phase 1 and 2 the same and does supplemental_train always contain the additional new data?</p>",
  "messages": [
    {
      "id": "1610483",
      "postDate": "12/07/2021 09:01:00",
      "content": "<p>@ CompetitionHost: can you provide sample code that shows how to use the gresearch_crypto module to predict with time-lagged features.<br>\nI wanted to use \"Open\", \"High\", \"Low\" and \"Close\" as time lagged features. (To predict target at time t use feature Close at time  t-1,t-2 etc.) <br>\nI have not yet been able to identify a clear method in the description that is 100% reliable even in phase 2</p>\n<p>As a second point, it would be important for me to know which information train and supplemental_train contain in phase 2.<br>\nIs the content of train in phase 1 and 2 the same and does supplemental_train always contain the additional new data?</p>",
      "rawMarkdown": "CompetitionHost: can you provide sample code that shows how to use the gresearch_crypto module to predict with time-lagged features.\nI wanted to use \"Open\", \"High\", \"Low\" and \"Close\" as time lagged features. (To predict target at time t use feature Close at time  t-1,t-2 etc.) \nI have not yet been able to identify a clear method in the description that is 100% reliable even in phase 2\n\nAs a second point, it would be important for me to know which information train and supplemental_train contain in phase 2.\nIs the content of train in phase 1 and 2 the same and does supplemental_train always contain the additional new data?",
      "votes": null
    },
    {
      "id": "1611379",
      "postDate": "12/07/2021 23:18:13",
      "content": "<p>Not sure it is the host role to provide this code. But I've shared some On-line feature engineering notebook <a href=\"https://www.kaggle.com/lucasmorin/on-line-feature-engineering\" target=\"_blank\">here</a> (also see the complete discussion <a href=\"https://www.kaggle.com/c/g-research-crypto-forecasting/discussion/293994\" target=\"_blank\">here</a>). Regarding your second point, as I understood it train contain data up to the beginning of the competition and supplemental_train will contain new data and will be updated.</p>",
      "rawMarkdown": "Not sure it is the host role to provide this code. But I've shared some On-line feature engineering notebook [here](https://www.kaggle.com/lucasmorin/on-line-feature-engineering) (also see the complete discussion [here](https://www.kaggle.com/c/g-research-crypto-forecasting/discussion/293994)). Regarding your second point, as I understood it train contain data up to the beginning of the competition and supplemental_train will contain new data and will be updated.",
      "votes": null
    },
    {
      "id": "1612177",
      "postDate": "12/08/2021 16:27:18",
      "content": "<p>Since the submissions for this competition have to be made via notebooks, I think it is the role of the host to show how we can excess past records in the gresearch_crypto module to calculate and submit lagged features. <br>\nThere are great notebooks <a href=\"https://www.kaggle.com/cstein06/tutorial-to-the-g-research-crypto-competition\" target=\"_blank\">like this</a>  with lagged features but I couldn't find any of them with the lagged features calculated in the gresearch_crypto module for submit</p>\n<p>On the second point, I also think that the supplemental_train will contain new data. <br>\nBut I'm not sure. We put a lot of time into developing the model, but at the end we have to guess what information is then available in phase 2</p>",
      "rawMarkdown": "Since the submissions for this competition have to be made via notebooks, I think it is the role of the host to show how we can excess past records in the gresearch_crypto module to calculate and submit lagged features. \nThere are great notebooks [like this](https://www.kaggle.com/cstein06/tutorial-to-the-g-research-crypto-competition)  with lagged features but I couldn't find any of them with the lagged features calculated in the gresearch_crypto module for submit\n\n\nOn the second point, I also think that the supplemental_train will contain new data. \nBut I'm not sure. We put a lot of time into developing the model, but at the end we have to guess what information is then available in phase 2",
      "votes": null
    },
    {
      "id": "1612400",
      "postDate": "12/08/2021 21:33:17",
      "content": "<p><a href=\"https://www.kaggle.com/sohier/detailed-api-introduction\" target=\"_blank\">https://www.kaggle.com/sohier/detailed-api-introduction</a> - They describe how to use the API for submissions here.  I haven't been focusing on submissions yet, so I can't answer your question directly. </p>",
      "rawMarkdown": "https://www.kaggle.com/sohier/detailed-api-introduction - They describe how to use the API for submissions here.  I haven't been focusing on submissions yet, so I can't answer your question directly.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1611379,
      "author_name": "lucasmorin",
      "author_url": "",
      "post_date": "12/07/2021 23:18:13",
      "content": "<p>Not sure it is the host role to provide this code. But I've shared some On-line feature engineering notebook <a href=\"https://www.kaggle.com/lucasmorin/on-line-feature-engineering\" target=\"_blank\">here</a> (also see the complete discussion <a href=\"https://www.kaggle.com/c/g-research-crypto-forecasting/discussion/293994\" target=\"_blank\">here</a>). Regarding your second point, as I understood it train contain data up to the beginning of the competition and supplemental_train will contain new data and will be updated.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1612177,
          "author_name": "allmendinger",
          "author_url": "",
          "post_date": "12/08/2021 16:27:18",
          "content": "<p>Since the submissions for this competition have to be made via notebooks, I think it is the role of the host to show how we can excess past records in the gresearch_crypto module to calculate and submit lagged features. <br>\nThere are great notebooks <a href=\"https://www.kaggle.com/cstein06/tutorial-to-the-g-research-crypto-competition\" target=\"_blank\">like this</a>  with lagged features but I couldn't find any of them with the lagged features calculated in the gresearch_crypto module for submit</p>\n<p>On the second point, I also think that the supplemental_train will contain new data. <br>\nBut I'm not sure. We put a lot of time into developing the model, but at the end we have to guess what information is then available in phase 2</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1612400,
          "author_name": "petersk20",
          "author_url": "",
          "post_date": "12/08/2021 21:33:17",
          "content": "<p><a href=\"https://www.kaggle.com/sohier/detailed-api-introduction\" target=\"_blank\">https://www.kaggle.com/sohier/detailed-api-introduction</a> - They describe how to use the API for submissions here.  I haven't been focusing on submissions yet, so I can't answer your question directly. </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1610483": "CompetitionHost: can you provide sample code that shows how to use the gresearch_crypto module to predict with time-lagged features.\nI wanted to use \"Open\", \"High\", \"Low\" and \"Close\" as time lagged features. (To predict target at time t use feature Close at time  t-1,t-2 etc.) \nI have not yet been able to identify a clear method in the description that is 100% reliable even in phase 2\n\nAs a second point, it would be important for me to know which information train and supplemental_train contain in phase 2.\nIs the content of train in phase 1 and 2 the same and does supplemental_train always contain the additional new data?",
    "1611379": "Not sure it is the host role to provide this code. But I've shared some On-line feature engineering notebook [here](https://www.kaggle.com/lucasmorin/on-line-feature-engineering) (also see the complete discussion [here](https://www.kaggle.com/c/g-research-crypto-forecasting/discussion/293994)). Regarding your second point, as I understood it train contain data up to the beginning of the competition and supplemental_train will contain new data and will be updated.",
    "1612177": "Since the submissions for this competition have to be made via notebooks, I think it is the role of the host to show how we can excess past records in the gresearch_crypto module to calculate and submit lagged features. \nThere are great notebooks [like this](https://www.kaggle.com/cstein06/tutorial-to-the-g-research-crypto-competition)  with lagged features but I couldn't find any of them with the lagged features calculated in the gresearch_crypto module for submit\n\n\nOn the second point, I also think that the supplemental_train will contain new data. \nBut I'm not sure. We put a lot of time into developing the model, but at the end we have to guess what information is then available in phase 2",
    "1612400": "https://www.kaggle.com/sohier/detailed-api-introduction - They describe how to use the API for submissions here.  I haven't been focusing on submissions yet, so I can't answer your question directly."
  },
  "source": "meta"
}