{
  "id": 229796,
  "title": "(0.290 Private Score) Add simple 15 class classifier",
  "url": "/competitions/vinbigdata-chest-xray-abnormalities-detection/discussion/229796",
  "author_name": "Alien",
  "post_date": "2021-03-31T19:08:21.583000",
  "votes": 7,
  "comment_count": 3,
  "views": 0,
  "content": "<p><a href=\"https://www.kaggle.com/h053473666/0-286-norm-15class?scriptVersionId=58384072\" target=\"_blank\">0.290 Private Score notebook</a><br>\nIn this competition we shake down from 2% to 11%. I am very sorry to my teammates <a href=\"https://www.kaggle.com/qiaoyuanfang\" target=\"_blank\">@qiaoyuanfang</a>. He did not win any medals because of me. He provided a lot of high-quality notebooks, and most of the results were in the silver medal. Because I am overly pursuing LB, and I adjusted the 15 classification parameters according to LB. This leads to serious overfitting. But 15 classification can indeed increase the performance.<br>\nOur highest private score during the competition was 0.286.<br>\nI chose the right way to average the confidence value and get a score of 0.290.<br>\nAnd both public LB and private LB increase at the same time.</p>\n<p>My 15 classification uses a very simple model.<br>\nLabels: 15 classes, A class of an image is labelled 1 if 1 radiologists annotated the class on the image.<br>\nEfficientnet-b7 (imagenet) 5 fold:<br>\nimage size 600<br>\naug:<br>\n<code>img = tf.image.random_flip_left_right(img)</code><br>\n<code>img = tf.image.random_flip_up_down(img)</code></p>\n<p>Efficientnet-b7 (noisy-student) 5 fold:<br>\nimage size 600<br>\naug:<br>\n<code>img = tf.image.random_flip_left_right(img)</code><br>\n<code>img = tf.image.random_flip_up_down(img)</code></p>\n<p>densenet201 5 fold:<br>\nimage size 600<br>\nPre-training on the nih dataset<br>\naug:<br>\n<code>img = tf.image.random_flip_left_right(img)</code><br>\n<code>img = tf.image.random_flip_up_down(img)</code><br>\n<code>img = tf.image.random_hue(img, 0.2)</code><br>\n<code>img = tf.image.random_brightness(img, 0.2)</code></p>\n<p>Finally, the confidence value is weighted average.</p>",
  "messages": [
    {
      "id": 1258640,
      "postDate": "2021-03-31T19:08:21.583Z",
      "content": "<p><a href=\"https://www.kaggle.com/h053473666/0-286-norm-15class?scriptVersionId=58384072\" target=\"_blank\">0.290 Private Score notebook</a><br>\nIn this competition we shake down from 2% to 11%. I am very sorry to my teammates <a href=\"https://www.kaggle.com/qiaoyuanfang\" target=\"_blank\">@qiaoyuanfang</a>. He did not win any medals because of me. He provided a lot of high-quality notebooks, and most of the results were in the silver medal. Because I am overly pursuing LB, and I adjusted the 15 classification parameters according to LB. This leads to serious overfitting. But 15 classification can indeed increase the performance.<br>\nOur highest private score during the competition was 0.286.<br>\nI chose the right way to average the confidence value and get a score of 0.290.<br>\nAnd both public LB and private LB increase at the same time.</p>\n<p>My 15 classification uses a very simple model.<br>\nLabels: 15 classes, A class of an image is labelled 1 if 1 radiologists annotated the class on the image.<br>\nEfficientnet-b7 (imagenet) 5 fold:<br>\nimage size 600<br>\naug:<br>\n<code>img = tf.image.random_flip_left_right(img)</code><br>\n<code>img = tf.image.random_flip_up_down(img)</code></p>\n<p>Efficientnet-b7 (noisy-student) 5 fold:<br>\nimage size 600<br>\naug:<br>\n<code>img = tf.image.random_flip_left_right(img)</code><br>\n<code>img = tf.image.random_flip_up_down(img)</code></p>\n<p>densenet201 5 fold:<br>\nimage size 600<br>\nPre-training on the nih dataset<br>\naug:<br>\n<code>img = tf.image.random_flip_left_right(img)</code><br>\n<code>img = tf.image.random_flip_up_down(img)</code><br>\n<code>img = tf.image.random_hue(img, 0.2)</code><br>\n<code>img = tf.image.random_brightness(img, 0.2)</code></p>\n<p>Finally, the confidence value is weighted average.</p>",
      "rawMarkdown": "[0.290 Private Score notebook](https://www.kaggle.com/h053473666/0-286-norm-15class?scriptVersionId=58384072)\nIn this competition we shake down from 2% to 11%. I am very sorry to my teammates @qiaoyuanfang. He did not win any medals because of me. He provided a lot of high-quality notebooks, and most of the results were in the silver medal. Because I am overly pursuing LB, and I adjusted the 15 classification parameters according to LB. This leads to serious overfitting. But 15 classification can indeed increase the performance.\nOur highest private score during the competition was 0.286.\nI chose the right way to average the confidence value and get a score of 0.290.\nAnd both public LB and private LB increase at the same time.\n\nMy 15 classification uses a very simple model.\nLabels: 15 classes, A class of an image is labelled 1 if 1 radiologists annotated the class on the image.\nEfficientnet-b7 (imagenet) 5 fold:\nimage size 600\naug:\n`img = tf.image.random_flip_left_right(img)`\n`img = tf.image.random_flip_up_down(img)`\n\nEfficientnet-b7 (noisy-student) 5 fold:\nimage size 600\naug:\n`img = tf.image.random_flip_left_right(img)`\n`img = tf.image.random_flip_up_down(img)`\n\ndensenet201 5 fold:\nimage size 600\nPre-training on the nih dataset\naug:\n`img = tf.image.random_flip_left_right(img)`\n`img = tf.image.random_flip_up_down(img)`\n`img = tf.image.random_hue(img, 0.2)`\n`img = tf.image.random_brightness(img, 0.2)`\n\nFinally, the confidence value is weighted average.",
      "votes": 7
    },
    {
      "id": 1260561,
      "postDate": "2021-04-02T08:17:20.237Z",
      "content": "<p>Could you please explain what do you mean by <code>I adjusted the 15 classification parameters according to LB.</code> ?</p>",
      "rawMarkdown": "Could you please explain what do you mean by `I adjusted the 15 classification parameters according to LB.` ?",
      "votes": 1,
      "replies": [
        {
          "id": 1260579,
          "postDate": "2021-04-02T08:35:32.833Z",
          "content": "<p>Different weights and different thresholds make public LB scores vary greatly.<br>\n<a href=\"https://www.kaggle.com/h053473666/0-284rcnn-norm-14class-1?scriptVersionId=58194040\" target=\"_blank\">https://www.kaggle.com/h053473666/0-284rcnn-norm-14class-1?scriptVersionId=58194040</a><br>\n0.298 Public Score</p>\n<p>Ensemble your public notebooks(0.211) and <a href=\"https://www.kaggle.com/corochann\" target=\"_blank\">@corochann</a>(0.230) public notebooks + 15 classification can reach 0.284 public Score.<br>\n<a href=\"https://www.kaggle.com/h053473666/0318-5?scriptVersionId=57138569\" target=\"_blank\">https://www.kaggle.com/h053473666/0318-5?scriptVersionId=57138569</a></p>",
          "rawMarkdown": "Different weights and different thresholds make public LB scores vary greatly.\n[https://www.kaggle.com/h053473666/0-284rcnn-norm-14class-1?scriptVersionId=58194040](https://www.kaggle.com/h053473666/0-284rcnn-norm-14class-1?scriptVersionId=58194040)\n0.298 Public Score\n\nEnsemble your public notebooks(0.211) and @corochann(0.230) public notebooks + 15 classification can reach 0.284 public Score.\n[https://www.kaggle.com/h053473666/0318-5?scriptVersionId=57138569](https://www.kaggle.com/h053473666/0318-5?scriptVersionId=57138569)",
          "votes": 2
        },
        {
          "id": 1260581,
          "postDate": "2021-04-02T08:37:01.330Z",
          "content": "<p>I did not do local verification, but I adjusted the weights and thresholds according to the LB score.</p>",
          "rawMarkdown": "I did not do local verification, but I adjusted the weights and thresholds according to the LB score.",
          "votes": 1
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 1260561,
      "author_name": "Awsaf",
      "author_url": "",
      "post_date": "2021-04-02T08:17:20.237000",
      "content": "<p>Could you please explain what do you mean by <code>I adjusted the 15 classification parameters according to LB.</code> ?</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1260579,
          "author_name": "Alien",
          "author_url": "",
          "post_date": "2021-04-02T08:35:32.833000",
          "content": "<p>Different weights and different thresholds make public LB scores vary greatly.<br>\n<a href=\"https://www.kaggle.com/h053473666/0-284rcnn-norm-14class-1?scriptVersionId=58194040\" target=\"_blank\">https://www.kaggle.com/h053473666/0-284rcnn-norm-14class-1?scriptVersionId=58194040</a><br>\n0.298 Public Score</p>\n<p>Ensemble your public notebooks(0.211) and <a href=\"https://www.kaggle.com/corochann\" target=\"_blank\">@corochann</a>(0.230) public notebooks + 15 classification can reach 0.284 public Score.<br>\n<a href=\"https://www.kaggle.com/h053473666/0318-5?scriptVersionId=57138569\" target=\"_blank\">https://www.kaggle.com/h053473666/0318-5?scriptVersionId=57138569</a></p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1260581,
          "author_name": "Alien",
          "author_url": "",
          "post_date": "2021-04-02T08:37:01.330000",
          "content": "<p>I did not do local verification, but I adjusted the weights and thresholds according to the LB score.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1258640": "[0.290 Private Score notebook](https://www.kaggle.com/h053473666/0-286-norm-15class?scriptVersionId=58384072)\nIn this competition we shake down from 2% to 11%. I am very sorry to my teammates @qiaoyuanfang. He did not win any medals because of me. He provided a lot of high-quality notebooks, and most of the results were in the silver medal. Because I am overly pursuing LB, and I adjusted the 15 classification parameters according to LB. This leads to serious overfitting. But 15 classification can indeed increase the performance.\nOur highest private score during the competition was 0.286.\nI chose the right way to average the confidence value and get a score of 0.290.\nAnd both public LB and private LB increase at the same time.\n\nMy 15 classification uses a very simple model.\nLabels: 15 classes, A class of an image is labelled 1 if 1 radiologists annotated the class on the image.\nEfficientnet-b7 (imagenet) 5 fold:\nimage size 600\naug:\n`img = tf.image.random_flip_left_right(img)`\n`img = tf.image.random_flip_up_down(img)`\n\nEfficientnet-b7 (noisy-student) 5 fold:\nimage size 600\naug:\n`img = tf.image.random_flip_left_right(img)`\n`img = tf.image.random_flip_up_down(img)`\n\ndensenet201 5 fold:\nimage size 600\nPre-training on the nih dataset\naug:\n`img = tf.image.random_flip_left_right(img)`\n`img = tf.image.random_flip_up_down(img)`\n`img = tf.image.random_hue(img, 0.2)`\n`img = tf.image.random_brightness(img, 0.2)`\n\nFinally, the confidence value is weighted average.",
    "1260561": "Could you please explain what do you mean by `I adjusted the 15 classification parameters according to LB.` ?"
  }
}