{
  "id": 250560,
  "title": "Lag Feature Submission Error(Threw Exception) Why?",
  "url": "/competitions/mlb-player-digital-engagement-forecasting/discussion/250560",
  "author_name": "",
  "post_date": "2021-07-03T09:50:42.921294100Z",
  "votes": null,
  "comment_count": 5,
  "views": 0,
  "content": "<p>I'm struggling with an error that I haven't been able to resolve.<br>\nI've tried several ways to fix this issue. Please help me.</p>\n<p><a href=\"https://www.kaggle.com/rautaki0127/lag-feature-submission-error-threw-exception-why?scriptVersionId=67356241\" target=\"_blank\">https://www.kaggle.com/rautaki0127/lag-feature-submission-error-threw-exception-why?scriptVersionId=67356241</a></p>",
  "messages": [
    {
      "id": "1374429",
      "postDate": "07/03/2021 09:50:42",
      "content": "<p>I'm struggling with an error that I haven't been able to resolve.<br>\nI've tried several ways to fix this issue. Please help me.</p>\n<p><a href=\"https://www.kaggle.com/rautaki0127/lag-feature-submission-error-threw-exception-why?scriptVersionId=67356241\" target=\"_blank\">https://www.kaggle.com/rautaki0127/lag-feature-submission-error-threw-exception-why?scriptVersionId=67356241</a></p>",
      "rawMarkdown": "I'm struggling with an error that I haven't been able to resolve.\nI've tried several ways to fix this issue. Please help me.\n\nhttps://www.kaggle.com/rautaki0127/lag-feature-submission-error-threw-exception-why?scriptVersionId=67356241",
      "votes": null
    },
    {
      "id": "1374569",
      "postDate": "07/03/2021 12:16:27",
      "content": "<p>You can check the way i handle lags in inference time here <a href=\"https://www.kaggle.com/ulrich07/mlb-ann-with-lags-tf-keras\" target=\"_blank\">https://www.kaggle.com/ulrich07/mlb-ann-with-lags-tf-keras</a>. Hope it helps</p>",
      "rawMarkdown": "You can check the way i handle lags in inference time here https://www.kaggle.com/ulrich07/mlb-ann-with-lags-tf-keras. Hope it helps",
      "votes": null
    },
    {
      "id": "1375350",
      "postDate": "07/04/2021 06:31:35",
      "content": "<p>Thank you for reply. Do you know why we need to change lag scripts between train and test?</p>",
      "rawMarkdown": "Thank you for reply. Do you know why we need to change lag scripts between train and test?",
      "votes": null
    },
    {
      "id": "1375525",
      "postDate": "07/04/2021 09:21:02",
      "content": "<p>Did you find any solution for the issue? I'm facing the same and stuck for a long time.<br>\n<a href=\"https://www.kaggle.com/c/mlb-player-digital-engagement-forecasting/discussion/250526\" target=\"_blank\">https://www.kaggle.com/c/mlb-player-digital-engagement-forecasting/discussion/250526</a></p>",
      "rawMarkdown": "Did you find any solution for the issue? I'm facing the same and stuck for a long time.\nhttps://www.kaggle.com/c/mlb-player-digital-engagement-forecasting/discussion/250526",
      "votes": null
    },
    {
      "id": "1376223",
      "postDate": "07/05/2021 01:15:41",
      "content": "<p>No, i have not yet find solution. Thank you for sharing. I will check.</p>",
      "rawMarkdown": "No, i have not yet find solution. Thank you for sharing. I will check.",
      "votes": null
    },
    {
      "id": "1377013",
      "postDate": "07/05/2021 14:02:35",
      "content": "<p>Two issues using lags you need to watch for that I know of.<br>\n1) test used now for save of our file uses only a few days.  Unless you connect test data to the train date your lags for that piece will only have the less than 5 days of lag.  (assuming your careful to keep each row of test data).<br>\n2) the Submission seems like its using 5/1 as first row so no gap in dates between train.  But we have no insurance that the final LB will be without gaps.</p>",
      "rawMarkdown": "Two issues using lags you need to watch for that I know of.\n1) test used now for save of our file uses only a few days.  Unless you connect test data to the train date your lags for that piece will only have the less than 5 days of lag.  (assuming your careful to keep each row of test data).\n2) the Submission seems like its using 5/1 as first row so no gap in dates between train.  But we have no insurance that the final LB will be without gaps.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1374569,
      "author_name": "ulrich07",
      "author_url": "",
      "post_date": "07/03/2021 12:16:27",
      "content": "<p>You can check the way i handle lags in inference time here <a href=\"https://www.kaggle.com/ulrich07/mlb-ann-with-lags-tf-keras\" target=\"_blank\">https://www.kaggle.com/ulrich07/mlb-ann-with-lags-tf-keras</a>. Hope it helps</p>",
      "votes": null,
      "replies": [
        {
          "id": 1375350,
          "author_name": "rautaki0127",
          "author_url": "",
          "post_date": "07/04/2021 06:31:35",
          "content": "<p>Thank you for reply. Do you know why we need to change lag scripts between train and test?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1377013,
          "author_name": "pcjimmmy",
          "author_url": "",
          "post_date": "07/05/2021 14:02:35",
          "content": "<p>Two issues using lags you need to watch for that I know of.<br>\n1) test used now for save of our file uses only a few days.  Unless you connect test data to the train date your lags for that piece will only have the less than 5 days of lag.  (assuming your careful to keep each row of test data).<br>\n2) the Submission seems like its using 5/1 as first row so no gap in dates between train.  But we have no insurance that the final LB will be without gaps.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1375525,
      "author_name": "pritommojumder",
      "author_url": "",
      "post_date": "07/04/2021 09:21:02",
      "content": "<p>Did you find any solution for the issue? I'm facing the same and stuck for a long time.<br>\n<a href=\"https://www.kaggle.com/c/mlb-player-digital-engagement-forecasting/discussion/250526\" target=\"_blank\">https://www.kaggle.com/c/mlb-player-digital-engagement-forecasting/discussion/250526</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 1376223,
          "author_name": "rautaki0127",
          "author_url": "",
          "post_date": "07/05/2021 01:15:41",
          "content": "<p>No, i have not yet find solution. Thank you for sharing. I will check.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1374429": "I'm struggling with an error that I haven't been able to resolve.\nI've tried several ways to fix this issue. Please help me.\n\nhttps://www.kaggle.com/rautaki0127/lag-feature-submission-error-threw-exception-why?scriptVersionId=67356241",
    "1374569": "You can check the way i handle lags in inference time here https://www.kaggle.com/ulrich07/mlb-ann-with-lags-tf-keras. Hope it helps",
    "1375350": "Thank you for reply. Do you know why we need to change lag scripts between train and test?",
    "1375525": "Did you find any solution for the issue? I'm facing the same and stuck for a long time.\nhttps://www.kaggle.com/c/mlb-player-digital-engagement-forecasting/discussion/250526",
    "1376223": "No, i have not yet find solution. Thank you for sharing. I will check.",
    "1377013": "Two issues using lags you need to watch for that I know of.\n1) test used now for save of our file uses only a few days.  Unless you connect test data to the train date your lags for that piece will only have the less than 5 days of lag.  (assuming your careful to keep each row of test data).\n2) the Submission seems like its using 5/1 as first row so no gap in dates between train.  But we have no insurance that the final LB will be without gaps."
  },
  "source": "meta"
}