{
  "id": 457694,
  "title": "Is there any tricks in post processing?",
  "url": "/competitions/child-mind-institute-detect-sleep-states/discussion/457694",
  "author_name": "",
  "post_date": "2023-11-26T08:42:46.068696300Z",
  "votes": 15,
  "comment_count": 9,
  "views": 0,
  "content": "<p>When we ensemble different models, there are currently two strategies: 1. All models have the same weight; 2. Different models have different weights. Based on the current public score comparison, it is evident that the second method can achieve higher scores. However, please note that we set weights for different models based on their public scores. If there is a significant difference in scores between the public dataset and the final dataset, this may lead to overfitting. So do you have any strategies for model ensemble？Welcome to discuss😁</p>",
  "messages": [
    {
      "id": "2538541",
      "postDate": "11/26/2023 08:42:46",
      "content": "<p>When we ensemble different models, there are currently two strategies: 1. All models have the same weight; 2. Different models have different weights. Based on the current public score comparison, it is evident that the second method can achieve higher scores. However, please note that we set weights for different models based on their public scores. If there is a significant difference in scores between the public dataset and the final dataset, this may lead to overfitting. So do you have any strategies for model ensemble？Welcome to discuss😁</p>",
      "rawMarkdown": "When we ensemble different models, there are currently two strategies: 1. All models have the same weight; 2. Different models have different weights. Based on the current public score comparison, it is evident that the second method can achieve higher scores. However, please note that we set weights for different models based on their public scores. If there is a significant difference in scores between the public dataset and the final dataset, this may lead to overfitting. So do you have any strategies for model ensemble？Welcome to discuss😁",
      "votes": null
    },
    {
      "id": "2539204",
      "postDate": "11/26/2023 20:18:22",
      "content": "<p>The simplest strategy is to take several different models with similar CV/LB,  average their predictions, and get final submission file from it.</p>",
      "rawMarkdown": "The simplest strategy is to take several different models with similar CV/LB,  average their predictions, and get final submission file from it.",
      "votes": null
    },
    {
      "id": "2539373",
      "postDate": "11/27/2023 02:37:30",
      "content": "<p>That makes sense but it is slightly more difficult in this competition. Are you doing this with an augmentation of the public notebook pre post-processing on all steps and then post processing? </p>",
      "rawMarkdown": "That makes sense but it is slightly more difficult in this competition. Are you doing this with an augmentation of the public notebook pre post-processing on all steps and then post processing?",
      "votes": null
    },
    {
      "id": "2539376",
      "postDate": "11/27/2023 02:46:34",
      "content": "<p>In fact, as you said, I have performed a simple average ensemble of several models, but blindly merging the models does not improve the score on lb. I think some special skills need to be added to the post-processing, This technique can significantly improve LB scores. I believe the top 20 on the list have discovered this technique. I have not been able to explore it yet.</p>",
      "rawMarkdown": "In fact, as you said, I have performed a simple average ensemble of several models, but blindly merging the models does not improve the score on lb. I think some special skills need to be added to the post-processing, This technique can significantly improve LB scores. I believe the top 20 on the list have discovered this technique. I have not been able to explore it yet.",
      "votes": null
    },
    {
      "id": "2539569",
      "postDate": "11/27/2023 06:35:34",
      "content": "<p>Although the evaluation metric is different from this competition, <a href=\"https://www.kaggle.com/c/siim-isic-melanoma-classification/discussion/165653\" target=\"_blank\">the technique to maximize AUC</a> is posted by <a href=\"https://www.kaggle.com/sirishks\" target=\"_blank\">@sirishks</a> in <a href=\"https://www.kaggle.com/c/siim-isic-melanoma-classification\" target=\"_blank\">SIIM-ISIC Melanoma Classification</a> competition. If you are outputting the probability for each step, you may want to try it. I was particularly interested in power averaging. But it didn't work for me.</p>",
      "rawMarkdown": "Although the evaluation metric is different from this competition, [the technique to maximize AUC](https://www.kaggle.com/c/siim-isic-melanoma-classification/discussion/165653) is posted by @sirishks in [SIIM-ISIC Melanoma Classification](https://www.kaggle.com/c/siim-isic-melanoma-classification) competition. If you are outputting the probability for each step, you may want to try it. I was particularly interested in power averaging. But it didn't work for me.",
      "votes": null
    },
    {
      "id": "2539577",
      "postDate": "11/27/2023 06:49:25",
      "content": "<p>Maybe \"power averaging\" is a good idea. I looked at the probability distributions of several of my best models and found that their distributions were extremely similar. Thank you for your reply.</p>",
      "rawMarkdown": "Maybe \"power averaging\" is a good idea. I looked at the probability distributions of several of my best models and found that their distributions were extremely similar. Thank you for your reply.",
      "votes": null
    },
    {
      "id": "2539582",
      "postDate": "11/27/2023 06:55:54",
      "content": "<p>I'm still experimenting with single models</p>",
      "rawMarkdown": "I'm still experimenting with single models",
      "votes": null
    },
    {
      "id": "2539703",
      "postDate": "11/27/2023 09:20:28",
      "content": "<p>I think post-processing is quite important in this competition, not only for detecting true positive events more accurately but for eliminating false positive events.</p>",
      "rawMarkdown": "I think post-processing is quite important in this competition, not only for detecting true positive events more accurately but for eliminating false positive events.",
      "votes": null
    },
    {
      "id": "2539738",
      "postDate": "11/27/2023 09:34:19",
      "content": "<p>totally agree with you</p>",
      "rawMarkdown": "totally agree with you",
      "votes": null
    },
    {
      "id": "2541421",
      "postDate": "11/28/2023 13:33:52",
      "content": "<p>Yes, like you, I have also performed a simple averaging of multiple models and have reached a bottleneck. It seems that post-processing is crucial.</p>",
      "rawMarkdown": "Yes, like you, I have also performed a simple averaging of multiple models and have reached a bottleneck. It seems that post-processing is crucial.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2539204,
      "author_name": "atamazian",
      "author_url": "",
      "post_date": "11/26/2023 20:18:22",
      "content": "<p>The simplest strategy is to take several different models with similar CV/LB,  average their predictions, and get final submission file from it.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2539373,
          "author_name": "cody11null",
          "author_url": "",
          "post_date": "11/27/2023 02:37:30",
          "content": "<p>That makes sense but it is slightly more difficult in this competition. Are you doing this with an augmentation of the public notebook pre post-processing on all steps and then post processing? </p>",
          "votes": null,
          "replies": [
            {
              "id": 2539582,
              "author_name": "atamazian",
              "author_url": "",
              "post_date": "11/27/2023 06:55:54",
              "content": "<p>I'm still experimenting with single models</p>",
              "votes": null,
              "replies": []
            }
          ]
        },
        {
          "id": 2539376,
          "author_name": "gentlezdh",
          "author_url": "",
          "post_date": "11/27/2023 02:46:34",
          "content": "<p>In fact, as you said, I have performed a simple average ensemble of several models, but blindly merging the models does not improve the score on lb. I think some special skills need to be added to the post-processing, This technique can significantly improve LB scores. I believe the top 20 on the list have discovered this technique. I have not been able to explore it yet.</p>",
          "votes": null,
          "replies": [
            {
              "id": 2541421,
              "author_name": "koalas",
              "author_url": "",
              "post_date": "11/28/2023 13:33:52",
              "content": "<p>Yes, like you, I have also performed a simple averaging of multiple models and have reached a bottleneck. It seems that post-processing is crucial.</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2539569,
      "author_name": "itsuki9180",
      "author_url": "",
      "post_date": "11/27/2023 06:35:34",
      "content": "<p>Although the evaluation metric is different from this competition, <a href=\"https://www.kaggle.com/c/siim-isic-melanoma-classification/discussion/165653\" target=\"_blank\">the technique to maximize AUC</a> is posted by <a href=\"https://www.kaggle.com/sirishks\" target=\"_blank\">@sirishks</a> in <a href=\"https://www.kaggle.com/c/siim-isic-melanoma-classification\" target=\"_blank\">SIIM-ISIC Melanoma Classification</a> competition. If you are outputting the probability for each step, you may want to try it. I was particularly interested in power averaging. But it didn't work for me.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2539577,
          "author_name": "gentlezdh",
          "author_url": "",
          "post_date": "11/27/2023 06:49:25",
          "content": "<p>Maybe \"power averaging\" is a good idea. I looked at the probability distributions of several of my best models and found that their distributions were extremely similar. Thank you for your reply.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 2539703,
      "author_name": "takanashihumbert",
      "author_url": "",
      "post_date": "11/27/2023 09:20:28",
      "content": "<p>I think post-processing is quite important in this competition, not only for detecting true positive events more accurately but for eliminating false positive events.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2539738,
          "author_name": "gentlezdh",
          "author_url": "",
          "post_date": "11/27/2023 09:34:19",
          "content": "<p>totally agree with you</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2538541": "When we ensemble different models, there are currently two strategies: 1. All models have the same weight; 2. Different models have different weights. Based on the current public score comparison, it is evident that the second method can achieve higher scores. However, please note that we set weights for different models based on their public scores. If there is a significant difference in scores between the public dataset and the final dataset, this may lead to overfitting. So do you have any strategies for model ensemble？Welcome to discuss😁",
    "2539204": "The simplest strategy is to take several different models with similar CV/LB,  average their predictions, and get final submission file from it.",
    "2539373": "That makes sense but it is slightly more difficult in this competition. Are you doing this with an augmentation of the public notebook pre post-processing on all steps and then post processing?",
    "2539376": "In fact, as you said, I have performed a simple average ensemble of several models, but blindly merging the models does not improve the score on lb. I think some special skills need to be added to the post-processing, This technique can significantly improve LB scores. I believe the top 20 on the list have discovered this technique. I have not been able to explore it yet.",
    "2539569": "Although the evaluation metric is different from this competition, [the technique to maximize AUC](https://www.kaggle.com/c/siim-isic-melanoma-classification/discussion/165653) is posted by @sirishks in [SIIM-ISIC Melanoma Classification](https://www.kaggle.com/c/siim-isic-melanoma-classification) competition. If you are outputting the probability for each step, you may want to try it. I was particularly interested in power averaging. But it didn't work for me.",
    "2539577": "Maybe \"power averaging\" is a good idea. I looked at the probability distributions of several of my best models and found that their distributions were extremely similar. Thank you for your reply.",
    "2539582": "I'm still experimenting with single models",
    "2539703": "I think post-processing is quite important in this competition, not only for detecting true positive events more accurately but for eliminating false positive events.",
    "2539738": "totally agree with you",
    "2541421": "Yes, like you, I have also performed a simple averaging of multiple models and have reached a bottleneck. It seems that post-processing is crucial."
  },
  "source": "meta"
}