{
  "id": 549357,
  "title": "Submission Error: 'Notebook Threw Exception' can you please help",
  "url": "/competitions/child-mind-institute-problematic-internet-use/discussion/549357",
  "author_name": "",
  "post_date": "2024-12-02T02:26:11.193827200Z",
  "votes": null,
  "comment_count": 8,
  "views": 0,
  "content": "<p>Dear everyone,</p>\n<p>I am now encountering a submission error: 'Notebook Threw Exception' when submitting, though my notebok run without any error at local. <br>\nHere is my notebook: <a href=\"https://www.kaggle.com/code/neryna/cmi-problematic-internet-use-baseline\" target=\"_blank\">https://www.kaggle.com/code/neryna/cmi-problematic-internet-use-baseline</a><br>\nCould you please give me any advices or tips to fix this issue? <br>\nI am really welcome to any commets, thank you.</p>",
  "messages": [
    {
      "id": "3060699",
      "postDate": "12/02/2024 02:26:11",
      "content": "<p>Dear everyone,</p>\n<p>I am now encountering a submission error: 'Notebook Threw Exception' when submitting, though my notebok run without any error at local. <br>\nHere is my notebook: <a href=\"https://www.kaggle.com/code/neryna/cmi-problematic-internet-use-baseline\" target=\"_blank\">https://www.kaggle.com/code/neryna/cmi-problematic-internet-use-baseline</a><br>\nCould you please give me any advices or tips to fix this issue? <br>\nI am really welcome to any commets, thank you.</p>",
      "rawMarkdown": "Dear everyone,\n\nI am now encountering a submission error: 'Notebook Threw Exception' when submitting, though my notebok run without any error at local. \nHere is my notebook: https://www.kaggle.com/code/neryna/cmi-problematic-internet-use-baseline\nCould you please give me any advices or tips to fix this issue? \nI am really welcome to any commets, thank you.",
      "votes": null
    },
    {
      "id": "3061407",
      "postDate": "12/02/2024 15:45:15",
      "content": "<p>The issue might be caused by the newly created features containing infinite values or by the transformation methods applied. </p>",
      "rawMarkdown": "The issue might be caused by the newly created features containing infinite values or by the transformation methods applied.",
      "votes": null
    },
    {
      "id": "3061870",
      "postDate": "12/03/2024 03:35:25",
      "content": "<p>Your insight is perfect!<br>\nActually, the issue had been solved after removing recreated features.<br>\nThank you so much.</p>",
      "rawMarkdown": "Your insight is perfect!\nActually, the issue had been solved after removing recreated features.\nThank you so much.",
      "votes": null
    },
    {
      "id": "3062900",
      "postDate": "12/04/2024 02:46:47",
      "content": "<p>Please, it is my first time here in Kaggle competition. I do have this same error 'Notebook Threw Exception' and I can't find solution to it. I checked for infinite values after transformation and nothing was returned. Your help will be appreciated. I can share my notebook if you want.  Thanks</p>",
      "rawMarkdown": "Please, it is my first time here in Kaggle competition. I do have this same error 'Notebook Threw Exception' and I can't find solution to it. I checked for infinite values after transformation and nothing was returned. Your help will be appreciated. I can share my notebook if you want.  Thanks",
      "votes": null
    },
    {
      "id": "3062955",
      "postDate": "12/04/2024 03:45:38",
      "content": "<p>Did you check your feature engineering function, if you have any? Check if you have any function of form np.log() or 1/() so that it can generate some undefined values mathematically. </p>",
      "rawMarkdown": "Did you check your feature engineering function, if you have any? Check if you have any function of form np.log() or 1/() so that it can generate some undefined values mathematically.",
      "votes": null
    },
    {
      "id": "3063648",
      "postDate": "12/04/2024 18:04:15",
      "content": "<p>Thanks for your response. I did check and remove any undefined after transformation and I still have the same issue. If you can take a look, I will appreciate. This is the link: <a href=\"https://www.kaggle.com/code/kaylascholawrene/child-mind-v1\" target=\"_blank\">https://www.kaggle.com/code/kaylascholawrene/child-mind-v1</a>           Thanks</p>",
      "rawMarkdown": "Thanks for your response. I did check and remove any undefined after transformation and I still have the same issue. If you can take a look, I will appreciate. This is the link: https://www.kaggle.com/code/kaylascholawrene/child-mind-v1           Thanks",
      "votes": null
    },
    {
      "id": "3063749",
      "postDate": "12/04/2024 20:18:46",
      "content": "<p>I am checking now but I do not have much time today as I am quite busy with some of my projects. However, right off the bat, I want to ask you something about some parts of your code. Why would you impute the single dimension vector sii? It did not seem like a healthy imputation to me, check your [12] notebook cell.</p>\n<p>Also, I see that you are using your X_train with PCIAT (which are actually the targets, not features!) And you do not have those features in your actual test dataset. So if you train your model with targets inside your feature space as well, that will cause your model to only use those values, which is wrong.</p>\n<p>I may have missed some part in your code about this part, I did not have much time, sorry about that.</p>",
      "rawMarkdown": "I am checking now but I do not have much time today as I am quite busy with some of my projects. However, right off the bat, I want to ask you something about some parts of your code. Why would you impute the single dimension vector sii? It did not seem like a healthy imputation to me, check your [12] notebook cell.\n\nAlso, I see that you are using your X_train with PCIAT (which are actually the targets, not features!) And you do not have those features in your actual test dataset. So if you train your model with targets inside your feature space as well, that will cause your model to only use those values, which is wrong.\n\nI may have missed some part in your code about this part, I did not have much time, sorry about that.",
      "votes": null
    },
    {
      "id": "3063750",
      "postDate": "12/04/2024 20:20:59",
      "content": "<p>The PCIAT is like the answers of the parents to each question in the questionnaire with 20 questions. These are then added to generate PCIAT-PCIAT_Total, then it is mapped to sii. I see that your code is trying to fit by using PCIAT as features at some point to map to sii, which is already a deterministic function of the PCIAT-PCIAT_Total, the sum of all PCIAT question answers.</p>",
      "rawMarkdown": "The PCIAT is like the answers of the parents to each question in the questionnaire with 20 questions. These are then added to generate PCIAT-PCIAT_Total, then it is mapped to sii. I see that your code is trying to fit by using PCIAT as features at some point to map to sii, which is already a deterministic function of the PCIAT-PCIAT_Total, the sum of all PCIAT question answers.",
      "votes": null
    },
    {
      "id": "3063954",
      "postDate": "12/05/2024 03:47:08",
      "content": "<p>Thank you for your suggestions, I do appreciate. For the 'Notebook Threw Exception' issue, I still have it. I get no score and I do not know the reason. I will appreciate your assistance when you have time. Thanks</p>",
      "rawMarkdown": "Thank you for your suggestions, I do appreciate. For the 'Notebook Threw Exception' issue, I still have it. I get no score and I do not know the reason. I will appreciate your assistance when you have time. Thanks",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3061407,
      "author_name": "trcnveli",
      "author_url": "",
      "post_date": "12/02/2024 15:45:15",
      "content": "<p>The issue might be caused by the newly created features containing infinite values or by the transformation methods applied. </p>",
      "votes": null,
      "replies": [
        {
          "id": 3061870,
          "author_name": "neryna",
          "author_url": "",
          "post_date": "12/03/2024 03:35:25",
          "content": "<p>Your insight is perfect!<br>\nActually, the issue had been solved after removing recreated features.<br>\nThank you so much.</p>",
          "votes": null,
          "replies": [
            {
              "id": 3062900,
              "author_name": "kaylascholawrene",
              "author_url": "",
              "post_date": "12/04/2024 02:46:47",
              "content": "<p>Please, it is my first time here in Kaggle competition. I do have this same error 'Notebook Threw Exception' and I can't find solution to it. I checked for infinite values after transformation and nothing was returned. Your help will be appreciated. I can share my notebook if you want.  Thanks</p>",
              "votes": null,
              "replies": [
                {
                  "id": 3062955,
                  "author_name": "alperenduru",
                  "author_url": "",
                  "post_date": "12/04/2024 03:45:38",
                  "content": "<p>Did you check your feature engineering function, if you have any? Check if you have any function of form np.log() or 1/() so that it can generate some undefined values mathematically. </p>",
                  "votes": null,
                  "replies": [
                    {
                      "id": 3063648,
                      "author_name": "kaylascholawrene",
                      "author_url": "",
                      "post_date": "12/04/2024 18:04:15",
                      "content": "<p>Thanks for your response. I did check and remove any undefined after transformation and I still have the same issue. If you can take a look, I will appreciate. This is the link: <a href=\"https://www.kaggle.com/code/kaylascholawrene/child-mind-v1\" target=\"_blank\">https://www.kaggle.com/code/kaylascholawrene/child-mind-v1</a>           Thanks</p>",
                      "votes": null,
                      "replies": [
                        {
                          "id": 3063749,
                          "author_name": "alperenduru",
                          "author_url": "",
                          "post_date": "12/04/2024 20:18:46",
                          "content": "<p>I am checking now but I do not have much time today as I am quite busy with some of my projects. However, right off the bat, I want to ask you something about some parts of your code. Why would you impute the single dimension vector sii? It did not seem like a healthy imputation to me, check your [12] notebook cell.</p>\n<p>Also, I see that you are using your X_train with PCIAT (which are actually the targets, not features!) And you do not have those features in your actual test dataset. So if you train your model with targets inside your feature space as well, that will cause your model to only use those values, which is wrong.</p>\n<p>I may have missed some part in your code about this part, I did not have much time, sorry about that.</p>",
                          "votes": null,
                          "replies": [
                            {
                              "id": 3063750,
                              "author_name": "alperenduru",
                              "author_url": "",
                              "post_date": "12/04/2024 20:20:59",
                              "content": "<p>The PCIAT is like the answers of the parents to each question in the questionnaire with 20 questions. These are then added to generate PCIAT-PCIAT_Total, then it is mapped to sii. I see that your code is trying to fit by using PCIAT as features at some point to map to sii, which is already a deterministic function of the PCIAT-PCIAT_Total, the sum of all PCIAT question answers.</p>",
                              "votes": null,
                              "replies": [
                                {
                                  "id": 3063954,
                                  "author_name": "kaylascholawrene",
                                  "author_url": "",
                                  "post_date": "12/05/2024 03:47:08",
                                  "content": "<p>Thank you for your suggestions, I do appreciate. For the 'Notebook Threw Exception' issue, I still have it. I get no score and I do not know the reason. I will appreciate your assistance when you have time. Thanks</p>",
                                  "votes": null,
                                  "replies": []
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3060699": "Dear everyone,\n\nI am now encountering a submission error: 'Notebook Threw Exception' when submitting, though my notebok run without any error at local. \nHere is my notebook: https://www.kaggle.com/code/neryna/cmi-problematic-internet-use-baseline\nCould you please give me any advices or tips to fix this issue? \nI am really welcome to any commets, thank you.",
    "3061407": "The issue might be caused by the newly created features containing infinite values or by the transformation methods applied.",
    "3061870": "Your insight is perfect!\nActually, the issue had been solved after removing recreated features.\nThank you so much.",
    "3062900": "Please, it is my first time here in Kaggle competition. I do have this same error 'Notebook Threw Exception' and I can't find solution to it. I checked for infinite values after transformation and nothing was returned. Your help will be appreciated. I can share my notebook if you want.  Thanks",
    "3062955": "Did you check your feature engineering function, if you have any? Check if you have any function of form np.log() or 1/() so that it can generate some undefined values mathematically.",
    "3063648": "Thanks for your response. I did check and remove any undefined after transformation and I still have the same issue. If you can take a look, I will appreciate. This is the link: https://www.kaggle.com/code/kaylascholawrene/child-mind-v1           Thanks",
    "3063749": "I am checking now but I do not have much time today as I am quite busy with some of my projects. However, right off the bat, I want to ask you something about some parts of your code. Why would you impute the single dimension vector sii? It did not seem like a healthy imputation to me, check your [12] notebook cell.\n\nAlso, I see that you are using your X_train with PCIAT (which are actually the targets, not features!) And you do not have those features in your actual test dataset. So if you train your model with targets inside your feature space as well, that will cause your model to only use those values, which is wrong.\n\nI may have missed some part in your code about this part, I did not have much time, sorry about that.",
    "3063750": "The PCIAT is like the answers of the parents to each question in the questionnaire with 20 questions. These are then added to generate PCIAT-PCIAT_Total, then it is mapped to sii. I see that your code is trying to fit by using PCIAT as features at some point to map to sii, which is already a deterministic function of the PCIAT-PCIAT_Total, the sum of all PCIAT question answers.",
    "3063954": "Thank you for your suggestions, I do appreciate. For the 'Notebook Threw Exception' issue, I still have it. I get no score and I do not know the reason. I will appreciate your assistance when you have time. Thanks"
  },
  "source": "meta"
}