{
  "id": 93325,
  "title": "Don't do this",
  "url": "/competitions/LANL-Earthquake-Prediction/discussion/93325",
  "author_name": "",
  "post_date": "2019-05-25T19:26:59.631881300Z",
  "votes": 4,
  "comment_count": 6,
  "views": 0,
  "content": "<p>I tried Leave One Out Cross Validation, the MAE for the cross validation is 1.22, but the public leaderboard is 1.66, worse than some public kernels. This is what I call overfitting:\n<img src=\"https://storage.googleapis.com/kaggle-forum-message-attachments/536955/13296/real_vs_pred.png\" alt=\"Real vs Pred\">\nHere is a simple <a href=\"https://www.kaggle.com/felipefonte99/leave-one-out\">Kernel</a> with the idea.</p>",
  "messages": [
    {
      "id": "536955",
      "postDate": "05/25/2019 19:26:59",
      "content": "<p>I tried Leave One Out Cross Validation, the MAE for the cross validation is 1.22, but the public leaderboard is 1.66, worse than some public kernels. This is what I call overfitting:\n<img src=\"https://storage.googleapis.com/kaggle-forum-message-attachments/536955/13296/real_vs_pred.png\" alt=\"Real vs Pred\">\nHere is a simple <a href=\"https://www.kaggle.com/felipefonte99/leave-one-out\">Kernel</a> with the idea.</p>",
      "rawMarkdown": "I tried Leave One Out Cross Validation, the MAE for the cross validation is 1.22, but the public leaderboard is 1.66, worse than some public kernels. This is what I call overfitting:\n![Real vs Pred](https://storage.googleapis.com/kaggle-forum-message-attachments/536955/13296/real_vs_pred.png)\nHere is a simple [Kernel](https://www.kaggle.com/felipefonte99/leave-one-out) with the idea.",
      "votes": null
    },
    {
      "id": "537127",
      "postDate": "05/26/2019 08:51:00",
      "content": "<p>Are you only calculating MAE on predictions made out of fold? Or averaging the predictions on entire training set every fold?</p>",
      "rawMarkdown": "Are you only calculating MAE on predictions made out of fold? Or averaging the predictions on entire training set every fold?",
      "votes": null
    },
    {
      "id": "537129",
      "postDate": "05/26/2019 09:00:53",
      "content": "<p>Important warning: Leave one out and, in general, random sampling for cross validation will not work when observations are strongly correlated.  In time series there is usually strong correlation among observations near in time what implies information leak to out of folds, what causes this overfitting.</p>",
      "rawMarkdown": "Important warning: Leave one out and, in general, random sampling for cross validation will not work when observations are strongly correlated.  In time series there is usually strong correlation among observations near in time what implies information leak to out of folds, what causes this overfitting.",
      "votes": null
    },
    {
      "id": "537217",
      "postDate": "05/26/2019 13:29:15",
      "content": "<p>Isn't it disappointing when you get a great CV, send your submission with great anticipation, and then find it scores terribly? This has happened to me so many times with this competition, CV strategy will surely be key to the winning solution.</p>",
      "rawMarkdown": "Isn't it disappointing when you get a great CV, send your submission with great anticipation, and then find it scores terribly? This has happened to me so many times with this competition, CV strategy will surely be key to the winning solution.",
      "votes": null
    },
    {
      "id": "537660",
      "postDate": "05/27/2019 12:10:14",
      "content": "<p>Yes, it is disappointing, but in this specific case I was aware of the overfitting so I didn't expect a good score.</p>",
      "rawMarkdown": "Yes, it is disappointing, but in this specific case I was aware of the overfitting so I didn't expect a good score.",
      "votes": null
    },
    {
      "id": "537661",
      "postDate": "05/27/2019 12:12:22",
      "content": "<p>I couldn't agree more.</p>",
      "rawMarkdown": "I couldn't agree more.",
      "votes": null
    },
    {
      "id": "537662",
      "postDate": "05/27/2019 12:15:16",
      "content": "<p>Out of fold. Please see <a href=\"https://www.kaggle.com/felipefonte99/leave-one-out\">here</a>.</p>",
      "rawMarkdown": "Out of fold. Please see [here](https://www.kaggle.com/felipefonte99/leave-one-out).",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 537127,
      "author_name": "teeyee314",
      "author_url": "",
      "post_date": "05/26/2019 08:51:00",
      "content": "<p>Are you only calculating MAE on predictions made out of fold? Or averaging the predictions on entire training set every fold?</p>",
      "votes": null,
      "replies": [
        {
          "id": 537662,
          "author_name": "felipefonte99",
          "author_url": "",
          "post_date": "05/27/2019 12:15:16",
          "content": "<p>Out of fold. Please see <a href=\"https://www.kaggle.com/felipefonte99/leave-one-out\">here</a>.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 537129,
      "author_name": "miguelpm",
      "author_url": "",
      "post_date": "05/26/2019 09:00:53",
      "content": "<p>Important warning: Leave one out and, in general, random sampling for cross validation will not work when observations are strongly correlated.  In time series there is usually strong correlation among observations near in time what implies information leak to out of folds, what causes this overfitting.</p>",
      "votes": null,
      "replies": [
        {
          "id": 537661,
          "author_name": "felipefonte99",
          "author_url": "",
          "post_date": "05/27/2019 12:12:22",
          "content": "<p>I couldn't agree more.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 537217,
      "author_name": "bigironsphere",
      "author_url": "",
      "post_date": "05/26/2019 13:29:15",
      "content": "<p>Isn't it disappointing when you get a great CV, send your submission with great anticipation, and then find it scores terribly? This has happened to me so many times with this competition, CV strategy will surely be key to the winning solution.</p>",
      "votes": null,
      "replies": [
        {
          "id": 537660,
          "author_name": "felipefonte99",
          "author_url": "",
          "post_date": "05/27/2019 12:10:14",
          "content": "<p>Yes, it is disappointing, but in this specific case I was aware of the overfitting so I didn't expect a good score.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "536955": "I tried Leave One Out Cross Validation, the MAE for the cross validation is 1.22, but the public leaderboard is 1.66, worse than some public kernels. This is what I call overfitting:\n![Real vs Pred](https://storage.googleapis.com/kaggle-forum-message-attachments/536955/13296/real_vs_pred.png)\nHere is a simple [Kernel](https://www.kaggle.com/felipefonte99/leave-one-out) with the idea.",
    "537127": "Are you only calculating MAE on predictions made out of fold? Or averaging the predictions on entire training set every fold?",
    "537129": "Important warning: Leave one out and, in general, random sampling for cross validation will not work when observations are strongly correlated.  In time series there is usually strong correlation among observations near in time what implies information leak to out of folds, what causes this overfitting.",
    "537217": "Isn't it disappointing when you get a great CV, send your submission with great anticipation, and then find it scores terribly? This has happened to me so many times with this competition, CV strategy will surely be key to the winning solution.",
    "537660": "Yes, it is disappointing, but in this specific case I was aware of the overfitting so I didn't expect a good score.",
    "537661": "I couldn't agree more.",
    "537662": "Out of fold. Please see [here](https://www.kaggle.com/felipefonte99/leave-one-out)."
  },
  "source": "meta"
}