{
  "id": 510929,
  "title": "File submission format",
  "url": "/competitions/rsna-2024-lumbar-spine-degenerative-classification/discussion/510929",
  "author_name": "",
  "post_date": "2024-06-08T11:02:06.774532200Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Is it necessary to follow the same order of conditions in row_id as in sample_submission or can it be submitted in any row_id order?</p>",
  "messages": [
    {
      "id": "2861763",
      "postDate": "06/08/2024 11:02:06",
      "content": "<p>Is it necessary to follow the same order of conditions in row_id as in sample_submission or can it be submitted in any row_id order?</p>",
      "rawMarkdown": "Is it necessary to follow the same order of conditions in row_id as in sample_submission or can it be submitted in any row_id order?",
      "votes": null
    },
    {
      "id": "2862487",
      "postDate": "06/08/2024 19:16:32",
      "content": "<p>Looking at the <a href=\"https://www.kaggle.com/code/metric/rsna-lumbar-metric-71549\" target=\"_blank\">metric notebook</a>, it does seem order does matter:</p>\n<pre><code>    submission[] = solution[]\n    submission[] = solution[]\n    submission[] = solution[]\n</code></pre>\n<p>In the score algorithm, this above operation takes place. Unless they are sorting by the row id column beforehand, this would mean the row order and length should be aligned by us. Otherwise, submission and solution DataFrames would not be matching.</p>",
      "rawMarkdown": "Looking at the [metric notebook](https://www.kaggle.com/code/metric/rsna-lumbar-metric-71549), it does seem order does matter:\n```python\n    submission['study_id'] = solution['study_id']\n    submission['location'] = solution['location']\n    submission['condition'] = solution['condition']\n```\nIn the score algorithm, this above operation takes place. Unless they are sorting by the row id column beforehand, this would mean the row order and length should be aligned by us. Otherwise, submission and solution DataFrames would not be matching.",
      "votes": null
    },
    {
      "id": "3008555",
      "postDate": "10/06/2024 18:13:15",
      "content": "<p>Thanks. I just figured this out. Besides this order within a study_id, how about the order of the study_ids? Do they need to follow the order in description file?</p>",
      "rawMarkdown": "Thanks. I just figured this out. Besides this order within a study_id, how about the order of the study_ids? Do they need to follow the order in description file?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2862487,
      "author_name": "coderrkj",
      "author_url": "",
      "post_date": "06/08/2024 19:16:32",
      "content": "<p>Looking at the <a href=\"https://www.kaggle.com/code/metric/rsna-lumbar-metric-71549\" target=\"_blank\">metric notebook</a>, it does seem order does matter:</p>\n<pre><code>    submission[] = solution[]\n    submission[] = solution[]\n    submission[] = solution[]\n</code></pre>\n<p>In the score algorithm, this above operation takes place. Unless they are sorting by the row id column beforehand, this would mean the row order and length should be aligned by us. Otherwise, submission and solution DataFrames would not be matching.</p>",
      "votes": null,
      "replies": [
        {
          "id": 3008555,
          "author_name": "sychen52",
          "author_url": "",
          "post_date": "10/06/2024 18:13:15",
          "content": "<p>Thanks. I just figured this out. Besides this order within a study_id, how about the order of the study_ids? Do they need to follow the order in description file?</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2861763": "Is it necessary to follow the same order of conditions in row_id as in sample_submission or can it be submitted in any row_id order?",
    "2862487": "Looking at the [metric notebook](https://www.kaggle.com/code/metric/rsna-lumbar-metric-71549), it does seem order does matter:\n```python\n    submission['study_id'] = solution['study_id']\n    submission['location'] = solution['location']\n    submission['condition'] = solution['condition']\n```\nIn the score algorithm, this above operation takes place. Unless they are sorting by the row id column beforehand, this would mean the row order and length should be aligned by us. Otherwise, submission and solution DataFrames would not be matching.",
    "3008555": "Thanks. I just figured this out. Besides this order within a study_id, how about the order of the study_ids? Do they need to follow the order in description file?"
  },
  "source": "meta"
}