{
  "id": 308620,
  "title": "How does kaggle score on private set",
  "url": "/competitions/happy-whale-and-dolphin/discussion/308620",
  "author_name": "",
  "post_date": "2022-02-19T13:50:13.898862300Z",
  "votes": 4,
  "comment_count": 6,
  "views": 0,
  "content": "<p>Can anyone help me understand how kaggle calculates private score given only public test submission. i.e. without prediction code like in code competitions.</p>",
  "messages": [
    {
      "id": "1697265",
      "postDate": "02/19/2022 13:50:13",
      "content": "<p>Can anyone help me understand how kaggle calculates private score given only public test submission. i.e. without prediction code like in code competitions.</p>",
      "rawMarkdown": "Can anyone help me understand how kaggle calculates private score given only public test submission. i.e. without prediction code like in code competitions.",
      "votes": null
    },
    {
      "id": "1697322",
      "postDate": "02/19/2022 14:35:46",
      "content": "<p>The submission contains predictions both for Public/Private LB. So, Public/Private LB scores are calculated at once, but the only the public is exposed to us.</p>",
      "rawMarkdown": "The submission contains predictions both for Public/Private LB. So, Public/Private LB scores are calculated at once, but the only the public is exposed to us.",
      "votes": null
    },
    {
      "id": "1697470",
      "postDate": "02/19/2022 16:37:58",
      "content": "<p>thanks for your answer. Do you mean that test images contain private+public set? If so, isn't it a leakage.</p>",
      "rawMarkdown": "thanks for your answer. Do you mean that test images contain private+public set? If so, isn't it a leakage.",
      "votes": null
    },
    {
      "id": "1697487",
      "postDate": "02/19/2022 16:49:36",
      "content": "<p>A leakage happens when somehow the info about the hidden test set is available and can be learned or used. </p>\n<p>To give an example of how things work on Kaggle</p>\n<p>Let's say:</p>\n<p>You make a set of predictions lets say you predict the following:</p>\n<p><code>A, B, C, D, E</code></p>\n<p>The public and private LBs would have the following answers:</p>\n<p><code>B, B</code> , <code>C, X, Z</code></p>\n<p>So you get 50% accuracy on public LB and face a shakeup and get 33.3% accuracy on private LB. </p>\n<p>Hope this answers your question :) </p>",
      "rawMarkdown": "A leakage happens when somehow the info about the hidden test set is available and can be learned or used. \n\nTo give an example of how things work on Kaggle\n\nLet's say:\n\nYou make a set of predictions lets say you predict the following:\n\n`A, B, C, D, E`\n\nThe public and private LBs would have the following answers:\n\n`B, B` , `C, X, Z`\n\nSo you get 50% accuracy on public LB and face a shakeup and get 33.3% accuracy on private LB. \n\nHope this answers your question :)",
      "votes": null
    },
    {
      "id": "1697516",
      "postDate": "02/19/2022 17:08:37",
      "content": "<p><a href=\"https://www.kaggle.com/init27\" target=\"_blank\">@init27</a> yes, you cleared my confusion. By leakage i mean that, we already know how images look like for private lb. In contrast, we would not know about test images for private lb in code competitions.</p>",
      "rawMarkdown": "init27 yes, you cleared my confusion. By leakage i mean that, we already know how images look like for private lb. In contrast, we would not know about test images for private lb in code competitions.",
      "votes": null
    },
    {
      "id": "1697578",
      "postDate": "02/19/2022 17:39:11",
      "content": "<p><a href=\"https://www.kaggle.com/xanjay\" target=\"_blank\">@xanjay</a> We know they are whales and dolphins (hopefully, although <a href=\"https://www.kaggle.com/andradaolteanu\" target=\"_blank\">@andradaolteanu</a>'s <a href=\"https://www.kaggle.com/c/happy-whale-and-dolphin/discussion/308026\" target=\"_blank\">thread</a> also showcased some garbage examples :D However, we don't have the labels. </p>\n<p>A leak would happen if somehow, on the internet or maybe in the metadata you can find the labels. The images are super hard to hand-label too, so I don't think anyone can do that if that's what you're referring to</p>",
      "rawMarkdown": "xanjay We know they are whales and dolphins (hopefully, although @andradaolteanu's [thread](https://www.kaggle.com/c/happy-whale-and-dolphin/discussion/308026) also showcased some garbage examples :D However, we don't have the labels. \n\nA leak would happen if somehow, on the internet or maybe in the metadata you can find the labels. The images are super hard to hand-label too, so I don't think anyone can do that if that's what you're referring to",
      "votes": null
    },
    {
      "id": "1699337",
      "postDate": "02/21/2022 05:46:34",
      "content": "<p>are you sure or anywhere for official statement?</p>\n<p>because I am considering model for cropped dataset, if the private test data not preprocessed , then have to deal with it for inference.</p>",
      "rawMarkdown": "are you sure or anywhere for official statement?\n\nbecause I am considering model for cropped dataset, if the private test data not preprocessed , then have to deal with it for inference.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1697322,
      "author_name": "meowmeowmeowmeowmeow",
      "author_url": "",
      "post_date": "02/19/2022 14:35:46",
      "content": "<p>The submission contains predictions both for Public/Private LB. So, Public/Private LB scores are calculated at once, but the only the public is exposed to us.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1697470,
          "author_name": "xanjay",
          "author_url": "",
          "post_date": "02/19/2022 16:37:58",
          "content": "<p>thanks for your answer. Do you mean that test images contain private+public set? If so, isn't it a leakage.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1697487,
          "author_name": "init27",
          "author_url": "",
          "post_date": "02/19/2022 16:49:36",
          "content": "<p>A leakage happens when somehow the info about the hidden test set is available and can be learned or used. </p>\n<p>To give an example of how things work on Kaggle</p>\n<p>Let's say:</p>\n<p>You make a set of predictions lets say you predict the following:</p>\n<p><code>A, B, C, D, E</code></p>\n<p>The public and private LBs would have the following answers:</p>\n<p><code>B, B</code> , <code>C, X, Z</code></p>\n<p>So you get 50% accuracy on public LB and face a shakeup and get 33.3% accuracy on private LB. </p>\n<p>Hope this answers your question :) </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1697516,
          "author_name": "xanjay",
          "author_url": "",
          "post_date": "02/19/2022 17:08:37",
          "content": "<p><a href=\"https://www.kaggle.com/init27\" target=\"_blank\">@init27</a> yes, you cleared my confusion. By leakage i mean that, we already know how images look like for private lb. In contrast, we would not know about test images for private lb in code competitions.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1697578,
          "author_name": "init27",
          "author_url": "",
          "post_date": "02/19/2022 17:39:11",
          "content": "<p><a href=\"https://www.kaggle.com/xanjay\" target=\"_blank\">@xanjay</a> We know they are whales and dolphins (hopefully, although <a href=\"https://www.kaggle.com/andradaolteanu\" target=\"_blank\">@andradaolteanu</a>'s <a href=\"https://www.kaggle.com/c/happy-whale-and-dolphin/discussion/308026\" target=\"_blank\">thread</a> also showcased some garbage examples :D However, we don't have the labels. </p>\n<p>A leak would happen if somehow, on the internet or maybe in the metadata you can find the labels. The images are super hard to hand-label too, so I don't think anyone can do that if that's what you're referring to</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1699337,
          "author_name": "dragonzhang",
          "author_url": "",
          "post_date": "02/21/2022 05:46:34",
          "content": "<p>are you sure or anywhere for official statement?</p>\n<p>because I am considering model for cropped dataset, if the private test data not preprocessed , then have to deal with it for inference.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1697265": "Can anyone help me understand how kaggle calculates private score given only public test submission. i.e. without prediction code like in code competitions.",
    "1697322": "The submission contains predictions both for Public/Private LB. So, Public/Private LB scores are calculated at once, but the only the public is exposed to us.",
    "1697470": "thanks for your answer. Do you mean that test images contain private+public set? If so, isn't it a leakage.",
    "1697487": "A leakage happens when somehow the info about the hidden test set is available and can be learned or used. \n\nTo give an example of how things work on Kaggle\n\nLet's say:\n\nYou make a set of predictions lets say you predict the following:\n\n`A, B, C, D, E`\n\nThe public and private LBs would have the following answers:\n\n`B, B` , `C, X, Z`\n\nSo you get 50% accuracy on public LB and face a shakeup and get 33.3% accuracy on private LB. \n\nHope this answers your question :)",
    "1697516": "init27 yes, you cleared my confusion. By leakage i mean that, we already know how images look like for private lb. In contrast, we would not know about test images for private lb in code competitions.",
    "1697578": "xanjay We know they are whales and dolphins (hopefully, although @andradaolteanu's [thread](https://www.kaggle.com/c/happy-whale-and-dolphin/discussion/308026) also showcased some garbage examples :D However, we don't have the labels. \n\nA leak would happen if somehow, on the internet or maybe in the metadata you can find the labels. The images are super hard to hand-label too, so I don't think anyone can do that if that's what you're referring to",
    "1699337": "are you sure or anywhere for official statement?\n\nbecause I am considering model for cropped dataset, if the private test data not preprocessed , then have to deal with it for inference."
  },
  "source": "meta"
}