{
  "id": 246551,
  "title": "Submission scoring error with up to 20 lags [SOLVED]",
  "url": "/competitions/mlb-player-digital-engagement-forecasting/discussion/246551",
  "author_name": "Ulrich G.",
  "post_date": "2021-06-15T20:29:57.955000",
  "votes": 12,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Hi kagglers, i shared <a href=\"https://www.kaggle.com/ulrich07/mlb-ann-with-lags-tf-keras?scriptVersionId=65737769\" target=\"_blank\">this notebook</a> where i used player medians and player lags (up to 3) as features. And it works perfectly ~1.47x. But when i try to add more lags up to 20, i had submission scoring error. I even tried to reduce memory in version 4, but i still have the same error. If you know what's going on, just let me know. </p>\n<p><strong>SOLVED</strong>: I change <code>LAGS = list(range(20))</code> to <code>LAGS = list(range(1,21))</code>.</p>",
  "messages": [
    {
      "id": 1350845,
      "postDate": "2021-06-15T20:29:57.957Z",
      "content": "<p>Hi kagglers, i shared <a href=\"https://www.kaggle.com/ulrich07/mlb-ann-with-lags-tf-keras?scriptVersionId=65737769\" target=\"_blank\">this notebook</a> where i used player medians and player lags (up to 3) as features. And it works perfectly ~1.47x. But when i try to add more lags up to 20, i had submission scoring error. I even tried to reduce memory in version 4, but i still have the same error. If you know what's going on, just let me know. </p>\n<p><strong>SOLVED</strong>: I change <code>LAGS = list(range(20))</code> to <code>LAGS = list(range(1,21))</code>.</p>",
      "rawMarkdown": "Hi kagglers, i shared [this notebook](https://www.kaggle.com/ulrich07/mlb-ann-with-lags-tf-keras?scriptVersionId=65737769) where i used player medians and player lags (up to 3) as features. And it works perfectly ~1.47x. But when i try to add more lags up to 20, i had submission scoring error. I even tried to reduce memory in version 4, but i still have the same error. If you know what's going on, just let me know. \n\n**SOLVED**: I change `LAGS = list(range(20))` to `LAGS = list(range(1,21))`.",
      "votes": 12
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1350845": "Hi kagglers, i shared [this notebook](https://www.kaggle.com/ulrich07/mlb-ann-with-lags-tf-keras?scriptVersionId=65737769) where i used player medians and player lags (up to 3) as features. And it works perfectly ~1.47x. But when i try to add more lags up to 20, i had submission scoring error. I even tried to reduce memory in version 4, but i still have the same error. If you know what's going on, just let me know. \n\n**SOLVED**: I change `LAGS = list(range(20))` to `LAGS = list(range(1,21))`."
  }
}