{
  "id": 110461,
  "title": "LB probe is completed",
  "url": "/competitions/rsna-intracranial-hemorrhage-detection/discussion/110461",
  "author_name": "kambarakun",
  "post_date": "2019-09-28T02:55:45.301000",
  "votes": 49,
  "comment_count": 14,
  "views": 0,
  "content": "<p><strong>LB probe is completed!</strong> I revealed the following three facts(almost no doubt). </p>\n\n<ul>\n<li>weights of <code>any</code> is x2 of others</li>\n<li>n_positives of each class</li>\n<li>Metrics is same as <code>sklearn.metrics.log_loss()</code> with <code>sample_weight=([1, 1, 1, 1, 1, 2] * 78545)</code>. LB score is round off, not round().</li>\n</ul>\n\n<p>If you need, please see my kernel for details. <br>\n<a href=\"https://www.kaggle.com/kambarakun/lb-probe-weights-n-of-positives-scoring\">https://www.kaggle.com/kambarakun/lb-probe-weights-n-of-positives-scoring</a></p>\n\n<p><strong>From now on, I will concentrate on making models!!</strong></p>",
  "messages": [
    {
      "id": 635681,
      "postDate": "2019-09-28T02:55:45.300Z",
      "content": "<p><strong>LB probe is completed!</strong> I revealed the following three facts(almost no doubt). </p>\n\n<ul>\n<li>weights of <code>any</code> is x2 of others</li>\n<li>n_positives of each class</li>\n<li>Metrics is same as <code>sklearn.metrics.log_loss()</code> with <code>sample_weight=([1, 1, 1, 1, 1, 2] * 78545)</code>. LB score is round off, not round().</li>\n</ul>\n\n<p>If you need, please see my kernel for details. <br>\n<a href=\"https://www.kaggle.com/kambarakun/lb-probe-weights-n-of-positives-scoring\">https://www.kaggle.com/kambarakun/lb-probe-weights-n-of-positives-scoring</a></p>\n\n<p><strong>From now on, I will concentrate on making models!!</strong></p>",
      "rawMarkdown": "**LB probe is completed!** I revealed the following three facts(almost no doubt). \n\n* weights of `any` is x2 of others\n* n_positives of each class\n* Metrics is same as `sklearn.metrics.log_loss()` with `sample_weight=([1, 1, 1, 1, 1, 2] * 78545)`. LB score is round off, not round().\n\nIf you need, please see my kernel for details.  \nhttps://www.kaggle.com/kambarakun/lb-probe-weights-n-of-positives-scoring\n\n**From now on, I will concentrate on making models!!**",
      "votes": 49
    },
    {
      "id": 635686,
      "postDate": "2019-09-28T03:05:38.387Z",
      "content": "<p>Hi <a href=\"/kambarakun\">@kambarakun</a> - correct on the weight. The metric is written in C# and is not in any way related to scikit-learn's excellent implementation, apart from doing the same math. I'm glad it lines up so nicely!</p>",
      "rawMarkdown": "Hi @kambarakun - correct on the weight. The metric is written in C# and is not in any way related to scikit-learn's excellent implementation, apart from doing the same math. I'm glad it lines up so nicely!",
      "votes": 4,
      "replies": [
        {
          "id": 635702,
          "postDate": "2019-09-28T04:16:38.893Z",
          "content": "<p>Hi <a href=\"/philculliton\">@philculliton</a>, thank you very much for your reply. <br>\nFirst of all, I'm really very very sorry if my posts prevent this competition.  </p>\n\n<p>And there are two requests. <br>\nThe first is that it doesn't matter even after the competition ended, so why did you not clarify the weight at the start of the competition and what is the significance of the weight (I'm MD and I think it is somehow related to clinical usage, or I think you expect high generalization models even for easy tasks). <br>\nSecond, <strong>please don't make big change (ex. change weights, delete metadata, etc.) in stage 2.</strong></p>",
          "rawMarkdown": "Hi @philculliton, thank you very much for your reply.  \nFirst of all, I'm really very very sorry if my posts prevent this competition.  \n\nAnd there are two requests.  \nThe first is that it doesn't matter even after the competition ended, so why did you not clarify the weight at the start of the competition and what is the significance of the weight (I'm MD and I think it is somehow related to clinical usage, or I think you expect high generalization models even for easy tasks).  \nSecond, **please don't make big change (ex. change weights, delete metadata, etc.) in stage 2.**",
          "votes": 3
        },
        {
          "id": 636813,
          "postDate": "2019-09-30T08:29:28.150Z",
          "content": "<p>It would be a big surprise to re-weight the loss on stage 2 :D</p>",
          "rawMarkdown": "It would be a big surprise to re-weight the loss on stage 2 :D",
          "votes": 2
        },
        {
          "id": 636870,
          "postDate": "2019-09-30T09:37:42.497Z",
          "content": "<p>I sincerely hope that this will not happen.</p>",
          "rawMarkdown": "I sincerely hope that this will not happen."
        },
        {
          "id": 643521,
          "postDate": "2019-10-07T15:30:26.007Z",
          "content": "<p>Hi, sorry I missed this, <a href=\"/kambarakun\">@kambarakun</a>!</p>\n\n<p>We will not be making any changes to the weights or metadata in stage 2.</p>",
          "rawMarkdown": "Hi, sorry I missed this, @kambarakun!\n\nWe will not be making any changes to the weights or metadata in stage 2.",
          "votes": 1
        },
        {
          "id": 644030,
          "postDate": "2019-10-08T08:31:01.700Z",
          "content": "<p><a href=\"/philculliton\">@philculliton</a> I am really happy to receive a reply. <br>\nI hope that it will be a good competition.</p>",
          "rawMarkdown": "@philculliton I am really happy to receive a reply.  \nI hope that it will be a good competition."
        }
      ]
    },
    {
      "id": 636680,
      "postDate": "2019-09-30T03:17:07.543Z",
      "content": "<p>so it's like score = <code>any*0.28 + disease1*0.14 + disease2*0.14 + disease3*0.14 + disease4*0.14 + disease5*0.14</code> <a href=\"/kambarakun\">@kambarakun</a> ?</p>",
      "rawMarkdown": "so it's like score = `any*0.28 + disease1*0.14 + disease2*0.14 + disease3*0.14 + disease4*0.14 + disease5*0.14` @kambarakun ?",
      "votes": 1,
      "replies": [
        {
          "id": 636869,
          "postDate": "2019-09-30T09:37:08.980Z",
          "content": "<p>It is almost correct. Exactly 1/7 and 2/7. <br>\nThe LB score is currently rounded down. If it is the same as other competitions, the number of digits may increase after the deadline.</p>",
          "rawMarkdown": "It is almost correct. Exactly 1/7 and 2/7.  \nThe LB score is currently rounded down. If it is the same as other competitions, the number of digits may increase after the deadline.",
          "votes": 3
        },
        {
          "id": 643036,
          "postDate": "2019-10-07T02:00:55.973Z",
          "content": "<p>Hi <a href=\"/kambarakun\">@kambarakun</a>. Could u explain me how [1, 1, 1, 1, 1, 2] turned into [1/7, 1/7, 1/7, 1/7, 1/7, 2/7]? Aren't these 2 supposed to be the same thing (weight 2 times bigger)?</p>",
          "rawMarkdown": "Hi @kambarakun. Could u explain me how [1, 1, 1, 1, 1, 2] turned into [1/7, 1/7, 1/7, 1/7, 1/7, 2/7]? Aren't these 2 supposed to be the same thing (weight 2 times bigger)?"
        },
        {
          "id": 644037,
          "postDate": "2019-10-08T08:35:25.697Z",
          "content": "<p>They are exactly the same. <br>\nI use the weights divided by 7 to adjust the sum of the logloss calculated for each label.</p>",
          "rawMarkdown": "They are exactly the same.   \nI use the weights divided by 7 to adjust the sum of the logloss calculated for each label."
        }
      ]
    },
    {
      "id": 643503,
      "postDate": "2019-10-07T14:59:41.073Z",
      "content": "<p>could you explain more on\"weights of any is x2 of others\"\nI can NOT follow you.\nThanks</p>",
      "rawMarkdown": "could you explain more on\"weights of any is x2 of others\"\nI can NOT follow you.\nThanks",
      "replies": [
        {
          "id": 644043,
          "postDate": "2019-10-08T08:42:46.050Z",
          "content": "<p>This means that the impact on the score is twice that of other labels.</p>\n\n<p>From this, I think that any prediction method is worth trial and error. <br>\nFor example, is it a direct model prediction, probability calculation, or some post-processing?</p>\n\n<p>Perhaps some people think that the influence of any is minor.</p>",
          "rawMarkdown": "This means that the impact on the score is twice that of other labels.\n\nFrom this, I think that any prediction method is worth trial and error.   \nFor example, is it a direct model prediction, probability calculation, or some post-processing?\n\nPerhaps some people think that the influence of any is minor."
        }
      ]
    },
    {
      "id": 641855,
      "postDate": "2019-10-05T08:39:01.913Z",
      "rawMarkdown": "",
      "isDeleted": true,
      "replies": [
        {
          "id": 644045,
          "postDate": "2019-10-08T08:44:04.330Z",
          "content": "<p>I think they are more important for training than prediction.  </p>\n\n<p>Please check the other great topics and posts! <br>\nFor example, <a href=\"https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/111198641613\">https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/111198641613</a></p>",
          "rawMarkdown": "I think they are more important for training than prediction.  \n\nPlease check the other great topics and posts!  \nFor example, https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/111198641613"
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 635686,
      "author_name": "Phil Culliton",
      "author_url": "",
      "post_date": "2019-09-28T03:05:38.387000",
      "content": "<p>Hi <a href=\"/kambarakun\">@kambarakun</a> - correct on the weight. The metric is written in C# and is not in any way related to scikit-learn's excellent implementation, apart from doing the same math. I'm glad it lines up so nicely!</p>",
      "votes": 4,
      "replies": [
        {
          "id": 635702,
          "author_name": "kambarakun",
          "author_url": "",
          "post_date": "2019-09-28T04:16:38.893000",
          "content": "<p>Hi <a href=\"/philculliton\">@philculliton</a>, thank you very much for your reply. <br>\nFirst of all, I'm really very very sorry if my posts prevent this competition.  </p>\n\n<p>And there are two requests. <br>\nThe first is that it doesn't matter even after the competition ended, so why did you not clarify the weight at the start of the competition and what is the significance of the weight (I'm MD and I think it is somehow related to clinical usage, or I think you expect high generalization models even for easy tasks). <br>\nSecond, <strong>please don't make big change (ex. change weights, delete metadata, etc.) in stage 2.</strong></p>",
          "votes": 3,
          "replies": []
        },
        {
          "id": 636813,
          "author_name": "Ilia Zaitsev",
          "author_url": "",
          "post_date": "2019-09-30T08:29:28.150000",
          "content": "<p>It would be a big surprise to re-weight the loss on stage 2 :D</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 636870,
          "author_name": "kambarakun",
          "author_url": "",
          "post_date": "2019-09-30T09:37:42.497000",
          "content": "<p>I sincerely hope that this will not happen.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 643521,
          "author_name": "Phil Culliton",
          "author_url": "",
          "post_date": "2019-10-07T15:30:26.007000",
          "content": "<p>Hi, sorry I missed this, <a href=\"/kambarakun\">@kambarakun</a>!</p>\n\n<p>We will not be making any changes to the weights or metadata in stage 2.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 644030,
          "author_name": "kambarakun",
          "author_url": "",
          "post_date": "2019-10-08T08:31:01.700000",
          "content": "<p><a href=\"/philculliton\">@philculliton</a> I am really happy to receive a reply. <br>\nI hope that it will be a good competition.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 636680,
      "author_name": "DatNT",
      "author_url": "",
      "post_date": "2019-09-30T03:17:07.543000",
      "content": "<p>so it's like score = <code>any*0.28 + disease1*0.14 + disease2*0.14 + disease3*0.14 + disease4*0.14 + disease5*0.14</code> <a href=\"/kambarakun\">@kambarakun</a> ?</p>",
      "votes": 1,
      "replies": [
        {
          "id": 636869,
          "author_name": "kambarakun",
          "author_url": "",
          "post_date": "2019-09-30T09:37:08.980000",
          "content": "<p>It is almost correct. Exactly 1/7 and 2/7. <br>\nThe LB score is currently rounded down. If it is the same as other competitions, the number of digits may increase after the deadline.</p>",
          "votes": 3,
          "replies": []
        },
        {
          "id": 643036,
          "author_name": "Gurgel",
          "author_url": "",
          "post_date": "2019-10-07T02:00:55.973000",
          "content": "<p>Hi <a href=\"/kambarakun\">@kambarakun</a>. Could u explain me how [1, 1, 1, 1, 1, 2] turned into [1/7, 1/7, 1/7, 1/7, 1/7, 2/7]? Aren't these 2 supposed to be the same thing (weight 2 times bigger)?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 644037,
          "author_name": "kambarakun",
          "author_url": "",
          "post_date": "2019-10-08T08:35:25.697000",
          "content": "<p>They are exactly the same. <br>\nI use the weights divided by 7 to adjust the sum of the logloss calculated for each label.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 643503,
      "author_name": "pupil3",
      "author_url": "",
      "post_date": "2019-10-07T14:59:41.073000",
      "content": "<p>could you explain more on\"weights of any is x2 of others\"\nI can NOT follow you.\nThanks</p>",
      "votes": 0,
      "replies": [
        {
          "id": 644043,
          "author_name": "kambarakun",
          "author_url": "",
          "post_date": "2019-10-08T08:42:46.050000",
          "content": "<p>This means that the impact on the score is twice that of other labels.</p>\n\n<p>From this, I think that any prediction method is worth trial and error. <br>\nFor example, is it a direct model prediction, probability calculation, or some post-processing?</p>\n\n<p>Perhaps some people think that the influence of any is minor.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 641855,
      "author_name": "",
      "author_url": "",
      "post_date": "2019-10-05T08:39:01.913000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 644045,
          "author_name": "kambarakun",
          "author_url": "",
          "post_date": "2019-10-08T08:44:04.330000",
          "content": "<p>I think they are more important for training than prediction.  </p>\n\n<p>Please check the other great topics and posts! <br>\nFor example, <a href=\"https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/111198641613\">https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/111198641613</a></p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "635681": "**LB probe is completed!** I revealed the following three facts(almost no doubt). \n\n* weights of `any` is x2 of others\n* n_positives of each class\n* Metrics is same as `sklearn.metrics.log_loss()` with `sample_weight=([1, 1, 1, 1, 1, 2] * 78545)`. LB score is round off, not round().\n\nIf you need, please see my kernel for details.  \nhttps://www.kaggle.com/kambarakun/lb-probe-weights-n-of-positives-scoring\n\n**From now on, I will concentrate on making models!!**",
    "635686": "Hi @kambarakun - correct on the weight. The metric is written in C# and is not in any way related to scikit-learn's excellent implementation, apart from doing the same math. I'm glad it lines up so nicely!",
    "636680": "so it's like score = `any*0.28 + disease1*0.14 + disease2*0.14 + disease3*0.14 + disease4*0.14 + disease5*0.14` @kambarakun ?",
    "643503": "could you explain more on\"weights of any is x2 of others\"\nI can NOT follow you.\nThanks",
    "641855": ""
  }
}