{
  "id": 586235,
  "title": "How to improve [Notebook Threw Exception]",
  "url": "/competitions/cmi-detect-behavior-with-sensor-data/discussion/586235",
  "author_name": "",
  "post_date": "2025-06-25T15:39:59.121693900Z",
  "votes": null,
  "comment_count": 3,
  "views": 0,
  "content": "<p>It runs fine on local test, but after submission I get Notebook Threw Exception. I am new to Kaggle and don't know how to resolve this. I would appreciate it if someone could tell me how to solve this problem or if I am writing the code incorrectly.</p>\n<p><a href=\"https://www.kaggle.com/code/naitoyuta/bfrb-ny-notebook\" target=\"_blank\">https://www.kaggle.com/code/naitoyuta/bfrb-ny-notebook</a></p>",
  "messages": [
    {
      "id": "3232344",
      "postDate": "06/25/2025 15:39:59",
      "content": "<p>It runs fine on local test, but after submission I get Notebook Threw Exception. I am new to Kaggle and don't know how to resolve this. I would appreciate it if someone could tell me how to solve this problem or if I am writing the code incorrectly.</p>\n<p><a href=\"https://www.kaggle.com/code/naitoyuta/bfrb-ny-notebook\" target=\"_blank\">https://www.kaggle.com/code/naitoyuta/bfrb-ny-notebook</a></p>",
      "rawMarkdown": "It runs fine on local test, but after submission I get Notebook Threw Exception. I am new to Kaggle and don't know how to resolve this. I would appreciate it if someone could tell me how to solve this problem or if I am writing the code incorrectly.\n\nhttps://www.kaggle.com/code/naitoyuta/bfrb-ny-notebook",
      "votes": null
    },
    {
      "id": "3232361",
      "postDate": "06/25/2025 16:00:36",
      "content": "<p>Are you using two branches? like one for imu and one for a model using all sensors. If you have a selection mechanism in your predict function to select which one of the two models you would use based on the data availability, it might be due to your imu model is providing wrong output. All the samples in the test.csv have all the data, it will not test your imu_model.</p>",
      "rawMarkdown": "Are you using two branches? like one for imu and one for a model using all sensors. If you have a selection mechanism in your predict function to select which one of the two models you would use based on the data availability, it might be due to your imu model is providing wrong output. All the samples in the test.csv have all the data, it will not test your imu_model.",
      "votes": null
    },
    {
      "id": "3232364",
      "postDate": "06/25/2025 16:03:28",
      "content": "<p>Even if you use just one model, you need to be aware that half of the evaluation will be done only with imu sensor data, so you need to check if you handle the null values correctly for those sequences that have only imu sensor data (at this time other columns are null values)</p>",
      "rawMarkdown": "Even if you use just one model, you need to be aware that half of the evaluation will be done only with imu sensor data, so you need to check if you handle the null values correctly for those sequences that have only imu sensor data (at this time other columns are null values)",
      "votes": null
    },
    {
      "id": "3233285",
      "postDate": "06/26/2025 16:41:30",
      "content": "<p>Thank you very much! As you pointed out, my process did not properly handle null values when the data was one data for IMU only.I was able to improve and submit the data successfully.The score is very bad though.</p>",
      "rawMarkdown": "Thank you very much! As you pointed out, my process did not properly handle null values when the data was one data for IMU only.I was able to improve and submit the data successfully.The score is very bad though.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3232361,
      "author_name": "georgewang73",
      "author_url": "",
      "post_date": "06/25/2025 16:00:36",
      "content": "<p>Are you using two branches? like one for imu and one for a model using all sensors. If you have a selection mechanism in your predict function to select which one of the two models you would use based on the data availability, it might be due to your imu model is providing wrong output. All the samples in the test.csv have all the data, it will not test your imu_model.</p>",
      "votes": null,
      "replies": [
        {
          "id": 3232364,
          "author_name": "georgewang73",
          "author_url": "",
          "post_date": "06/25/2025 16:03:28",
          "content": "<p>Even if you use just one model, you need to be aware that half of the evaluation will be done only with imu sensor data, so you need to check if you handle the null values correctly for those sequences that have only imu sensor data (at this time other columns are null values)</p>",
          "votes": null,
          "replies": [
            {
              "id": 3233285,
              "author_name": "naitoyuta",
              "author_url": "",
              "post_date": "06/26/2025 16:41:30",
              "content": "<p>Thank you very much! As you pointed out, my process did not properly handle null values when the data was one data for IMU only.I was able to improve and submit the data successfully.The score is very bad though.</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3232344": "It runs fine on local test, but after submission I get Notebook Threw Exception. I am new to Kaggle and don't know how to resolve this. I would appreciate it if someone could tell me how to solve this problem or if I am writing the code incorrectly.\n\nhttps://www.kaggle.com/code/naitoyuta/bfrb-ny-notebook",
    "3232361": "Are you using two branches? like one for imu and one for a model using all sensors. If you have a selection mechanism in your predict function to select which one of the two models you would use based on the data availability, it might be due to your imu model is providing wrong output. All the samples in the test.csv have all the data, it will not test your imu_model.",
    "3232364": "Even if you use just one model, you need to be aware that half of the evaluation will be done only with imu sensor data, so you need to check if you handle the null values correctly for those sequences that have only imu sensor data (at this time other columns are null values)",
    "3233285": "Thank you very much! As you pointed out, my process did not properly handle null values when the data was one data for IMU only.I was able to improve and submit the data successfully.The score is very bad though."
  },
  "source": "meta"
}