{
  "id": 637204,
  "title": "Can i use online model in Local and submit only submission.csv file ?",
  "url": "/competitions/csiro-biomass/discussion/637204",
  "author_name": "",
  "post_date": "2025-11-22T06:48:21.198320800Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>i submit submission.csv file it give me error every time i try many time </p>\n<p>this is the code </p>\n<p>import pandas as pd</p>\n<p>DIRECT HARDCODED SUBMISSION\nsubmission_data = [\n    ['ID1001187975__Dry_Clover_g', 1.631671],\n    ['ID1001187975__Dry_Dead_g', 25.624667],\n    ['ID1001187975__Dry_Green_g', 22.731490], \n    ['ID1001187975__Dry_Total_g', 51.233003],\n    ['ID1001187975__GDM_g', 24.872454]\n]</p>\n<p>submission_df = pd.DataFrame(submission_data, columns=['sample_id', 'target'])</p>\n<p>FORCE CORRECT TYPES\nsubmission_df['sample_id'] = submission_df['sample_id'].astype(str)\nsubmission_df['target'] = submission_df['target'].astype(float)</p>\n<p>SAVE WITH DIFFERENT NAME\nsubmission_df.to_csv('submission.csv', index=False)</p>\n<p>print(\"✅ NEW FILE: submission_fixed.csv\")\nprint(submission_df)</p>\n<p>output</p>\n<p>✅ NEW FILE: submission_fixed.csv\n                    sample_id     target\n0  ID1001187975__Dry_Clover_g   1.631671\n1    ID1001187975__Dry_Dead_g  25.624667\n2   ID1001187975__Dry_Green_g  22.731490\n3   ID1001187975__Dry_Total_g  51.233003\n4         ID1001187975__GDM_g  24.872454</p>\n<p>they still not accept my submission.csv file because of i use online model in local or something else ?</p>\n<p><a href=\"https://www.kaggle.com/code/rohanrk1813/biomass-comp?scriptVersionId=280860306\" target=\"_blank\">https://www.kaggle.com/code/rohanrk1813/biomass-comp?scriptVersionId=280860306</a>\nplease help </p>",
  "messages": [
    {
      "id": "3343937",
      "postDate": "11/22/2025 06:48:21",
      "content": "<p>i submit submission.csv file it give me error every time i try many time </p>\n<p>this is the code </p>\n<p>import pandas as pd</p>\n<p>DIRECT HARDCODED SUBMISSION\nsubmission_data = [\n    ['ID1001187975__Dry_Clover_g', 1.631671],\n    ['ID1001187975__Dry_Dead_g', 25.624667],\n    ['ID1001187975__Dry_Green_g', 22.731490], \n    ['ID1001187975__Dry_Total_g', 51.233003],\n    ['ID1001187975__GDM_g', 24.872454]\n]</p>\n<p>submission_df = pd.DataFrame(submission_data, columns=['sample_id', 'target'])</p>\n<p>FORCE CORRECT TYPES\nsubmission_df['sample_id'] = submission_df['sample_id'].astype(str)\nsubmission_df['target'] = submission_df['target'].astype(float)</p>\n<p>SAVE WITH DIFFERENT NAME\nsubmission_df.to_csv('submission.csv', index=False)</p>\n<p>print(\"✅ NEW FILE: submission_fixed.csv\")\nprint(submission_df)</p>\n<p>output</p>\n<p>✅ NEW FILE: submission_fixed.csv\n                    sample_id     target\n0  ID1001187975__Dry_Clover_g   1.631671\n1    ID1001187975__Dry_Dead_g  25.624667\n2   ID1001187975__Dry_Green_g  22.731490\n3   ID1001187975__Dry_Total_g  51.233003\n4         ID1001187975__GDM_g  24.872454</p>\n<p>they still not accept my submission.csv file because of i use online model in local or something else ?</p>\n<p><a href=\"https://www.kaggle.com/code/rohanrk1813/biomass-comp?scriptVersionId=280860306\" target=\"_blank\">https://www.kaggle.com/code/rohanrk1813/biomass-comp?scriptVersionId=280860306</a>\nplease help </p>",
      "rawMarkdown": "i submit submission.csv file it give me error every time i try many time \n\nthis is the code \n\nimport pandas as pd\n\nDIRECT HARDCODED SUBMISSION\nsubmission_data = [\n    ['ID1001187975__Dry_Clover_g', 1.631671],\n    ['ID1001187975__Dry_Dead_g', 25.624667],\n    ['ID1001187975__Dry_Green_g', 22.731490], \n    ['ID1001187975__Dry_Total_g', 51.233003],\n    ['ID1001187975__GDM_g', 24.872454]\n]\n\nsubmission_df = pd.DataFrame(submission_data, columns=['sample_id', 'target'])\n\nFORCE CORRECT TYPES\nsubmission_df['sample_id'] = submission_df['sample_id'].astype(str)\nsubmission_df['target'] = submission_df['target'].astype(float)\n\nSAVE WITH DIFFERENT NAME\nsubmission_df.to_csv('submission.csv', index=False)\n\nprint(\"✅ NEW FILE: submission_fixed.csv\")\nprint(submission_df)\n\n\noutput\n\n✅ NEW FILE: submission_fixed.csv\n                    sample_id     target\n0  ID1001187975__Dry_Clover_g   1.631671\n1    ID1001187975__Dry_Dead_g  25.624667\n2   ID1001187975__Dry_Green_g  22.731490\n3   ID1001187975__Dry_Total_g  51.233003\n4         ID1001187975__GDM_g  24.872454\n\n\nthey still not accept my submission.csv file because of i use online model in local or something else ?\n\nhttps://www.kaggle.com/code/rohanrk1813/biomass-comp?scriptVersionId=280860306\nplease help",
      "votes": null
    },
    {
      "id": "3344067",
      "postDate": "11/22/2025 09:27:58",
      "content": "<p>Short answer:No\nDuring scoring the real test set is made available to your model on which your model should generate predictions in a submission.csv file. The real test data is never visible to you.\nThe test data provided in the competition dataset which is visible to you is just a sample of 1 image. Real test data containing many images is made available to your model on the fly during scoring. </p>",
      "rawMarkdown": "Short answer:No\nDuring scoring the real test set is made available to your model on which your model should generate predictions in a submission.csv file. The real test data is never visible to you.\nThe test data provided in the competition dataset which is visible to you is just a sample of 1 image. Real test data containing many images is made available to your model on the fly during scoring.",
      "votes": null
    },
    {
      "id": "3344286",
      "postDate": "11/22/2025 13:09:50",
      "content": "<p>Thank you 😊</p>",
      "rawMarkdown": "Thank you 😊",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3344067,
      "author_name": "skathaitrooney",
      "author_url": "",
      "post_date": "11/22/2025 09:27:58",
      "content": "<p>Short answer:No\nDuring scoring the real test set is made available to your model on which your model should generate predictions in a submission.csv file. The real test data is never visible to you.\nThe test data provided in the competition dataset which is visible to you is just a sample of 1 image. Real test data containing many images is made available to your model on the fly during scoring. </p>",
      "votes": null,
      "replies": [
        {
          "id": 3344286,
          "author_name": "rohanrk1813",
          "author_url": "",
          "post_date": "11/22/2025 13:09:50",
          "content": "<p>Thank you 😊</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3343937": "i submit submission.csv file it give me error every time i try many time \n\nthis is the code \n\nimport pandas as pd\n\nDIRECT HARDCODED SUBMISSION\nsubmission_data = [\n    ['ID1001187975__Dry_Clover_g', 1.631671],\n    ['ID1001187975__Dry_Dead_g', 25.624667],\n    ['ID1001187975__Dry_Green_g', 22.731490], \n    ['ID1001187975__Dry_Total_g', 51.233003],\n    ['ID1001187975__GDM_g', 24.872454]\n]\n\nsubmission_df = pd.DataFrame(submission_data, columns=['sample_id', 'target'])\n\nFORCE CORRECT TYPES\nsubmission_df['sample_id'] = submission_df['sample_id'].astype(str)\nsubmission_df['target'] = submission_df['target'].astype(float)\n\nSAVE WITH DIFFERENT NAME\nsubmission_df.to_csv('submission.csv', index=False)\n\nprint(\"✅ NEW FILE: submission_fixed.csv\")\nprint(submission_df)\n\n\noutput\n\n✅ NEW FILE: submission_fixed.csv\n                    sample_id     target\n0  ID1001187975__Dry_Clover_g   1.631671\n1    ID1001187975__Dry_Dead_g  25.624667\n2   ID1001187975__Dry_Green_g  22.731490\n3   ID1001187975__Dry_Total_g  51.233003\n4         ID1001187975__GDM_g  24.872454\n\n\nthey still not accept my submission.csv file because of i use online model in local or something else ?\n\nhttps://www.kaggle.com/code/rohanrk1813/biomass-comp?scriptVersionId=280860306\nplease help",
    "3344067": "Short answer:No\nDuring scoring the real test set is made available to your model on which your model should generate predictions in a submission.csv file. The real test data is never visible to you.\nThe test data provided in the competition dataset which is visible to you is just a sample of 1 image. Real test data containing many images is made available to your model on the fly during scoring.",
    "3344286": "Thank you 😊"
  },
  "source": "meta"
}