{
  "id": 232651,
  "title": "CV vs Public LB",
  "url": "/competitions/birdclef-2021/discussion/232651",
  "author_name": "",
  "post_date": "2021-04-14T17:25:50.585036100Z",
  "votes": 14,
  "comment_count": 17,
  "views": 0,
  "content": "<p>Hi All,</p>\n<p>wanted to check how your CV  compares with the public LB?<br>\nAre you seeing a good correlation? as we have limited submissions in this, would be helpful if you can share what you are seeing…</p>\n<p>I have not done many experiments and submission -- but for me the CV score and public LB has good correlation in the ones I have.</p>\n<p>Hopefully, this means we may trust our CV -- pls do share if anyone notices anything different in your experiments </p>\n<p>Thanks!</p>",
  "messages": [
    {
      "id": "1273829",
      "postDate": "04/14/2021 17:25:50",
      "content": "<p>Hi All,</p>\n<p>wanted to check how your CV  compares with the public LB?<br>\nAre you seeing a good correlation? as we have limited submissions in this, would be helpful if you can share what you are seeing…</p>\n<p>I have not done many experiments and submission -- but for me the CV score and public LB has good correlation in the ones I have.</p>\n<p>Hopefully, this means we may trust our CV -- pls do share if anyone notices anything different in your experiments </p>\n<p>Thanks!</p>",
      "rawMarkdown": "Hi All,\n\nwanted to check how your CV  compares with the public LB?\nAre you seeing a good correlation? as we have limited submissions in this, would be helpful if you can share what you are seeing...\n\nI have not done many experiments and submission -- but for me the CV score and public LB has good correlation in the ones I have.\n\nHopefully, this means we may trust our CV -- pls do share if anyone notices anything different in your experiments \n\nThanks!",
      "votes": null
    },
    {
      "id": "1278531",
      "postDate": "04/20/2021 02:40:54",
      "content": "<p>Here are the results of some experiments using <a href=\"https://www.kaggle.com/kneroma\" target=\"_blank\">@kneroma</a> notebook <a href=\"https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference\" target=\"_blank\">https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference</a></p>\n<p>f1 score -&gt; Public LB score</p>\n<p>0.67766 -&gt; 0.59</p>\n<p>0.685153-&gt; 0.61 (v1 of notebook above)</p>\n<p>0.692444-&gt; 0.61</p>\n<p>0.695736-&gt; 0.62</p>\n<p>0.702431-&gt; 0.64</p>\n<p>the validation F1 scores in the notebook showcase a good indication of the Public LB scores.</p>",
      "rawMarkdown": "Here are the results of some experiments using @kneroma notebook [https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference](https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference)\n\n f1 score -> Public LB score\n\n0.67766 -> 0.59\n\n0.685153-> 0.61 (v1 of notebook above)\n\n0.692444-> 0.61\n\n0.695736-> 0.62\n\n 0.702431-> 0.64\n\n\nthe validation F1 scores in the notebook showcase a good indication of the Public LB scores.",
      "votes": null
    },
    {
      "id": "1278577",
      "postDate": "04/20/2021 03:55:20",
      "content": "<p>Thanks for sharing <a href=\"https://www.kaggle.com/kmldas\" target=\"_blank\">@kmldas</a> . I got the same feeling about the CV in <a href=\"https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference\" target=\"_blank\">here</a>. More again, it seems like  higher CVs lead to higher LB correlation. As an example, the difference between this CV and my current LB is only about <strong>0.01</strong>.</p>",
      "rawMarkdown": "Thanks for sharing @kmldas . I got the same feeling about the CV in [here](https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference). More again, it seems like  higher CVs lead to higher LB correlation. As an example, the difference between this CV and my current LB is only about **0.01**.",
      "votes": null
    },
    {
      "id": "1298633",
      "postDate": "05/09/2021 04:49:02",
      "content": "<p>Here are the results of some experiments using <a href=\"https://www.kaggle.com/kneroma\" target=\"_blank\">@kneroma</a>'s <a href=\"https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference\" target=\"_blank\">notebook</a><br>\nversion f1 score/threshold -&gt; Public LB score <br>\n7            0.6574/0.74 -&gt; 0.58</p>\n<p>6            0.6536/0.67  -&gt; 0.57</p>\n<p>5            0.654236/0.72 -&gt; 0.60</p>\n<p>4            0.652847/0.7 -&gt; 0.60</p>\n<p>3            0.655278/0.4 -&gt; 0.56</p>\n<p>2            0.643472/0.8 -&gt; 0.57</p>\n<p>1            0.535472/0.5 -&gt; 0.58</p>",
      "rawMarkdown": "Here are the results of some experiments using @kneroma's [notebook](https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference)\nversion f1 score/threshold -> Public LB score \n7            0.6574/0.74 -> 0.58\n\n6            0.6536/0.67  -> 0.57\n\n5            0.654236/0.72 -> 0.60\n\n4            0.652847/0.7 -> 0.60\n\n3            0.655278/0.4 -> 0.56\n\n2            0.643472/0.8 -> 0.57\n\n1            0.535472/0.5 -> 0.58",
      "votes": null
    },
    {
      "id": "1298771",
      "postDate": "05/09/2021 07:21:45",
      "content": "<p>Nice one. If you can train 2 different models and submit their average prediction, your LB could significantly improve. In fact, what is the score of the bag of your 5 cited models ?</p>",
      "rawMarkdown": "Nice one. If you can train 2 different models and submit their average prediction, your LB could significantly improve. In fact, what is the score of the bag of your 5 cited models ?",
      "votes": null
    },
    {
      "id": "1298782",
      "postDate": "05/09/2021 07:37:18",
      "content": "<p>I haven't bag models, I just trained a singal model with your data fold0 as validation dataset, I want to find a good baseline and do next progress.<br>\nSomething different with your inference notebook is that my threshold is high, the 0.60 LB used sheshold 0.7 not 0.25 (I use resnest50 too). And I find that my CV f1 increase followed by threshold increase. And I always choose the best CV to submit.</p>",
      "rawMarkdown": "I haven't bag models, I just trained a singal model with your data fold0 as validation dataset, I want to find a good baseline and do next progress.\nSomething different with your inference notebook is that my threshold is high, the 0.60 LB used sheshold 0.7 not 0.25 (I use resnest50 too). And I find that my CV f1 increase followed by threshold increase. And I always choose the best CV to submit.",
      "votes": null
    },
    {
      "id": "1298801",
      "postDate": "05/09/2021 08:17:06",
      "content": "<p>Ok nice strategy !</p>",
      "rawMarkdown": "Ok nice strategy !",
      "votes": null
    },
    {
      "id": "1298880",
      "postDate": "05/09/2021 09:43:16",
      "content": "<p>Thanks. Additionally, have you tried efficientnet? If so, how about the performance?<br>\nAnother question, have you transform the image into such size (224 * 224) for resnest?</p>",
      "rawMarkdown": "Thanks. Additionally, have you tried efficientnet? If so, how about the performance?\nAnother question, have you transform the image into such size (224 * 224) for resnest?",
      "votes": null
    },
    {
      "id": "1298909",
      "postDate": "05/09/2021 10:05:17",
      "content": "<p>Yes I tried. But they don't seem to outperform resnest50, they even seem worse. I can't explain why.</p>\n<p>No I don't resize the melspecs. If I were to resize the mels, I'd prefer to adjust the mels computer params in order to get bigger images instead.</p>",
      "rawMarkdown": "Yes I tried. But they don't seem to outperform resnest50, they even seem worse. I can't explain why.\n\nNo I don't resize the melspecs. If I were to resize the mels, I'd prefer to adjust the mels computer params in order to get bigger images instead.",
      "votes": null
    },
    {
      "id": "1298956",
      "postDate": "05/09/2021 11:10:22",
      "content": "<p>Thanks, I also find that efficientnet perform worse.</p>",
      "rawMarkdown": "Thanks, I also find that efficientnet perform worse.",
      "votes": null
    },
    {
      "id": "1299187",
      "postDate": "05/09/2021 14:27:01",
      "content": "<p>I find efficientnet family performs worse individually, couldn't make it work (yet).<br>\nWhen ensembled gave a nice boost to cv but not for LB :(</p>",
      "rawMarkdown": "I find efficientnet family performs worse individually, couldn't make it work (yet).\nWhen ensembled gave a nice boost to cv but not for LB :(",
      "votes": null
    },
    {
      "id": "1300495",
      "postDate": "05/10/2021 14:00:30",
      "content": "<p>This is a good topic.Continue to pay attention…👀</p>",
      "rawMarkdown": "This is a good topic.Continue to pay attention...👀",
      "votes": null
    },
    {
      "id": "1300499",
      "postDate": "05/10/2021 14:02:44",
      "content": "<p>How did you split the test set and training set? 5 folder?</p>",
      "rawMarkdown": "How did you split the test set and training set? 5 folder?",
      "votes": null
    },
    {
      "id": "1300534",
      "postDate": "05/10/2021 14:42:49",
      "content": "<p>HI <a href=\"https://www.kaggle.com/majunfu\" target=\"_blank\">@majunfu</a> pls have a look at <a href=\"https://www.kaggle.com/kneroma\" target=\"_blank\">@kneroma</a>'s notebook :<a href=\"https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-training-colab\" target=\"_blank\">https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-training-colab</a></p>\n<p>This is his training file and should help… its a good notebook to study as you  try to understand how to deal with this competition</p>",
      "rawMarkdown": "HI @majunfu pls have a look at @kneroma's notebook :https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-training-colab\n\nThis is his training file and should help... its a good notebook to study as you  try to understand how to deal with this competition",
      "votes": null
    },
    {
      "id": "1300593",
      "postDate": "05/10/2021 15:21:10",
      "content": "<p>Thank you very much👍</p>",
      "rawMarkdown": "Thank you very much👍",
      "votes": null
    },
    {
      "id": "1301112",
      "postDate": "05/11/2021 00:30:26",
      "content": "<p>Hello,did u train from this?</p>",
      "rawMarkdown": "Hello,did u train from this?",
      "votes": null
    },
    {
      "id": "1307298",
      "postDate": "05/14/2021 11:13:07",
      "content": "<p>Had a hard time figuring out relationships between validation with training short clips and validation with training sound scape. I am able to train models with steadily growing training short clips validation f1 but val f1 with soundscape stuck around 0.64-0.65, and lb stuck at 0.59. Maybe this comes from domain shift?</p>",
      "rawMarkdown": "Had a hard time figuring out relationships between validation with training short clips and validation with training sound scape. I am able to train models with steadily growing training short clips validation f1 but val f1 with soundscape stuck around 0.64-0.65, and lb stuck at 0.59. Maybe this comes from domain shift?",
      "votes": null
    },
    {
      "id": "1323956",
      "postDate": "05/26/2021 14:25:41",
      "content": "<p>I couldn't manage to get stable CV vs LB. I guess it is due to the small validation set and public LB size.</p>",
      "rawMarkdown": "I couldn't manage to get stable CV vs LB. I guess it is due to the small validation set and public LB size.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1278531,
      "author_name": "kmldas",
      "author_url": "",
      "post_date": "04/20/2021 02:40:54",
      "content": "<p>Here are the results of some experiments using <a href=\"https://www.kaggle.com/kneroma\" target=\"_blank\">@kneroma</a> notebook <a href=\"https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference\" target=\"_blank\">https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference</a></p>\n<p>f1 score -&gt; Public LB score</p>\n<p>0.67766 -&gt; 0.59</p>\n<p>0.685153-&gt; 0.61 (v1 of notebook above)</p>\n<p>0.692444-&gt; 0.61</p>\n<p>0.695736-&gt; 0.62</p>\n<p>0.702431-&gt; 0.64</p>\n<p>the validation F1 scores in the notebook showcase a good indication of the Public LB scores.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1278577,
          "author_name": "kneroma",
          "author_url": "",
          "post_date": "04/20/2021 03:55:20",
          "content": "<p>Thanks for sharing <a href=\"https://www.kaggle.com/kmldas\" target=\"_blank\">@kmldas</a> . I got the same feeling about the CV in <a href=\"https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference\" target=\"_blank\">here</a>. More again, it seems like  higher CVs lead to higher LB correlation. As an example, the difference between this CV and my current LB is only about <strong>0.01</strong>.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1300499,
          "author_name": "majunfu",
          "author_url": "",
          "post_date": "05/10/2021 14:02:44",
          "content": "<p>How did you split the test set and training set? 5 folder?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1300534,
          "author_name": "kmldas",
          "author_url": "",
          "post_date": "05/10/2021 14:42:49",
          "content": "<p>HI <a href=\"https://www.kaggle.com/majunfu\" target=\"_blank\">@majunfu</a> pls have a look at <a href=\"https://www.kaggle.com/kneroma\" target=\"_blank\">@kneroma</a>'s notebook :<a href=\"https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-training-colab\" target=\"_blank\">https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-training-colab</a></p>\n<p>This is his training file and should help… its a good notebook to study as you  try to understand how to deal with this competition</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1300593,
          "author_name": "majunfu",
          "author_url": "",
          "post_date": "05/10/2021 15:21:10",
          "content": "<p>Thank you very much👍</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1301112,
          "author_name": "zekunn",
          "author_url": "",
          "post_date": "05/11/2021 00:30:26",
          "content": "<p>Hello,did u train from this?</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1298633,
      "author_name": "whurobin",
      "author_url": "",
      "post_date": "05/09/2021 04:49:02",
      "content": "<p>Here are the results of some experiments using <a href=\"https://www.kaggle.com/kneroma\" target=\"_blank\">@kneroma</a>'s <a href=\"https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference\" target=\"_blank\">notebook</a><br>\nversion f1 score/threshold -&gt; Public LB score <br>\n7            0.6574/0.74 -&gt; 0.58</p>\n<p>6            0.6536/0.67  -&gt; 0.57</p>\n<p>5            0.654236/0.72 -&gt; 0.60</p>\n<p>4            0.652847/0.7 -&gt; 0.60</p>\n<p>3            0.655278/0.4 -&gt; 0.56</p>\n<p>2            0.643472/0.8 -&gt; 0.57</p>\n<p>1            0.535472/0.5 -&gt; 0.58</p>",
      "votes": null,
      "replies": [
        {
          "id": 1298771,
          "author_name": "kneroma",
          "author_url": "",
          "post_date": "05/09/2021 07:21:45",
          "content": "<p>Nice one. If you can train 2 different models and submit their average prediction, your LB could significantly improve. In fact, what is the score of the bag of your 5 cited models ?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1298782,
          "author_name": "whurobin",
          "author_url": "",
          "post_date": "05/09/2021 07:37:18",
          "content": "<p>I haven't bag models, I just trained a singal model with your data fold0 as validation dataset, I want to find a good baseline and do next progress.<br>\nSomething different with your inference notebook is that my threshold is high, the 0.60 LB used sheshold 0.7 not 0.25 (I use resnest50 too). And I find that my CV f1 increase followed by threshold increase. And I always choose the best CV to submit.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1298801,
          "author_name": "kneroma",
          "author_url": "",
          "post_date": "05/09/2021 08:17:06",
          "content": "<p>Ok nice strategy !</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1298880,
          "author_name": "whurobin",
          "author_url": "",
          "post_date": "05/09/2021 09:43:16",
          "content": "<p>Thanks. Additionally, have you tried efficientnet? If so, how about the performance?<br>\nAnother question, have you transform the image into such size (224 * 224) for resnest?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1298909,
          "author_name": "kneroma",
          "author_url": "",
          "post_date": "05/09/2021 10:05:17",
          "content": "<p>Yes I tried. But they don't seem to outperform resnest50, they even seem worse. I can't explain why.</p>\n<p>No I don't resize the melspecs. If I were to resize the mels, I'd prefer to adjust the mels computer params in order to get bigger images instead.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1298956,
          "author_name": "whurobin",
          "author_url": "",
          "post_date": "05/09/2021 11:10:22",
          "content": "<p>Thanks, I also find that efficientnet perform worse.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1299187,
          "author_name": "jy2tong",
          "author_url": "",
          "post_date": "05/09/2021 14:27:01",
          "content": "<p>I find efficientnet family performs worse individually, couldn't make it work (yet).<br>\nWhen ensembled gave a nice boost to cv but not for LB :(</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1300495,
      "author_name": "majunfu",
      "author_url": "",
      "post_date": "05/10/2021 14:00:30",
      "content": "<p>This is a good topic.Continue to pay attention…👀</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1307298,
      "author_name": "tonychenxyz",
      "author_url": "",
      "post_date": "05/14/2021 11:13:07",
      "content": "<p>Had a hard time figuring out relationships between validation with training short clips and validation with training sound scape. I am able to train models with steadily growing training short clips validation f1 but val f1 with soundscape stuck around 0.64-0.65, and lb stuck at 0.59. Maybe this comes from domain shift?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1323956,
      "author_name": "aerdem4",
      "author_url": "",
      "post_date": "05/26/2021 14:25:41",
      "content": "<p>I couldn't manage to get stable CV vs LB. I guess it is due to the small validation set and public LB size.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1273829": "Hi All,\n\nwanted to check how your CV  compares with the public LB?\nAre you seeing a good correlation? as we have limited submissions in this, would be helpful if you can share what you are seeing...\n\nI have not done many experiments and submission -- but for me the CV score and public LB has good correlation in the ones I have.\n\nHopefully, this means we may trust our CV -- pls do share if anyone notices anything different in your experiments \n\nThanks!",
    "1278531": "Here are the results of some experiments using @kneroma notebook [https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference](https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference)\n\n f1 score -> Public LB score\n\n0.67766 -> 0.59\n\n0.685153-> 0.61 (v1 of notebook above)\n\n0.692444-> 0.61\n\n0.695736-> 0.62\n\n 0.702431-> 0.64\n\n\nthe validation F1 scores in the notebook showcase a good indication of the Public LB scores.",
    "1278577": "Thanks for sharing @kmldas . I got the same feeling about the CV in [here](https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference). More again, it seems like  higher CVs lead to higher LB correlation. As an example, the difference between this CV and my current LB is only about **0.01**.",
    "1298633": "Here are the results of some experiments using @kneroma's [notebook](https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-inference)\nversion f1 score/threshold -> Public LB score \n7            0.6574/0.74 -> 0.58\n\n6            0.6536/0.67  -> 0.57\n\n5            0.654236/0.72 -> 0.60\n\n4            0.652847/0.7 -> 0.60\n\n3            0.655278/0.4 -> 0.56\n\n2            0.643472/0.8 -> 0.57\n\n1            0.535472/0.5 -> 0.58",
    "1298771": "Nice one. If you can train 2 different models and submit their average prediction, your LB could significantly improve. In fact, what is the score of the bag of your 5 cited models ?",
    "1298782": "I haven't bag models, I just trained a singal model with your data fold0 as validation dataset, I want to find a good baseline and do next progress.\nSomething different with your inference notebook is that my threshold is high, the 0.60 LB used sheshold 0.7 not 0.25 (I use resnest50 too). And I find that my CV f1 increase followed by threshold increase. And I always choose the best CV to submit.",
    "1298801": "Ok nice strategy !",
    "1298880": "Thanks. Additionally, have you tried efficientnet? If so, how about the performance?\nAnother question, have you transform the image into such size (224 * 224) for resnest?",
    "1298909": "Yes I tried. But they don't seem to outperform resnest50, they even seem worse. I can't explain why.\n\nNo I don't resize the melspecs. If I were to resize the mels, I'd prefer to adjust the mels computer params in order to get bigger images instead.",
    "1298956": "Thanks, I also find that efficientnet perform worse.",
    "1299187": "I find efficientnet family performs worse individually, couldn't make it work (yet).\nWhen ensembled gave a nice boost to cv but not for LB :(",
    "1300495": "This is a good topic.Continue to pay attention...👀",
    "1300499": "How did you split the test set and training set? 5 folder?",
    "1300534": "HI @majunfu pls have a look at @kneroma's notebook :https://www.kaggle.com/kneroma/clean-fast-simple-bird-identifier-training-colab\n\nThis is his training file and should help... its a good notebook to study as you  try to understand how to deal with this competition",
    "1300593": "Thank you very much👍",
    "1301112": "Hello,did u train from this?",
    "1307298": "Had a hard time figuring out relationships between validation with training short clips and validation with training sound scape. I am able to train models with steadily growing training short clips validation f1 but val f1 with soundscape stuck around 0.64-0.65, and lb stuck at 0.59. Maybe this comes from domain shift?",
    "1323956": "I couldn't manage to get stable CV vs LB. I guess it is due to the small validation set and public LB size."
  },
  "source": "meta"
}