{
  "id": 298140,
  "title": "Workflow Question",
  "url": "/competitions/g-research-crypto-forecasting/discussion/298140",
  "author_name": "",
  "post_date": "2022-01-01T01:04:08.293926400Z",
  "votes": 4,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Hello, for anyone using **Colab **or a <strong>Local Environment</strong>. rather than the <strong>Kaggle Notebook</strong>, what's is usually the best workflow to submit predictions because this competition uses an API to generate predictions. I thought that this could work:</p>\n<ul>\n<li>Train a model using a Local or External environment.</li>\n<li>Save the trained model and load it to a Kaggle dataset.</li>\n<li>Use the trained model to complete Inference and submit predictions.</li>\n</ul>\n<p>Please let me know if this makes any sense or there is a better option, Thanks.</p>",
  "messages": [
    {
      "id": "1634663",
      "postDate": "01/01/2022 01:04:08",
      "content": "<p>Hello, for anyone using **Colab **or a <strong>Local Environment</strong>. rather than the <strong>Kaggle Notebook</strong>, what's is usually the best workflow to submit predictions because this competition uses an API to generate predictions. I thought that this could work:</p>\n<ul>\n<li>Train a model using a Local or External environment.</li>\n<li>Save the trained model and load it to a Kaggle dataset.</li>\n<li>Use the trained model to complete Inference and submit predictions.</li>\n</ul>\n<p>Please let me know if this makes any sense or there is a better option, Thanks.</p>",
      "rawMarkdown": "Hello, for anyone using **Colab **or a **Local Environment**. rather than the **Kaggle Notebook**, what's is usually the best workflow to submit predictions because this competition uses an API to generate predictions. I thought that this could work:\n- Train a model using a Local or External environment.\n- Save the trained model and load it to a Kaggle dataset.\n- Use the trained model to complete Inference and submit predictions.\n\nPlease let me know if this makes any sense or there is a better option, Thanks.",
      "votes": null
    },
    {
      "id": "1634932",
      "postDate": "01/01/2022 10:16:49",
      "content": "<p>One problem with this competition is how to deal with the additional data: basically we will get additional data that correspond to what happened during the time of the competition. If you train a model externally and submit you will miss this additional data. One option was to build the dataset and train the model last minute so that you can have most of this additional data. I believe this might get tricky, especially if you build moving average features. I think the most straightforward solution is to train the model in your submission. </p>",
      "rawMarkdown": "One problem with this competition is how to deal with the additional data: basically we will get additional data that correspond to what happened during the time of the competition. If you train a model externally and submit you will miss this additional data. One option was to build the dataset and train the model last minute so that you can have most of this additional data. I believe this might get tricky, especially if you build moving average features. I think the most straightforward solution is to train the model in your submission.",
      "votes": null
    },
    {
      "id": "1635221",
      "postDate": "01/01/2022 15:47:50",
      "content": "<p>The great thing about this competition is that we get two submissions, so both routes could be employed.</p>",
      "rawMarkdown": "The great thing about this competition is that we get two submissions, so both routes could be employed.",
      "votes": null
    },
    {
      "id": "1635320",
      "postDate": "01/01/2022 17:01:57",
      "content": "<p>Thanks for the comments, yes I will basically have to update the model every time they release new training data, I can solve this by connecting my Colab to the Kaggle API, the only problem I will need to update my Kaggle dataset every time but this can also be done with Colab, after this I will need to submit using a Kaggle Notebook. I will implement this and send an update.</p>\n<p>Let me know if you think there is something better.</p>\n<p>Thanks.</p>",
      "rawMarkdown": "Thanks for the comments, yes I will basically have to update the model every time they release new training data, I can solve this by connecting my Colab to the Kaggle API, the only problem I will need to update my Kaggle dataset every time but this can also be done with Colab, after this I will need to submit using a Kaggle Notebook. I will implement this and send an update.\n\nLet me know if you think there is something better.\n\nThanks.",
      "votes": null
    },
    {
      "id": "1651709",
      "postDate": "01/16/2022 02:00:56",
      "content": "<p><a href=\"https://www.kaggle.com/cv13j0\" target=\"_blank\">@cv13j0</a> Be careful about your final submission. I'm pretty sure it can only access a version of a dataset that was made before the submission deadline. </p>\n<p>We could also use current data to pretrain models to save time and continue training them with new data in our final notebook.</p>",
      "rawMarkdown": "cv13j0 Be careful about your final submission. I'm pretty sure it can only access a version of a dataset that was made before the submission deadline. \n\nWe could also use current data to pretrain models to save time and continue training them with new data in our final notebook.",
      "votes": null
    },
    {
      "id": "1651730",
      "postDate": "01/16/2022 02:50:46",
      "content": "<p>Thanks, <a href=\"https://www.kaggle.com/chrisrichardmiles\" target=\"_blank\">@chrisrichardmiles</a>; I will consider this.</p>",
      "rawMarkdown": "Thanks, @chrisrichardmiles; I will consider this.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1634932,
      "author_name": "lucasmorin",
      "author_url": "",
      "post_date": "01/01/2022 10:16:49",
      "content": "<p>One problem with this competition is how to deal with the additional data: basically we will get additional data that correspond to what happened during the time of the competition. If you train a model externally and submit you will miss this additional data. One option was to build the dataset and train the model last minute so that you can have most of this additional data. I believe this might get tricky, especially if you build moving average features. I think the most straightforward solution is to train the model in your submission. </p>",
      "votes": null,
      "replies": [
        {
          "id": 1635221,
          "author_name": "petersk20",
          "author_url": "",
          "post_date": "01/01/2022 15:47:50",
          "content": "<p>The great thing about this competition is that we get two submissions, so both routes could be employed.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1635320,
          "author_name": "cv13j0",
          "author_url": "",
          "post_date": "01/01/2022 17:01:57",
          "content": "<p>Thanks for the comments, yes I will basically have to update the model every time they release new training data, I can solve this by connecting my Colab to the Kaggle API, the only problem I will need to update my Kaggle dataset every time but this can also be done with Colab, after this I will need to submit using a Kaggle Notebook. I will implement this and send an update.</p>\n<p>Let me know if you think there is something better.</p>\n<p>Thanks.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1651709,
          "author_name": "chrisrichardmiles",
          "author_url": "",
          "post_date": "01/16/2022 02:00:56",
          "content": "<p><a href=\"https://www.kaggle.com/cv13j0\" target=\"_blank\">@cv13j0</a> Be careful about your final submission. I'm pretty sure it can only access a version of a dataset that was made before the submission deadline. </p>\n<p>We could also use current data to pretrain models to save time and continue training them with new data in our final notebook.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1651730,
          "author_name": "cv13j0",
          "author_url": "",
          "post_date": "01/16/2022 02:50:46",
          "content": "<p>Thanks, <a href=\"https://www.kaggle.com/chrisrichardmiles\" target=\"_blank\">@chrisrichardmiles</a>; I will consider this.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1634663": "Hello, for anyone using **Colab **or a **Local Environment**. rather than the **Kaggle Notebook**, what's is usually the best workflow to submit predictions because this competition uses an API to generate predictions. I thought that this could work:\n- Train a model using a Local or External environment.\n- Save the trained model and load it to a Kaggle dataset.\n- Use the trained model to complete Inference and submit predictions.\n\nPlease let me know if this makes any sense or there is a better option, Thanks.",
    "1634932": "One problem with this competition is how to deal with the additional data: basically we will get additional data that correspond to what happened during the time of the competition. If you train a model externally and submit you will miss this additional data. One option was to build the dataset and train the model last minute so that you can have most of this additional data. I believe this might get tricky, especially if you build moving average features. I think the most straightforward solution is to train the model in your submission.",
    "1635221": "The great thing about this competition is that we get two submissions, so both routes could be employed.",
    "1635320": "Thanks for the comments, yes I will basically have to update the model every time they release new training data, I can solve this by connecting my Colab to the Kaggle API, the only problem I will need to update my Kaggle dataset every time but this can also be done with Colab, after this I will need to submit using a Kaggle Notebook. I will implement this and send an update.\n\nLet me know if you think there is something better.\n\nThanks.",
    "1651709": "cv13j0 Be careful about your final submission. I'm pretty sure it can only access a version of a dataset that was made before the submission deadline. \n\nWe could also use current data to pretrain models to save time and continue training them with new data in our final notebook.",
    "1651730": "Thanks, @chrisrichardmiles; I will consider this."
  },
  "source": "meta"
}