{
  "id": 603547,
  "title": "110th place solution ",
  "url": "/competitions/cmi-detect-behavior-with-sensor-data/writeups/110th-place-solution",
  "author_name": "",
  "post_date": "2025-09-03T01:21:15.190Z",
  "votes": 23,
  "comment_count": 2,
  "views": 0,
  "content": "<h3>Acknowledgement</h3>\n<p>I want to thank my teammates <a href=\"https://www.kaggle.com/mahdiseddigh\" target=\"_blank\">@mahdiseddigh</a>, <a href=\"https://www.kaggle.com/shanzhong8\" target=\"_blank\">@shanzhong8</a>, <a href=\"https://www.kaggle.com/guoooooooss\" target=\"_blank\">@guoooooooss</a> and <a href=\"https://www.kaggle.com/leonshangguan\" target=\"_blank\">@leonshangguan</a>. You all put in your best effort to manage your time for this tough competition. Even though we didn’t perform well last month, at least we got the chance to review our college physics course knowledge.</p>\n<h3>Solution</h3>\n<p>We observed that different behaviors lead to different results depending on the phase. This suggests that carefully manipulating the signal during a significant phase could be highly beneficial, as the phase plays a critical role in determining the outcome.</p>\n<p>Quaternion error: <br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F4a77f2c11f1929e21f3758529c772e41%2Fim1.png?generation=1756861811982691&amp;alt=media\" alt=\"quaternion error\"></p>\n<p>Gravity accel error: <br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F082621d99a0023b4a7f644644d8e4884%2Fim2.png?generation=1756861828667195&amp;alt=media\" alt=\"gravity accel error\"></p>\n<p>Then it turns out that we find a good library to handle this type of signal, using ATAR algorithm in <a href=\"https://spkit.github.io/modules/generated/spkit.eeg.ATAR.html#spkit.eeg.ATAR\" target=\"_blank\">spkit</a> to process the signal in each phase, and boost cv and lb. </p>\n<p>Here are the result using different parameter in ATAR on acceleration:<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F53bb2e5271afda37bff585cc6b6fb8d5%2FAtar.png?generation=1756862375147492&amp;alt=media\" alt=\"\"></p>\n<p>We also try to use <a href=\"https://github.com/facebookresearch/faiss\" target=\"_blank\">Faiss</a> to retrieve similar signal and use them in the inference, just miss to use subject which is really important in this competition. </p>\n<p>Will fill up more later. </p>",
  "messages": [
    {
      "id": "3280646",
      "postDate": "09/03/2025 01:21:10",
      "content": "<h3>Acknowledgement</h3>\n<p>I want to thank my teammates <a href=\"https://www.kaggle.com/mahdiseddigh\" target=\"_blank\">@mahdiseddigh</a>, <a href=\"https://www.kaggle.com/shanzhong8\" target=\"_blank\">@shanzhong8</a>, <a href=\"https://www.kaggle.com/guoooooooss\" target=\"_blank\">@guoooooooss</a> and <a href=\"https://www.kaggle.com/leonshangguan\" target=\"_blank\">@leonshangguan</a>. You all put in your best effort to manage your time for this tough competition. Even though we didn’t perform well last month, at least we got the chance to review our college physics course knowledge.</p>\n<h3>Solution</h3>\n<p>We observed that different behaviors lead to different results depending on the phase. This suggests that carefully manipulating the signal during a significant phase could be highly beneficial, as the phase plays a critical role in determining the outcome.</p>\n<p>Quaternion error: <br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F4a77f2c11f1929e21f3758529c772e41%2Fim1.png?generation=1756861811982691&amp;alt=media\" alt=\"quaternion error\"></p>\n<p>Gravity accel error: <br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F082621d99a0023b4a7f644644d8e4884%2Fim2.png?generation=1756861828667195&amp;alt=media\" alt=\"gravity accel error\"></p>\n<p>Then it turns out that we find a good library to handle this type of signal, using ATAR algorithm in <a href=\"https://spkit.github.io/modules/generated/spkit.eeg.ATAR.html#spkit.eeg.ATAR\" target=\"_blank\">spkit</a> to process the signal in each phase, and boost cv and lb. </p>\n<p>Here are the result using different parameter in ATAR on acceleration:<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F53bb2e5271afda37bff585cc6b6fb8d5%2FAtar.png?generation=1756862375147492&amp;alt=media\" alt=\"\"></p>\n<p>We also try to use <a href=\"https://github.com/facebookresearch/faiss\" target=\"_blank\">Faiss</a> to retrieve similar signal and use them in the inference, just miss to use subject which is really important in this competition. </p>\n<p>Will fill up more later. </p>",
      "rawMarkdown": "### Acknowledgement\n\nI want to thank my teammates @mahdiseddigh, @shanzhong8, @guoooooooss and @leonshangguan. You all put in your best effort to manage your time for this tough competition. Even though we didn’t perform well last month, at least we got the chance to review our college physics course knowledge.\n\n\n### Solution\n\nWe observed that different behaviors lead to different results depending on the phase. This suggests that carefully manipulating the signal during a significant phase could be highly beneficial, as the phase plays a critical role in determining the outcome.\n\nQuaternion error: \n![quaternion error](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F4a77f2c11f1929e21f3758529c772e41%2Fim1.png?generation=1756861811982691&alt=media)\n\nGravity accel error: \n![gravity accel error](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F082621d99a0023b4a7f644644d8e4884%2Fim2.png?generation=1756861828667195&alt=media)\n\nThen it turns out that we find a good library to handle this type of signal, using ATAR algorithm in [spkit](https://spkit.github.io/modules/generated/spkit.eeg.ATAR.html#spkit.eeg.ATAR) to process the signal in each phase, and boost cv and lb. \n\nHere are the result using different parameter in ATAR on acceleration:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F53bb2e5271afda37bff585cc6b6fb8d5%2FAtar.png?generation=1756862375147492&alt=media)\n\n\nWe also try to use [Faiss](https://github.com/facebookresearch/faiss) to retrieve similar signal and use them in the inference, just miss to use subject which is really important in this competition. \n\n\nWill fill up more later.",
      "votes": null
    },
    {
      "id": "3280909",
      "postDate": "09/03/2025 10:53:56",
      "content": "<p>A good team and good solutions and welcome, friend <a href=\"https://www.kaggle.com/tom99763\" target=\"_blank\">@tom99763</a> </p>",
      "rawMarkdown": "A good team and good solutions and welcome, friend @tom99763",
      "votes": null
    },
    {
      "id": "3293497",
      "postDate": "09/24/2025 02:36:35",
      "content": "<p>Hoping to hear more detail~</p>",
      "rawMarkdown": "Hoping to hear more detail~",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3280909,
      "author_name": "muhammaddanyalmalik",
      "author_url": "",
      "post_date": "09/03/2025 10:53:56",
      "content": "<p>A good team and good solutions and welcome, friend <a href=\"https://www.kaggle.com/tom99763\" target=\"_blank\">@tom99763</a> </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 3293497,
      "author_name": "xukongji",
      "author_url": "",
      "post_date": "09/24/2025 02:36:35",
      "content": "<p>Hoping to hear more detail~</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "3280646": "### Acknowledgement\n\nI want to thank my teammates @mahdiseddigh, @shanzhong8, @guoooooooss and @leonshangguan. You all put in your best effort to manage your time for this tough competition. Even though we didn’t perform well last month, at least we got the chance to review our college physics course knowledge.\n\n\n### Solution\n\nWe observed that different behaviors lead to different results depending on the phase. This suggests that carefully manipulating the signal during a significant phase could be highly beneficial, as the phase plays a critical role in determining the outcome.\n\nQuaternion error: \n![quaternion error](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F4a77f2c11f1929e21f3758529c772e41%2Fim1.png?generation=1756861811982691&alt=media)\n\nGravity accel error: \n![gravity accel error](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F082621d99a0023b4a7f644644d8e4884%2Fim2.png?generation=1756861828667195&alt=media)\n\nThen it turns out that we find a good library to handle this type of signal, using ATAR algorithm in [spkit](https://spkit.github.io/modules/generated/spkit.eeg.ATAR.html#spkit.eeg.ATAR) to process the signal in each phase, and boost cv and lb. \n\nHere are the result using different parameter in ATAR on acceleration:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4310004%2F53bb2e5271afda37bff585cc6b6fb8d5%2FAtar.png?generation=1756862375147492&alt=media)\n\n\nWe also try to use [Faiss](https://github.com/facebookresearch/faiss) to retrieve similar signal and use them in the inference, just miss to use subject which is really important in this competition. \n\n\nWill fill up more later.",
    "3280909": "A good team and good solutions and welcome, friend @tom99763",
    "3293497": "Hoping to hear more detail~"
  },
  "source": "existing_discussion",
  "complete": true,
  "competition_id": 102335,
  "competition_slug": "cmi-detect-behavior-with-sensor-data",
  "team_id": 13895665,
  "solution_url": "/competitions/cmi-detect-behavior-with-sensor-data/writeups/110th-place-solution"
}