{
  "id": 553730,
  "title": "Generating data splits using Kolmogorov-Smirnov test",
  "url": "/competitions/czii-cryo-et-object-identification/discussion/553730",
  "author_name": "",
  "post_date": "2024-12-28T05:43:58.257777Z",
  "votes": 2,
  "comment_count": 4,
  "views": 0,
  "content": "<p>In the preprint about this competition and the dataset - <a href=\"https://www.biorxiv.org/content/10.1101/2024.11.04.621686v1\" target=\"_blank\">https://www.biorxiv.org/content/10.1101/2024.11.04.621686v1</a></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2F0d1936f038226d1d0a8b9cd88f618846%2FScreenshot%202024-12-28%20110051.png?generation=1735363891714947&amp;alt=media\" alt=\"\"></p>\n<h3>I want replicate the same split strategy as mentioned in the preprint</h3>\n<p>For holdout as well as K fold splits</p>\n<p>The Kolmogorov-Smirnov test (KS test) implementation is available for -<br>\n1-D =&gt; <a href=\"https://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.stats.ks_2samp.html\" target=\"_blank\">https://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.stats.ks_2samp.html</a><br>\n2-D =&gt; <a href=\"https://github.com/o-laurent/multivariate-ks-test\" target=\"_blank\">https://github.com/o-laurent/multivariate-ks-test</a><br>\n3-D =&gt; None<br>\n.<br>\n.<br>\n.<br>\nn-D =&gt; None</p>\n<p>Did someone find the implementations?</p>\n<h2>I don't know why</h2>\n<h2>but I feel this is important</h2>\n<p>I would also request the competition hosts {@kharrington , <a href=\"https://www.kaggle.com/rezaparaan\" target=\"_blank\">@rezaparaan</a> } to publish a notebook on the <strong><em>\"how to use KS test to replicate the same split strategy as in preprint\"</em></strong></p>",
  "messages": [
    {
      "id": "3082395",
      "postDate": "12/28/2024 05:43:58",
      "content": "<p>In the preprint about this competition and the dataset - <a href=\"https://www.biorxiv.org/content/10.1101/2024.11.04.621686v1\" target=\"_blank\">https://www.biorxiv.org/content/10.1101/2024.11.04.621686v1</a></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2F0d1936f038226d1d0a8b9cd88f618846%2FScreenshot%202024-12-28%20110051.png?generation=1735363891714947&amp;alt=media\" alt=\"\"></p>\n<h3>I want replicate the same split strategy as mentioned in the preprint</h3>\n<p>For holdout as well as K fold splits</p>\n<p>The Kolmogorov-Smirnov test (KS test) implementation is available for -<br>\n1-D =&gt; <a href=\"https://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.stats.ks_2samp.html\" target=\"_blank\">https://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.stats.ks_2samp.html</a><br>\n2-D =&gt; <a href=\"https://github.com/o-laurent/multivariate-ks-test\" target=\"_blank\">https://github.com/o-laurent/multivariate-ks-test</a><br>\n3-D =&gt; None<br>\n.<br>\n.<br>\n.<br>\nn-D =&gt; None</p>\n<p>Did someone find the implementations?</p>\n<h2>I don't know why</h2>\n<h2>but I feel this is important</h2>\n<p>I would also request the competition hosts {@kharrington , <a href=\"https://www.kaggle.com/rezaparaan\" target=\"_blank\">@rezaparaan</a> } to publish a notebook on the <strong><em>\"how to use KS test to replicate the same split strategy as in preprint\"</em></strong></p>",
      "rawMarkdown": "In the preprint about this competition and the dataset - https://www.biorxiv.org/content/10.1101/2024.11.04.621686v1\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2F0d1936f038226d1d0a8b9cd88f618846%2FScreenshot%202024-12-28%20110051.png?generation=1735363891714947&alt=media)\n\n### I want replicate the same split strategy as mentioned in the preprint\nFor holdout as well as K fold splits\n\nThe Kolmogorov-Smirnov test (KS test) implementation is available for -\n1-D => https://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.stats.ks_2samp.html\n2-D => https://github.com/o-laurent/multivariate-ks-test\n3-D => None\n.\n.\n.\nn-D => None\n\nDid someone find the implementations?\n\n\n## I don't know why \n## but I feel this is important\n\n\nI would also request the competition hosts {@kharrington , @rezaparaan } to publish a notebook on the ***\"how to use KS test to replicate the same split strategy as in preprint\"***",
      "votes": null
    },
    {
      "id": "3082397",
      "postDate": "12/28/2024 05:49:50",
      "content": "<p>Another question:</p>\n<p>What does those 16 bins mean? <br>\nWhere did they come from?</p>",
      "rawMarkdown": "Another question:\n\nWhat does those 16 bins mean? \nWhere did they come from?",
      "votes": null
    },
    {
      "id": "3082416",
      "postDate": "12/28/2024 06:30:32",
      "content": "<p>The Kolmogorov-Smirnov Test is a statistical test used to determine whether two distributions were generated from the same or different random processes.  I believe all they're saying above is they used that test the ensure the training sets they gave us are a fair representation of both the public and private tests sets our models are scored against.  In terms of what they tested against, it's probably just the numbers of each type of particle in each tomogram.</p>",
      "rawMarkdown": "The Kolmogorov-Smirnov Test is a statistical test used to determine whether two distributions were generated from the same or different random processes.  I believe all they're saying above is they used that test the ensure the training sets they gave us are a fair representation of both the public and private tests sets our models are scored against.  In terms of what they tested against, it's probably just the numbers of each type of particle in each tomogram.",
      "votes": null
    },
    {
      "id": "3082421",
      "postDate": "12/28/2024 06:38:42",
      "content": "<p>I suspect they found 16 different groupings of tomograms with similar KS scores.  If true, it's interesting they went from 16 to 7 in coming up with the training set, but I don't think it's anything to be concerned about.  We're all in the same boat regardless.</p>",
      "rawMarkdown": "I suspect they found 16 different groupings of tomograms with similar KS scores.  If true, it's interesting they went from 16 to 7 in coming up with the training set, but I don't think it's anything to be concerned about.  We're all in the same boat regardless.",
      "votes": null
    },
    {
      "id": "3085598",
      "postDate": "01/01/2025 11:09:21",
      "content": "<pre><code> terms  what they tested against, it probably just the numbers  each  particle  each tomogram.\n</code></pre>\n<h2>Are you referring to something like this</h2>\n<h3>Different distributions - fail to reject hypothesis</h3>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2F5329f3590f5d39a785319b0b4f92fe09%2FScreenshot%202025-01-01%20163449.png?generation=1735729577800489&amp;alt=media\" alt=\"\"></p>\n<h3>Different distributions - reject hypothesis</h3>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2Fe6f565a286ad59c5b9dd2c7118ed0ea7%2FScreenshot%202025-01-01%20163535.png?generation=1735729591090986&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "```\nIn terms of what they tested against, it's probably just the numbers of each type of particle in each tomogram.\n```\n## Are you referring to something like this\n### Different distributions - fail to reject hypothesis \n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2F5329f3590f5d39a785319b0b4f92fe09%2FScreenshot%202025-01-01%20163449.png?generation=1735729577800489&alt=media)\n\n### Different distributions - reject hypothesis\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2Fe6f565a286ad59c5b9dd2c7118ed0ea7%2FScreenshot%202025-01-01%20163535.png?generation=1735729591090986&alt=media)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3082397,
      "author_name": "vigneshwar472",
      "author_url": "",
      "post_date": "12/28/2024 05:49:50",
      "content": "<p>Another question:</p>\n<p>What does those 16 bins mean? <br>\nWhere did they come from?</p>",
      "votes": null,
      "replies": [
        {
          "id": 3082421,
          "author_name": "davidlist",
          "author_url": "",
          "post_date": "12/28/2024 06:38:42",
          "content": "<p>I suspect they found 16 different groupings of tomograms with similar KS scores.  If true, it's interesting they went from 16 to 7 in coming up with the training set, but I don't think it's anything to be concerned about.  We're all in the same boat regardless.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3082416,
      "author_name": "davidlist",
      "author_url": "",
      "post_date": "12/28/2024 06:30:32",
      "content": "<p>The Kolmogorov-Smirnov Test is a statistical test used to determine whether two distributions were generated from the same or different random processes.  I believe all they're saying above is they used that test the ensure the training sets they gave us are a fair representation of both the public and private tests sets our models are scored against.  In terms of what they tested against, it's probably just the numbers of each type of particle in each tomogram.</p>",
      "votes": null,
      "replies": [
        {
          "id": 3085598,
          "author_name": "vigneshwar472",
          "author_url": "",
          "post_date": "01/01/2025 11:09:21",
          "content": "<pre><code> terms  what they tested against, it probably just the numbers  each  particle  each tomogram.\n</code></pre>\n<h2>Are you referring to something like this</h2>\n<h3>Different distributions - fail to reject hypothesis</h3>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2F5329f3590f5d39a785319b0b4f92fe09%2FScreenshot%202025-01-01%20163449.png?generation=1735729577800489&amp;alt=media\" alt=\"\"></p>\n<h3>Different distributions - reject hypothesis</h3>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2Fe6f565a286ad59c5b9dd2c7118ed0ea7%2FScreenshot%202025-01-01%20163535.png?generation=1735729591090986&amp;alt=media\" alt=\"\"></p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3082395": "In the preprint about this competition and the dataset - https://www.biorxiv.org/content/10.1101/2024.11.04.621686v1\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2F0d1936f038226d1d0a8b9cd88f618846%2FScreenshot%202024-12-28%20110051.png?generation=1735363891714947&alt=media)\n\n### I want replicate the same split strategy as mentioned in the preprint\nFor holdout as well as K fold splits\n\nThe Kolmogorov-Smirnov test (KS test) implementation is available for -\n1-D => https://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.stats.ks_2samp.html\n2-D => https://github.com/o-laurent/multivariate-ks-test\n3-D => None\n.\n.\n.\nn-D => None\n\nDid someone find the implementations?\n\n\n## I don't know why \n## but I feel this is important\n\n\nI would also request the competition hosts {@kharrington , @rezaparaan } to publish a notebook on the ***\"how to use KS test to replicate the same split strategy as in preprint\"***",
    "3082397": "Another question:\n\nWhat does those 16 bins mean? \nWhere did they come from?",
    "3082416": "The Kolmogorov-Smirnov Test is a statistical test used to determine whether two distributions were generated from the same or different random processes.  I believe all they're saying above is they used that test the ensure the training sets they gave us are a fair representation of both the public and private tests sets our models are scored against.  In terms of what they tested against, it's probably just the numbers of each type of particle in each tomogram.",
    "3082421": "I suspect they found 16 different groupings of tomograms with similar KS scores.  If true, it's interesting they went from 16 to 7 in coming up with the training set, but I don't think it's anything to be concerned about.  We're all in the same boat regardless.",
    "3085598": "```\nIn terms of what they tested against, it's probably just the numbers of each type of particle in each tomogram.\n```\n## Are you referring to something like this\n### Different distributions - fail to reject hypothesis \n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2F5329f3590f5d39a785319b0b4f92fe09%2FScreenshot%202025-01-01%20163449.png?generation=1735729577800489&alt=media)\n\n### Different distributions - reject hypothesis\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F15856017%2Fe6f565a286ad59c5b9dd2c7118ed0ea7%2FScreenshot%202025-01-01%20163535.png?generation=1735729591090986&alt=media)"
  },
  "source": "meta"
}