{
  "id": 552517,
  "title": "14th place solution",
  "url": "/competitions/child-mind-institute-problematic-internet-use/writeups/laura-romar-14th-place-solution",
  "author_name": "",
  "post_date": "2024-12-20T04:27:29.810Z",
  "votes": 20,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Hello everyone! I am very happy to have won a gold medal and I would like to share my solution with you:</p>\n<ul>\n<li>This is a single classification model (yes! not a regression model)</li>\n<li>This solution was based on some sophisticated DNN that was the <a href=\"https://www.kaggle.com/competitions/icr-identify-age-related-conditions/discussion/430843\">winning solution</a> of the <a href=\"https://www.kaggle.com/competitions/icr-identify-age-related-conditions\">ICR competition</a>. I loved it when I saw it and I was waiting for a competition where I could apply it.</li>\n<li>Use <a href=\"https://scikit-learn.org/1.5/modules/generated/sklearn.impute.IterativeImputer.html#sklearn.impute.IterativeImputer\">IterativeImputer</a> class as a strategy for imputing the missing values,  which models each feature with missing values ​​based on other features and uses that estimate for imputation. I decided to use both the train and test data to perform the fit and trained the model online so that I could take the data from the private test.</li>\n<li>Take the enmo from the actigraphy data differentiating weekdays from weekends and grouping them by day and time slots.</li>\n<li>Train with ALL the data</li>\n<li>Use weights to balance the classes in the loss function</li>\n<li>Take the average of the predictions of the same model with 10 different seeds</li>\n</ul>\n<p>Many thanks to the organizers of this competition and to everyone who participated by sharing their ideas and code !</p>\n<p><a href=\"https://www.kaggle.com/code/lauraromar/14th-place-solution?scriptVersionId=208026436\">Here</a> I share the code of my solution.</p>",
  "messages": [
    {
      "id": "3076558",
      "postDate": "12/20/2024 04:22:56",
      "content": "<p>Hello everyone! I am very happy to have won a gold medal and I would like to share my solution with you:</p>\n<ul>\n<li>This is a single classification model (yes! not a regression model)</li>\n<li>This solution was based on some sophisticated DNN that was the <a href=\"https://www.kaggle.com/competitions/icr-identify-age-related-conditions/discussion/430843\">winning solution</a> of the <a href=\"https://www.kaggle.com/competitions/icr-identify-age-related-conditions\">ICR competition</a>. I loved it when I saw it and I was waiting for a competition where I could apply it.</li>\n<li>Use <a href=\"https://scikit-learn.org/1.5/modules/generated/sklearn.impute.IterativeImputer.html#sklearn.impute.IterativeImputer\">IterativeImputer</a> class as a strategy for imputing the missing values,  which models each feature with missing values ​​based on other features and uses that estimate for imputation. I decided to use both the train and test data to perform the fit and trained the model online so that I could take the data from the private test.</li>\n<li>Take the enmo from the actigraphy data differentiating weekdays from weekends and grouping them by day and time slots.</li>\n<li>Train with ALL the data</li>\n<li>Use weights to balance the classes in the loss function</li>\n<li>Take the average of the predictions of the same model with 10 different seeds</li>\n</ul>\n<p>Many thanks to the organizers of this competition and to everyone who participated by sharing their ideas and code !</p>\n<p><a href=\"https://www.kaggle.com/code/lauraromar/14th-place-solution?scriptVersionId=208026436\">Here</a> I share the code of my solution.</p>",
      "rawMarkdown": "Hello everyone! I am very happy to have won a gold medal and I would like to share my solution with you:\n- This is a single classification model (yes! not a regression model)\n- This solution was based on some sophisticated DNN that was the <a href=\"https://www.kaggle.com/competitions/icr-identify-age-related-conditions/discussion/430843\">winning solution</a> of the <a href=\"https://www.kaggle.com/competitions/icr-identify-age-related-conditions\">ICR competition</a>. I loved it when I saw it and I was waiting for a competition where I could apply it.\n- Use <a href=\"https://scikit-learn.org/1.5/modules/generated/sklearn.impute.IterativeImputer.html#sklearn.impute.IterativeImputer\">IterativeImputer</a> class as a strategy for imputing the missing values,  which models each feature with missing values ​​based on other features and uses that estimate for imputation. I decided to use both the train and test data to perform the fit and trained the model online so that I could take the data from the private test.\n- Take the enmo from the actigraphy data differentiating weekdays from weekends and grouping them by day and time slots.\n- Train with ALL the data\n- Use weights to balance the classes in the loss function\n- Take the average of the predictions of the same model with 10 different seeds\n\nMany thanks to the organizers of this competition and to everyone who participated by sharing their ideas and code !\n\n<a href=\"https://www.kaggle.com/code/lauraromar/14th-place-solution?scriptVersionId=208026436\">Here</a> I share the code of my solution.",
      "votes": null
    },
    {
      "id": "3076563",
      "postDate": "12/20/2024 04:30:48",
      "content": "<p>Congratulations. I was also inspired by this winning DNN but used another one. <code>IterativeImputer</code> produced good results in my pipeline as well; I preferred this technique among other imputation ways.</p>",
      "rawMarkdown": "Congratulations. I was also inspired by this winning DNN but used another one. `IterativeImputer` produced good results in my pipeline as well; I preferred this technique among other imputation ways.",
      "votes": null
    },
    {
      "id": "3076843",
      "postDate": "12/20/2024 10:16:30",
      "content": "<p>Felicitaciones Laura! Increíble shakeup, gran trabajo. Buen autoregalo de navidad la medalla de oro ja. Felices fiestas!</p>",
      "rawMarkdown": "Felicitaciones Laura! Increíble shakeup, gran trabajo. Buen autoregalo de navidad la medalla de oro ja. Felices fiestas!",
      "votes": null
    },
    {
      "id": "3077263",
      "postDate": "12/20/2024 18:07:00",
      "content": "<p>Muchas gracias Maxi ! Muy contenta con mi autoregalito Navideño, jaja. Felices fiestas !</p>",
      "rawMarkdown": "Muchas gracias Maxi ! Muy contenta con mi autoregalito Navideño, jaja. Felices fiestas !",
      "votes": null
    },
    {
      "id": "3078698",
      "postDate": "12/22/2024 17:23:58",
      "content": "<p><a href=\"https://www.kaggle.com/lauraromar\" target=\"_blank\">@lauraromar</a>  firstly congratulation , isee that you participate in ICR competition you are not get good position in it but it seems that you learn a lot from it, what i learn from your post is that when you work hard in a competition you never lose , if you get gold or silver medal that good and if you get nothing you'll be prepared fr next competitions what is important is to keep going</p>",
      "rawMarkdown": "lauraromar  firstly congratulation , isee that you participate in ICR competition you are not get good position in it but it seems that you learn a lot from it, what i learn from your post is that when you work hard in a competition you never lose , if you get gold or silver medal that good and if you get nothing you'll be prepared fr next competitions what is important is to keep going",
      "votes": null
    },
    {
      "id": "3078882",
      "postDate": "12/23/2024 01:21:47",
      "content": "<p>Thank you so much ! It's just as you say, in my case, I learned a lot from each competition, thanks to the invaluable discussions and the code shared by the kagglers. I think this is the most valuable thing that competitions leave us…beyond the medals that always make us happy :)</p>",
      "rawMarkdown": "Thank you so much ! It's just as you say, in my case, I learned a lot from each competition, thanks to the invaluable discussions and the code shared by the kagglers. I think this is the most valuable thing that competitions leave us...beyond the medals that always make us happy :)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3076563,
      "author_name": "yekenot",
      "author_url": "",
      "post_date": "12/20/2024 04:30:48",
      "content": "<p>Congratulations. I was also inspired by this winning DNN but used another one. <code>IterativeImputer</code> produced good results in my pipeline as well; I preferred this technique among other imputation ways.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 3076843,
      "author_name": "maxdiazbattan",
      "author_url": "",
      "post_date": "12/20/2024 10:16:30",
      "content": "<p>Felicitaciones Laura! Increíble shakeup, gran trabajo. Buen autoregalo de navidad la medalla de oro ja. Felices fiestas!</p>",
      "votes": null,
      "replies": [
        {
          "id": 3077263,
          "author_name": "lauraromar",
          "author_url": "",
          "post_date": "12/20/2024 18:07:00",
          "content": "<p>Muchas gracias Maxi ! Muy contenta con mi autoregalito Navideño, jaja. Felices fiestas !</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3078698,
      "author_name": "saidkoussi",
      "author_url": "",
      "post_date": "12/22/2024 17:23:58",
      "content": "<p><a href=\"https://www.kaggle.com/lauraromar\" target=\"_blank\">@lauraromar</a>  firstly congratulation , isee that you participate in ICR competition you are not get good position in it but it seems that you learn a lot from it, what i learn from your post is that when you work hard in a competition you never lose , if you get gold or silver medal that good and if you get nothing you'll be prepared fr next competitions what is important is to keep going</p>",
      "votes": null,
      "replies": [
        {
          "id": 3078882,
          "author_name": "lauraromar",
          "author_url": "",
          "post_date": "12/23/2024 01:21:47",
          "content": "<p>Thank you so much ! It's just as you say, in my case, I learned a lot from each competition, thanks to the invaluable discussions and the code shared by the kagglers. I think this is the most valuable thing that competitions leave us…beyond the medals that always make us happy :)</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3076558": "Hello everyone! I am very happy to have won a gold medal and I would like to share my solution with you:\n- This is a single classification model (yes! not a regression model)\n- This solution was based on some sophisticated DNN that was the <a href=\"https://www.kaggle.com/competitions/icr-identify-age-related-conditions/discussion/430843\">winning solution</a> of the <a href=\"https://www.kaggle.com/competitions/icr-identify-age-related-conditions\">ICR competition</a>. I loved it when I saw it and I was waiting for a competition where I could apply it.\n- Use <a href=\"https://scikit-learn.org/1.5/modules/generated/sklearn.impute.IterativeImputer.html#sklearn.impute.IterativeImputer\">IterativeImputer</a> class as a strategy for imputing the missing values,  which models each feature with missing values ​​based on other features and uses that estimate for imputation. I decided to use both the train and test data to perform the fit and trained the model online so that I could take the data from the private test.\n- Take the enmo from the actigraphy data differentiating weekdays from weekends and grouping them by day and time slots.\n- Train with ALL the data\n- Use weights to balance the classes in the loss function\n- Take the average of the predictions of the same model with 10 different seeds\n\nMany thanks to the organizers of this competition and to everyone who participated by sharing their ideas and code !\n\n<a href=\"https://www.kaggle.com/code/lauraromar/14th-place-solution?scriptVersionId=208026436\">Here</a> I share the code of my solution.",
    "3076563": "Congratulations. I was also inspired by this winning DNN but used another one. `IterativeImputer` produced good results in my pipeline as well; I preferred this technique among other imputation ways.",
    "3076843": "Felicitaciones Laura! Increíble shakeup, gran trabajo. Buen autoregalo de navidad la medalla de oro ja. Felices fiestas!",
    "3077263": "Muchas gracias Maxi ! Muy contenta con mi autoregalito Navideño, jaja. Felices fiestas !",
    "3078698": "lauraromar  firstly congratulation , isee that you participate in ICR competition you are not get good position in it but it seems that you learn a lot from it, what i learn from your post is that when you work hard in a competition you never lose , if you get gold or silver medal that good and if you get nothing you'll be prepared fr next competitions what is important is to keep going",
    "3078882": "Thank you so much ! It's just as you say, in my case, I learned a lot from each competition, thanks to the invaluable discussions and the code shared by the kagglers. I think this is the most valuable thing that competitions leave us...beyond the medals that always make us happy :)"
  },
  "source": "meta"
}