{
  "id": 357695,
  "title": "🔥 Best CV-LB results 🔥",
  "url": "/competitions/g2net-detecting-continuous-gravitational-waves/discussion/357695",
  "author_name": "Mark Baushenko",
  "post_date": "2022-10-05T09:39:03.657000",
  "votes": 17,
  "comment_count": 20,
  "views": 0,
  "content": "<p>Let's share CV-LB pairs in this thread.</p>",
  "messages": [
    {
      "id": 1972704,
      "postDate": "2022-10-05T09:39:03.657Z",
      "content": "<p>Let's share CV-LB pairs in this thread.</p>",
      "rawMarkdown": "Let's share CV-LB pairs in this thread.",
      "votes": 17
    },
    {
      "id": 2007848,
      "postDate": "2022-10-28T14:41:54.553Z",
      "content": "<pre><code>CV - 0.751 (5 FOLD) (only comp data)\nLB - 0.706\n</code></pre>",
      "rawMarkdown": "\n```\nCV - 0.751 (5 FOLD) (only comp data)\nLB - 0.706\n```",
      "votes": 5,
      "replies": [
        {
          "id": 2009150,
          "postDate": "2022-10-29T17:32:17.143Z",
          "content": "<p>Wow, <a href=\"https://www.kaggle.com/drhabib\" target=\"_blank\">@drhabib</a> . Your CV-LB relationship looks much better than mine. My cv is always 0.8+, but lb(5-fold) still around 0.7. </p>",
          "rawMarkdown": "Wow, @drhabib . Your CV-LB relationship looks much better than mine. My cv is always 0.8+, but lb(5-fold) still around 0.7. ",
          "votes": 1
        },
        {
          "id": 2009301,
          "postDate": "2022-10-29T21:19:16.033Z",
          "content": "<p>Are you doing Augs ? Without <code>augs</code> the gap is bigger for me …</p>",
          "rawMarkdown": "Are you doing Augs ? Without `augs` the gap is bigger for me ...",
          "votes": 3
        },
        {
          "id": 2010561,
          "postDate": "2022-10-30T21:14:16.727Z",
          "rawMarkdown": "",
          "isDeleted": true
        },
        {
          "id": 2013684,
          "postDate": "2022-11-02T04:37:48.923Z",
          "content": "<p>After running some experiments .. I think the biggest challenge of this competition will be to build a proper validation set …</p>",
          "rawMarkdown": "After running some experiments .. I think the biggest challenge of this competition will be to build a proper validation set ...",
          "votes": 2
        },
        {
          "id": 2017677,
          "postDate": "2022-11-05T04:57:08.037Z",
          "content": "<p><a href=\"https://www.kaggle.com/drhabib\" target=\"_blank\">@drhabib</a> I totally agree with you.🤝</p>",
          "rawMarkdown": "@drhabib I totally agree with you.🤝",
          "votes": 3
        }
      ]
    },
    {
      "id": 2009588,
      "postDate": "2022-10-30T06:36:29.147Z",
      "content": "<p>CV - 0.789 (5 fold)<br>\nLB - 0.690</p>\n<p>--- updated 11/1</p>\n<p>CV - 0.829 (5 fold)<br>\nLB - 0.714</p>\n<p>for now, there's usually 0.1 gap between CV &amp; LB on my experiments.</p>",
      "rawMarkdown": "CV - 0.789 (5 fold)\nLB - 0.690\n\n--- updated 11/1\n\nCV - 0.829 (5 fold)\nLB - 0.714\n\nfor now, there's usually 0.1 gap between CV & LB on my experiments.",
      "votes": 4,
      "replies": [
        {
          "id": 2019912,
          "postDate": "2022-11-07T04:27:28.923Z",
          "content": "<p>My results are similar to yours, but cv and lb don't always correlate…..</p>",
          "rawMarkdown": "My results are similar to yours, but cv and lb don't always correlate.....",
          "votes": 1
        },
        {
          "id": 2020318,
          "postDate": "2022-11-07T10:56:38.963Z",
          "content": "<p>mine also starts to negatively correlate too :(</p>\n<ul>\n<li>single model</li>\n</ul>\n<p>cv 0.829 lb 0.714<br>\ncv 0.845 lb 0.706<br>\ncv 0.852 lb 0.701</p>\n<ul>\n<li>ensemble</li>\n</ul>\n<p>cv 0.862 lb 0.721<br>\ncv 0.868 lb 0.715</p>\n<p>I guess It's not a meaningful difference (0.00x) in the aspect of CV &amp; LB, but need to build a robust validation set and take more time to probe the test set.</p>",
          "rawMarkdown": "mine also starts to negatively correlate too :(\n\n* single model\n\ncv 0.829 lb 0.714\ncv 0.845 lb 0.706\ncv 0.852 lb 0.701\n\n* ensemble\n\ncv 0.862 lb 0.721\ncv 0.868 lb 0.715\n\nI guess It's not a meaningful difference (0.00x) in the aspect of CV & LB, but need to build a robust validation set and take more time to probe the test set.",
          "votes": 2
        },
        {
          "id": 2020366,
          "postDate": "2022-11-07T12:01:40.897Z",
          "content": "<p><a href=\"https://www.kaggle.com/hanzhou0315\" target=\"_blank\">@hanzhou0315</a> , <a href=\"https://www.kaggle.com/kozistr\" target=\"_blank\">@kozistr</a> may I ask if your reported CV scores are from evaluating the kaggle train set?</p>\n<p>Asking because otherwise it's not possible to do comparisons. Score obtained on a generated dataset will depend not only on model performance but also on the distribution of depths chosen.</p>\n<p>I don't have the exact numbers right now but I can only get AUC ~ 0.77-0.78 for kaggle train set (without using it for train at all), which translates into ~ 0.68 LB in the best case.<br>\nFor my CV value itself, it depends completely on my own generated data, so it's not very meaningful for other people. But it's high (&gt;0.90) if I choose to include samples with lower depths.</p>",
          "rawMarkdown": "@hanzhou0315 , @kozistr may I ask if your reported CV scores are from evaluating the kaggle train set?\n\nAsking because otherwise it's not possible to do comparisons. Score obtained on a generated dataset will depend not only on model performance but also on the distribution of depths chosen.\n\nI don't have the exact numbers right now but I can only get AUC ~ 0.77-0.78 for kaggle train set (without using it for train at all), which translates into ~ 0.68 LB in the best case.\nFor my CV value itself, it depends completely on my own generated data, so it's not very meaningful for other people. But it's high (>0.90) if I choose to include samples with lower depths.",
          "votes": 1
        },
        {
          "id": 2020372,
          "postDate": "2022-11-07T12:14:31.473Z",
          "content": "<p><a href=\"https://www.kaggle.com/kozistr\" target=\"_blank\">@kozistr</a> I'm in the same situation as you.<br>\ncv: 0.838 lb:0.712<br>\ncv:0. 842 lb: 0.689<br>\nI agree with you，a robust validation set is very important.</p>",
          "rawMarkdown": "@kozistr I'm in the same situation as you.\ncv: 0.838 lb:0.712\ncv:0. 842 lb: 0.689\nI agree with you，a robust validation set is very important.",
          "votes": 2
        },
        {
          "id": 2020373,
          "postDate": "2022-11-07T12:15:38.487Z",
          "content": "<p><a href=\"https://www.kaggle.com/darkbitur\" target=\"_blank\">@darkbitur</a>  yes， it's on the kaggle train set.</p>",
          "rawMarkdown": "@darkbitur  yes， it's on the kaggle train set."
        }
      ]
    },
    {
      "id": 2032928,
      "postDate": "2022-11-16T22:17:57.983Z",
      "content": "<p>CV 0.74<br>\nLB: 0.72</p>",
      "rawMarkdown": "CV 0.74\nLB: 0.72",
      "votes": 1
    },
    {
      "id": 2020414,
      "postDate": "2022-11-07T13:06:33.187Z",
      "content": "<p>CV: 0.7806 (on given train set)<br>\nLB: 0.660</p>\n<p>I'm using generated data. Also, I didn't start using CV until pretty late and so far I've been unable to reach my max LB of 0.677 which was without CV.</p>",
      "rawMarkdown": "CV: 0.7806 (on given train set)\nLB: 0.660\n\nI'm using generated data. Also, I didn't start using CV until pretty late and so far I've been unable to reach my max LB of 0.677 which was without CV.",
      "votes": 1
    },
    {
      "id": 2014872,
      "postDate": "2022-11-02T23:37:47.337Z",
      "content": "<p>From same experiment (tf_efficientnet_b5_ns, 15 epochs, stratifiedkfold 5 folds):</p>\n<ul>\n<li><p>best loss model<br>\nCV: 0.7633 -&gt; LB: 0.642</p></li>\n<li><p>best score model<br>\nCV: 0.7803 -&gt; LB: 0.644</p></li>\n<li><p>last epoch model<br>\nCV: 0.7481 -&gt; LB: 0.647</p></li>\n</ul>\n<p>Both the loss value and the auc of the validation vary greatly from epoch to epoch, but it doesn't seem to be a meaningful variation.</p>",
      "rawMarkdown": "From same experiment (tf_efficientnet_b5_ns, 15 epochs, stratifiedkfold 5 folds):\n\n- best loss model\nCV: 0.7633 -> LB: 0.642\n\n- best score model\nCV: 0.7803 -> LB: 0.644\n\n- last epoch model\nCV: 0.7481 -> LB: 0.647\n\nBoth the loss value and the auc of the validation vary greatly from epoch to epoch, but it doesn't seem to be a meaningful variation.",
      "votes": 1
    },
    {
      "id": 2005384,
      "postDate": "2022-10-27T00:49:16.120Z",
      "content": "<p>CV 0.67825 (5 stratified folds) - LB 0.558<br>\nI was also able to get CV 0.71 with the same folds (by changing the random seed) and I got a slightly worse LB score</p>",
      "rawMarkdown": "CV 0.67825 (5 stratified folds) - LB 0.558\nI was also able to get CV 0.71 with the same folds (by changing the random seed) and I got a slightly worse LB score",
      "votes": 1
    },
    {
      "id": 2003856,
      "postDate": "2022-10-25T20:37:11.603Z",
      "content": "<p>train_acc=0.75 CV=0.408 LB=0.531. I think there is something wrong with my code.😂😂</p>",
      "rawMarkdown": "train_acc=0.75 CV=0.408 LB=0.531. I think there is something wrong with my code.😂😂",
      "votes": 1
    },
    {
      "id": 2019877,
      "postDate": "2022-11-07T03:53:46.650Z",
      "content": "<p>single model<br>\nCV: 0.82x <br>\nLB: 0.712</p>\n<hr>\n<p>It looks like the gap between cv and lb is large.<br>\nand cv and lb are not always positively correlated……</p>",
      "rawMarkdown": "single model\nCV: 0.82x \nLB: 0.712\n\n--------------------------------------------------\nIt looks like the gap between cv and lb is large.\nand cv and lb are not always positively correlated......",
      "votes": 2
    },
    {
      "id": 2072234,
      "postDate": "2022-12-21T22:02:02.050Z",
      "content": "<p>CV0.8 +vs LB:0.700<br>\nBut is not relevant since we have our own datasets for training  :) i have one dataset with high SNR :CV is 0.9 and LB 0.5-0.6</p>",
      "rawMarkdown": "CV0.8 +vs LB:0.700\nBut is not relevant since we have our own datasets for training  :) i have one dataset with high SNR :CV is 0.9 and LB 0.5-0.6"
    },
    {
      "id": 2007857,
      "postDate": "2022-10-28T14:48:47.293Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 2007848,
      "author_name": "DrHB",
      "author_url": "",
      "post_date": "2022-10-28T14:41:54.553000",
      "content": "<pre><code>CV - 0.751 (5 FOLD) (only comp data)\nLB - 0.706\n</code></pre>",
      "votes": 5,
      "replies": [
        {
          "id": 2009150,
          "author_name": "ForcewithMe",
          "author_url": "",
          "post_date": "2022-10-29T17:32:17.143000",
          "content": "<p>Wow, <a href=\"https://www.kaggle.com/drhabib\" target=\"_blank\">@drhabib</a> . Your CV-LB relationship looks much better than mine. My cv is always 0.8+, but lb(5-fold) still around 0.7. </p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 2009301,
          "author_name": "DrHB",
          "author_url": "",
          "post_date": "2022-10-29T21:19:16.033000",
          "content": "<p>Are you doing Augs ? Without <code>augs</code> the gap is bigger for me …</p>",
          "votes": 3,
          "replies": []
        },
        {
          "id": 2010561,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-10-30T21:14:16.727000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 2013684,
          "author_name": "DrHB",
          "author_url": "",
          "post_date": "2022-11-02T04:37:48.923000",
          "content": "<p>After running some experiments .. I think the biggest challenge of this competition will be to build a proper validation set …</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 2017677,
          "author_name": "ForcewithMe",
          "author_url": "",
          "post_date": "2022-11-05T04:57:08.037000",
          "content": "<p><a href=\"https://www.kaggle.com/drhabib\" target=\"_blank\">@drhabib</a> I totally agree with you.🤝</p>",
          "votes": 3,
          "replies": []
        }
      ]
    },
    {
      "id": 2009588,
      "author_name": "HyeongChan Kim",
      "author_url": "",
      "post_date": "2022-10-30T06:36:29.147000",
      "content": "<p>CV - 0.789 (5 fold)<br>\nLB - 0.690</p>\n<p>--- updated 11/1</p>\n<p>CV - 0.829 (5 fold)<br>\nLB - 0.714</p>\n<p>for now, there's usually 0.1 gap between CV &amp; LB on my experiments.</p>",
      "votes": 4,
      "replies": [
        {
          "id": 2019912,
          "author_name": "zh",
          "author_url": "",
          "post_date": "2022-11-07T04:27:28.923000",
          "content": "<p>My results are similar to yours, but cv and lb don't always correlate…..</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 2020318,
          "author_name": "HyeongChan Kim",
          "author_url": "",
          "post_date": "2022-11-07T10:56:38.963000",
          "content": "<p>mine also starts to negatively correlate too :(</p>\n<ul>\n<li>single model</li>\n</ul>\n<p>cv 0.829 lb 0.714<br>\ncv 0.845 lb 0.706<br>\ncv 0.852 lb 0.701</p>\n<ul>\n<li>ensemble</li>\n</ul>\n<p>cv 0.862 lb 0.721<br>\ncv 0.868 lb 0.715</p>\n<p>I guess It's not a meaningful difference (0.00x) in the aspect of CV &amp; LB, but need to build a robust validation set and take more time to probe the test set.</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 2020366,
          "author_name": "Victor Gonzalez",
          "author_url": "",
          "post_date": "2022-11-07T12:01:40.897000",
          "content": "<p><a href=\"https://www.kaggle.com/hanzhou0315\" target=\"_blank\">@hanzhou0315</a> , <a href=\"https://www.kaggle.com/kozistr\" target=\"_blank\">@kozistr</a> may I ask if your reported CV scores are from evaluating the kaggle train set?</p>\n<p>Asking because otherwise it's not possible to do comparisons. Score obtained on a generated dataset will depend not only on model performance but also on the distribution of depths chosen.</p>\n<p>I don't have the exact numbers right now but I can only get AUC ~ 0.77-0.78 for kaggle train set (without using it for train at all), which translates into ~ 0.68 LB in the best case.<br>\nFor my CV value itself, it depends completely on my own generated data, so it's not very meaningful for other people. But it's high (&gt;0.90) if I choose to include samples with lower depths.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 2020372,
          "author_name": "zh",
          "author_url": "",
          "post_date": "2022-11-07T12:14:31.473000",
          "content": "<p><a href=\"https://www.kaggle.com/kozistr\" target=\"_blank\">@kozistr</a> I'm in the same situation as you.<br>\ncv: 0.838 lb:0.712<br>\ncv:0. 842 lb: 0.689<br>\nI agree with you，a robust validation set is very important.</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 2020373,
          "author_name": "zh",
          "author_url": "",
          "post_date": "2022-11-07T12:15:38.487000",
          "content": "<p><a href=\"https://www.kaggle.com/darkbitur\" target=\"_blank\">@darkbitur</a>  yes， it's on the kaggle train set.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2032928,
      "author_name": "arutema47",
      "author_url": "",
      "post_date": "2022-11-16T22:17:57.983000",
      "content": "<p>CV 0.74<br>\nLB: 0.72</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2020414,
      "author_name": "Will Rice",
      "author_url": "",
      "post_date": "2022-11-07T13:06:33.187000",
      "content": "<p>CV: 0.7806 (on given train set)<br>\nLB: 0.660</p>\n<p>I'm using generated data. Also, I didn't start using CV until pretty late and so far I've been unable to reach my max LB of 0.677 which was without CV.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2014872,
      "author_name": "YYama",
      "author_url": "",
      "post_date": "2022-11-02T23:37:47.337000",
      "content": "<p>From same experiment (tf_efficientnet_b5_ns, 15 epochs, stratifiedkfold 5 folds):</p>\n<ul>\n<li><p>best loss model<br>\nCV: 0.7633 -&gt; LB: 0.642</p></li>\n<li><p>best score model<br>\nCV: 0.7803 -&gt; LB: 0.644</p></li>\n<li><p>last epoch model<br>\nCV: 0.7481 -&gt; LB: 0.647</p></li>\n</ul>\n<p>Both the loss value and the auc of the validation vary greatly from epoch to epoch, but it doesn't seem to be a meaningful variation.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2005384,
      "author_name": "Firas Baba",
      "author_url": "",
      "post_date": "2022-10-27T00:49:16.120000",
      "content": "<p>CV 0.67825 (5 stratified folds) - LB 0.558<br>\nI was also able to get CV 0.71 with the same folds (by changing the random seed) and I got a slightly worse LB score</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2003856,
      "author_name": "yoyobar",
      "author_url": "",
      "post_date": "2022-10-25T20:37:11.603000",
      "content": "<p>train_acc=0.75 CV=0.408 LB=0.531. I think there is something wrong with my code.😂😂</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2019877,
      "author_name": "zh",
      "author_url": "",
      "post_date": "2022-11-07T03:53:46.650000",
      "content": "<p>single model<br>\nCV: 0.82x <br>\nLB: 0.712</p>\n<hr>\n<p>It looks like the gap between cv and lb is large.<br>\nand cv and lb are not always positively correlated……</p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 2072234,
      "author_name": "George Chirita",
      "author_url": "",
      "post_date": "2022-12-21T22:02:02.050000",
      "content": "<p>CV0.8 +vs LB:0.700<br>\nBut is not relevant since we have our own datasets for training  :) i have one dataset with high SNR :CV is 0.9 and LB 0.5-0.6</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2007857,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-10-28T14:48:47.293000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1972704": "Let's share CV-LB pairs in this thread.",
    "2007848": "\n```\nCV - 0.751 (5 FOLD) (only comp data)\nLB - 0.706\n```",
    "2009588": "CV - 0.789 (5 fold)\nLB - 0.690\n\n--- updated 11/1\n\nCV - 0.829 (5 fold)\nLB - 0.714\n\nfor now, there's usually 0.1 gap between CV & LB on my experiments.",
    "2032928": "CV 0.74\nLB: 0.72",
    "2020414": "CV: 0.7806 (on given train set)\nLB: 0.660\n\nI'm using generated data. Also, I didn't start using CV until pretty late and so far I've been unable to reach my max LB of 0.677 which was without CV.",
    "2014872": "From same experiment (tf_efficientnet_b5_ns, 15 epochs, stratifiedkfold 5 folds):\n\n- best loss model\nCV: 0.7633 -> LB: 0.642\n\n- best score model\nCV: 0.7803 -> LB: 0.644\n\n- last epoch model\nCV: 0.7481 -> LB: 0.647\n\nBoth the loss value and the auc of the validation vary greatly from epoch to epoch, but it doesn't seem to be a meaningful variation.",
    "2005384": "CV 0.67825 (5 stratified folds) - LB 0.558\nI was also able to get CV 0.71 with the same folds (by changing the random seed) and I got a slightly worse LB score",
    "2003856": "train_acc=0.75 CV=0.408 LB=0.531. I think there is something wrong with my code.😂😂",
    "2019877": "single model\nCV: 0.82x \nLB: 0.712\n\n--------------------------------------------------\nIt looks like the gap between cv and lb is large.\nand cv and lb are not always positively correlated......",
    "2072234": "CV0.8 +vs LB:0.700\nBut is not relevant since we have our own datasets for training  :) i have one dataset with high SNR :CV is 0.9 and LB 0.5-0.6",
    "2007857": ""
  }
}