{
  "id": 75783,
  "title": "summary of external dataset and leak",
  "url": "/competitions/human-protein-atlas-image-classification/discussion/75783",
  "author_name": "hengck23",
  "post_date": "2018-12-26T14:55:16.338000",
  "votes": 16,
  "comment_count": 11,
  "views": 0,
  "content": "<p>There is much information scattering everywhere ... here is my consolidation. You are free to update more. thanks!</p>\n\n<hr>\n\n<p>1) leaks (i.e. you know the label of some test images)</p>\n\n<ul>\n<li>leak126</li>\n</ul>\n\n<p><a href=\"https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395\">https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395</a></p>\n\n<p><a href=\"https://storage.googleapis.com/kaggle-forum-message-attachments/433234/10820/overlap.py\">https://storage.googleapis.com/kaggle-forum-message-attachments/433234/10820/overlap.py</a></p>\n\n<p>(i did not use this, so i cannot comment more)</p>\n\n<ul>\n<li>leak259</li>\n</ul>\n\n<p><a href=\"https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/72534\">https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/72534</a></p>\n\n<p>TestEtraMatchingUnder_259_R14_G12_B10.csv </p>\n\n<p>Actually there are only 257 leak (there are 2 duplicates). improvement to public LB is could be 0.06 (depending if you have already predicted the leaked images correctly or not). leak126 and leak259 have overlap images and they sometimes do not agree on the labels. Personally, i think leak259 is more accurate?</p>\n\n<p><em>update</em>:</p>\n\n<p>if your model is in the range of public LB 0.55, it may better not to use the leaks. (see below) Using leaks decrease my score by 0.001.</p>\n\n<hr>\n\n<p>2) external data</p>\n\n<ul>\n<li>HPAv18RBGY_wodpl</li>\n</ul>\n\n<p><a href=\"https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/69984\">https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/69984</a></p>\n\n<p>HPAv18RBGY_wodpl.csv</p>\n\n<p>HPAv18RBGY_wodpl has 74606 images. I do not know if HPAv18RBGY_wodpl has duplicates with kaggle images or the leak images.</p>",
  "messages": [
    {
      "id": 445481,
      "postDate": "2018-12-26T14:55:16.337Z",
      "content": "<p>There is much information scattering everywhere ... here is my consolidation. You are free to update more. thanks!</p>\n\n<hr>\n\n<p>1) leaks (i.e. you know the label of some test images)</p>\n\n<ul>\n<li>leak126</li>\n</ul>\n\n<p><a href=\"https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395\">https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395</a></p>\n\n<p><a href=\"https://storage.googleapis.com/kaggle-forum-message-attachments/433234/10820/overlap.py\">https://storage.googleapis.com/kaggle-forum-message-attachments/433234/10820/overlap.py</a></p>\n\n<p>(i did not use this, so i cannot comment more)</p>\n\n<ul>\n<li>leak259</li>\n</ul>\n\n<p><a href=\"https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/72534\">https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/72534</a></p>\n\n<p>TestEtraMatchingUnder_259_R14_G12_B10.csv </p>\n\n<p>Actually there are only 257 leak (there are 2 duplicates). improvement to public LB is could be 0.06 (depending if you have already predicted the leaked images correctly or not). leak126 and leak259 have overlap images and they sometimes do not agree on the labels. Personally, i think leak259 is more accurate?</p>\n\n<p><em>update</em>:</p>\n\n<p>if your model is in the range of public LB 0.55, it may better not to use the leaks. (see below) Using leaks decrease my score by 0.001.</p>\n\n<hr>\n\n<p>2) external data</p>\n\n<ul>\n<li>HPAv18RBGY_wodpl</li>\n</ul>\n\n<p><a href=\"https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/69984\">https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/69984</a></p>\n\n<p>HPAv18RBGY_wodpl.csv</p>\n\n<p>HPAv18RBGY_wodpl has 74606 images. I do not know if HPAv18RBGY_wodpl has duplicates with kaggle images or the leak images.</p>",
      "rawMarkdown": "There is much information scattering everywhere ... here is my consolidation. You are free to update more. thanks!\n\n---\n\n1) leaks (i.e. you know the label of some test images)\n\n  - leak126\n\nhttps://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395\n\nhttps://storage.googleapis.com/kaggle-forum-message-attachments/433234/10820/overlap.py\n\n(i did not use this, so i cannot comment more)\n\n\n\n\n\n  - leak259\n\nhttps://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/72534\n\nTestEtraMatchingUnder_259_R14_G12_B10.csv \n\nActually there are only 257 leak (there are 2 duplicates). improvement to public LB is could be 0.06 (depending if you have already predicted the leaked images correctly or not). leak126 and leak259 have overlap images and they sometimes do not agree on the labels. Personally, i think leak259 is more accurate?\n\n\n*update*:\n\nif your model is in the range of public LB 0.55, it may better not to use the leaks. (see below) Using leaks decrease my score by 0.001.\n\n----\n\n2) external data\n\n  - HPAv18RBGY_wodpl\n\nhttps://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/69984\n\nHPAv18RBGY_wodpl.csv\n\nHPAv18RBGY_wodpl has 74606 images. I do not know if HPAv18RBGY_wodpl has duplicates with kaggle images or the leak images.\n",
      "votes": 16
    },
    {
      "id": 446102,
      "postDate": "2018-12-27T13:54:55.160Z",
      "content": "<p>External dataset HPAv18RBGYwodpl actually has intersection with kaggle data. At least I saw a few images from kaggle dataset, which were just cropped from HPAv18RBGYwodpl. \nThough, I am not sure about how many images are intersecting.</p>",
      "rawMarkdown": "External dataset HPAv18RBGYwodpl actually has intersection with kaggle data. At least I saw a few images from kaggle dataset, which were just cropped from HPAv18RBGYwodpl. \nThough, I am not sure about how many images are intersecting.",
      "votes": 1
    },
    {
      "id": 447782,
      "postDate": "2018-12-30T15:05:54.943Z",
      "content": "<p>is there any list of image ids of hpa external data that is not overlapping with the kaggle data? Thanks.</p>",
      "rawMarkdown": "is there any list of image ids of hpa external data that is not overlapping with the kaggle data? Thanks."
    },
    {
      "id": 446561,
      "postDate": "2018-12-28T09:29:01.783Z",
      "content": "<p>comparing hpa and kaggle data using leak259:</p>\n\n<p><img src=\"https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10946/a8d73536-bad8-11e8-b2b9-ac1f6b6435d0.png\" alt=\"enter image description here\"></p>\n\n<p><img src=\"https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10948/0a96bf2c-bad3-11e8-b2b8-ac1f6b6435d0.png\" alt=\"enter image description here\">\n   <img src=\"https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10950/b54e8446-bacd-11e8-b2b8-ac1f6b6435d0.png\" alt=\"enter image description here\"></p>",
      "rawMarkdown": "comparing hpa and kaggle data using leak259:\n\n\n   ![enter image description here][1]\n\n   ![enter image description here][2]\n   ![enter image description here][3]\n\n\n  [1]: https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10946/a8d73536-bad8-11e8-b2b9-ac1f6b6435d0.png\n  [2]: https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10948/0a96bf2c-bad3-11e8-b2b8-ac1f6b6435d0.png\n  [3]: https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10950/b54e8446-bacd-11e8-b2b8-ac1f6b6435d0.png",
      "replies": [
        {
          "id": 446603,
          "postDate": "2018-12-28T11:07:24.973Z",
          "content": "<p>When I looked at this most of the hpa and test images in the leak259 are pretty similar in pixel intensity but there were a few odd differences (mainly in the green channel if I recall). Overall mean intensity stats per channel across both sets were very close.</p>",
          "rawMarkdown": "When I looked at this most of the hpa and test images in the leak259 are pretty similar in pixel intensity but there were a few odd differences (mainly in the green channel if I recall). Overall mean intensity stats per channel across both sets were very close."
        }
      ]
    },
    {
      "id": 445779,
      "postDate": "2018-12-27T03:43:19.583Z",
      "content": "<p>update:</p>\n\n<p>The leak259 is not completely correct?</p>\n\n<p>submission with it sometimes lead to no change in LB score or worse score (although the predicted labels changes)</p>",
      "rawMarkdown": "update:\n\nThe leak259 is not completely correct?\n\nsubmission with it sometimes lead to no change in LB score or worse score (although the predicted labels changes)",
      "replies": [
        {
          "id": 445800,
          "postDate": "2018-12-27T04:32:02.120Z",
          "content": "<p>From philculliton (Kaggle Team) on the \"Let's talk about the HPA leak thread\":</p>\n\n<p>\"On a related note, I should mention that hashing is not 100% accurate in this context, and that some of the \"leaked\" images are not, in fact, leaks (and further, some of the labels assigned them are incorrect). The leak appears to be so effective because some of the real, actual leaks include rare classes that have a high impact on LB score.</p>\n\n<p>The people who found the leak did excellent work, but it's very difficult to get completely right. I'd recommend not using the leak in any way.\"\n<a href=\"https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395#434012\">https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395#434012</a></p>\n\n<p>Also</p>\n\n<p>\"I updated and reset the LB last night. Here's what changed:</p>\n\n<p>1) The majority of the impacted samples are no longer included in scoring.</p>\n\n<p>2) A small number of samples with very rare labels were not removed from scoring, but were shifted to the public leaderboard.\"\n<a href=\"https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395#433830\">https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395#433830</a></p>",
          "rawMarkdown": "From philculliton (Kaggle Team) on the \"Let's talk about the HPA leak thread\":\n\n\"On a related note, I should mention that hashing is not 100% accurate in this context, and that some of the \"leaked\" images are not, in fact, leaks (and further, some of the labels assigned them are incorrect). The leak appears to be so effective because some of the real, actual leaks include rare classes that have a high impact on LB score.\n\nThe people who found the leak did excellent work, but it's very difficult to get completely right. I'd recommend not using the leak in any way.\"\nhttps://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395#434012\n\nAlso\n\n\"I updated and reset the LB last night. Here's what changed:\n\n1) The majority of the impacted samples are no longer included in scoring.\n\n2) A small number of samples with very rare labels were not removed from scoring, but were shifted to the public leaderboard.\"\nhttps://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395#433830",
          "votes": 1
        },
        {
          "id": 447311,
          "postDate": "2018-12-29T15:58:06.083Z",
          "content": "<p>@David Wagner</p>\n\n<p>Thanks!</p>",
          "rawMarkdown": "@David Wagner\n \n\nThanks!\n"
        }
      ]
    },
    {
      "id": 445536,
      "postDate": "2018-12-26T17:08:22.543Z",
      "content": "<p>Hi Heng, thanks for pointing this out. </p>\n\n<p>Correct if I am wrong. I have the impression that the leaks have been removed from the private set. Is the 0.06 improvement to public LB you mentioned tested before the leak removing or after? </p>",
      "rawMarkdown": "Hi Heng, thanks for pointing this out. \n\nCorrect if I am wrong. I have the impression that the leaks have been removed from the private set. Is the 0.06 improvement to public LB you mentioned tested before the leak removing or after? ",
      "replies": [
        {
          "id": 445540,
          "postDate": "2018-12-26T17:15:35.470Z",
          "content": "<p>0.06 improvement is for the public LB</p>",
          "rawMarkdown": " 0.06 improvement is for the public LB"
        },
        {
          "id": 445649,
          "postDate": "2018-12-26T21:34:37.117Z",
          "content": "<p>Just did an experiment on my shitty submission, simply replacing the predicted targets by the 259 leaks gives ~0.06 boost for the public LB. </p>\n\n<p>I guess the boost brought by this will be weaker for:  </p>\n\n<ol>\n<li>Better model.</li>\n<li>Using all (partial) external data. </li>\n</ol>\n\n<p>As suggested by the organizer, the leak should have no impact on private LB.  </p>",
          "rawMarkdown": "Just did an experiment on my shitty submission, simply replacing the predicted targets by the 259 leaks gives ~0.06 boost for the public LB. \n\nI guess the boost brought by this will be weaker for:  \n\n1. Better model.\n2. Using all (partial) external data. \n\nAs suggested by the organizer, the leak should have no impact on private LB.  "
        },
        {
          "id": 448750,
          "postDate": "2019-01-02T02:25:53.257Z",
          "rawMarkdown": "",
          "isDeleted": true
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 446102,
      "author_name": "Yurii  Dzeryn",
      "author_url": "",
      "post_date": "2018-12-27T13:54:55.160000",
      "content": "<p>External dataset HPAv18RBGYwodpl actually has intersection with kaggle data. At least I saw a few images from kaggle dataset, which were just cropped from HPAv18RBGYwodpl. \nThough, I am not sure about how many images are intersecting.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 447782,
      "author_name": "hengck23",
      "author_url": "",
      "post_date": "2018-12-30T15:05:54.943000",
      "content": "<p>is there any list of image ids of hpa external data that is not overlapping with the kaggle data? Thanks.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 446561,
      "author_name": "hengck23",
      "author_url": "",
      "post_date": "2018-12-28T09:29:01.783000",
      "content": "<p>comparing hpa and kaggle data using leak259:</p>\n\n<p><img src=\"https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10946/a8d73536-bad8-11e8-b2b9-ac1f6b6435d0.png\" alt=\"enter image description here\"></p>\n\n<p><img src=\"https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10948/0a96bf2c-bad3-11e8-b2b8-ac1f6b6435d0.png\" alt=\"enter image description here\">\n   <img src=\"https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10950/b54e8446-bacd-11e8-b2b8-ac1f6b6435d0.png\" alt=\"enter image description here\"></p>",
      "votes": 0,
      "replies": [
        {
          "id": 446603,
          "author_name": "Mark Worrall",
          "author_url": "",
          "post_date": "2018-12-28T11:07:24.973000",
          "content": "<p>When I looked at this most of the hpa and test images in the leak259 are pretty similar in pixel intensity but there were a few odd differences (mainly in the green channel if I recall). Overall mean intensity stats per channel across both sets were very close.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 445779,
      "author_name": "hengck23",
      "author_url": "",
      "post_date": "2018-12-27T03:43:19.583000",
      "content": "<p>update:</p>\n\n<p>The leak259 is not completely correct?</p>\n\n<p>submission with it sometimes lead to no change in LB score or worse score (although the predicted labels changes)</p>",
      "votes": 0,
      "replies": [
        {
          "id": 445800,
          "author_name": "David Wagner",
          "author_url": "",
          "post_date": "2018-12-27T04:32:02.120000",
          "content": "<p>From philculliton (Kaggle Team) on the \"Let's talk about the HPA leak thread\":</p>\n\n<p>\"On a related note, I should mention that hashing is not 100% accurate in this context, and that some of the \"leaked\" images are not, in fact, leaks (and further, some of the labels assigned them are incorrect). The leak appears to be so effective because some of the real, actual leaks include rare classes that have a high impact on LB score.</p>\n\n<p>The people who found the leak did excellent work, but it's very difficult to get completely right. I'd recommend not using the leak in any way.\"\n<a href=\"https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395#434012\">https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395#434012</a></p>\n\n<p>Also</p>\n\n<p>\"I updated and reset the LB last night. Here's what changed:</p>\n\n<p>1) The majority of the impacted samples are no longer included in scoring.</p>\n\n<p>2) A small number of samples with very rare labels were not removed from scoring, but were shifted to the public leaderboard.\"\n<a href=\"https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395#433830\">https://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395#433830</a></p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 447311,
          "author_name": "hengck23",
          "author_url": "",
          "post_date": "2018-12-29T15:58:06.083000",
          "content": "<p>@David Wagner</p>\n\n<p>Thanks!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 445536,
      "author_name": "Xuan Cao",
      "author_url": "",
      "post_date": "2018-12-26T17:08:22.543000",
      "content": "<p>Hi Heng, thanks for pointing this out. </p>\n\n<p>Correct if I am wrong. I have the impression that the leaks have been removed from the private set. Is the 0.06 improvement to public LB you mentioned tested before the leak removing or after? </p>",
      "votes": 0,
      "replies": [
        {
          "id": 445540,
          "author_name": "hengck23",
          "author_url": "",
          "post_date": "2018-12-26T17:15:35.470000",
          "content": "<p>0.06 improvement is for the public LB</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 445649,
          "author_name": "Xuan Cao",
          "author_url": "",
          "post_date": "2018-12-26T21:34:37.117000",
          "content": "<p>Just did an experiment on my shitty submission, simply replacing the predicted targets by the 259 leaks gives ~0.06 boost for the public LB. </p>\n\n<p>I guess the boost brought by this will be weaker for:  </p>\n\n<ol>\n<li>Better model.</li>\n<li>Using all (partial) external data. </li>\n</ol>\n\n<p>As suggested by the organizer, the leak should have no impact on private LB.  </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 448750,
          "author_name": "",
          "author_url": "",
          "post_date": "2019-01-02T02:25:53.257000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "445481": "There is much information scattering everywhere ... here is my consolidation. You are free to update more. thanks!\n\n---\n\n1) leaks (i.e. you know the label of some test images)\n\n  - leak126\n\nhttps://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/73395\n\nhttps://storage.googleapis.com/kaggle-forum-message-attachments/433234/10820/overlap.py\n\n(i did not use this, so i cannot comment more)\n\n\n\n\n\n  - leak259\n\nhttps://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/72534\n\nTestEtraMatchingUnder_259_R14_G12_B10.csv \n\nActually there are only 257 leak (there are 2 duplicates). improvement to public LB is could be 0.06 (depending if you have already predicted the leaked images correctly or not). leak126 and leak259 have overlap images and they sometimes do not agree on the labels. Personally, i think leak259 is more accurate?\n\n\n*update*:\n\nif your model is in the range of public LB 0.55, it may better not to use the leaks. (see below) Using leaks decrease my score by 0.001.\n\n----\n\n2) external data\n\n  - HPAv18RBGY_wodpl\n\nhttps://www.kaggle.com/c/human-protein-atlas-image-classification/discussion/69984\n\nHPAv18RBGY_wodpl.csv\n\nHPAv18RBGY_wodpl has 74606 images. I do not know if HPAv18RBGY_wodpl has duplicates with kaggle images or the leak images.\n",
    "446102": "External dataset HPAv18RBGYwodpl actually has intersection with kaggle data. At least I saw a few images from kaggle dataset, which were just cropped from HPAv18RBGYwodpl. \nThough, I am not sure about how many images are intersecting.",
    "447782": "is there any list of image ids of hpa external data that is not overlapping with the kaggle data? Thanks.",
    "446561": "comparing hpa and kaggle data using leak259:\n\n\n   ![enter image description here][1]\n\n   ![enter image description here][2]\n   ![enter image description here][3]\n\n\n  [1]: https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10946/a8d73536-bad8-11e8-b2b9-ac1f6b6435d0.png\n  [2]: https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10948/0a96bf2c-bad3-11e8-b2b8-ac1f6b6435d0.png\n  [3]: https://storage.googleapis.com/kaggle-forum-message-attachments/446561/10950/b54e8446-bacd-11e8-b2b8-ac1f6b6435d0.png",
    "445779": "update:\n\nThe leak259 is not completely correct?\n\nsubmission with it sometimes lead to no change in LB score or worse score (although the predicted labels changes)",
    "445536": "Hi Heng, thanks for pointing this out. \n\nCorrect if I am wrong. I have the impression that the leaks have been removed from the private set. Is the 0.06 improvement to public LB you mentioned tested before the leak removing or after? "
  }
}