{
  "id": 636105,
  "title": "Competition metric",
  "url": "/competitions/csiro-biomass/discussion/636105",
  "author_name": "Calvin Hui",
  "post_date": "2025-11-21T04:00:28.385000",
  "votes": 1,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Hi everyone I just wanna double-check my understanding of the competition metric with a small toy example. Could you let me know if anything looks wrong?</p>\n<pre><code>y_pred = [, , , , ]\ny_true = [, , , , ]\nweight = [, , , , ]\n</code></pre>\n<p>My understanding is that the weighted residual sum of squares is calculated as:</p>\n<p>SS_res = 0.5(11-10)² + 0.2(12-9)² + 0.1(13-8)² + 0.1(14-7)² + 0.1(15-6)²</p>\n<p>Is this the correct way to compute the numerator/part of the evaluation metric?\nThanks!</p>",
  "messages": [
    {
      "id": 3342566,
      "postDate": "2025-11-21T04:00:28.387Z",
      "content": "<p>Hi everyone I just wanna double-check my understanding of the competition metric with a small toy example. Could you let me know if anything looks wrong?</p>\n<pre><code>y_pred = [, , , , ]\ny_true = [, , , , ]\nweight = [, , , , ]\n</code></pre>\n<p>My understanding is that the weighted residual sum of squares is calculated as:</p>\n<p>SS_res = 0.5(11-10)² + 0.2(12-9)² + 0.1(13-8)² + 0.1(14-7)² + 0.1(15-6)²</p>\n<p>Is this the correct way to compute the numerator/part of the evaluation metric?\nThanks!</p>",
      "rawMarkdown": "Hi everyone I just wanna double-check my understanding of the competition metric with a small toy example. Could you let me know if anything looks wrong?\n\n```python\ny_pred = [10, 9, 8, 7, 6]\ny_true = [11, 12, 13, 14, 15]\nweight = [0.5, 0.2, 0.1, 0.1, 0.1]\n```\n\nMy understanding is that the weighted residual sum of squares is calculated as:\n\nSS_res = 0.5(11-10)² + 0.2(12-9)² + 0.1(13-8)² + 0.1(14-7)² + 0.1(15-6)²\n\nIs this the correct way to compute the numerator/part of the evaluation metric?\nThanks!",
      "votes": 1
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "3342566": "Hi everyone I just wanna double-check my understanding of the competition metric with a small toy example. Could you let me know if anything looks wrong?\n\n```python\ny_pred = [10, 9, 8, 7, 6]\ny_true = [11, 12, 13, 14, 15]\nweight = [0.5, 0.2, 0.1, 0.1, 0.1]\n```\n\nMy understanding is that the weighted residual sum of squares is calculated as:\n\nSS_res = 0.5(11-10)² + 0.2(12-9)² + 0.1(13-8)² + 0.1(14-7)² + 0.1(15-6)²\n\nIs this the correct way to compute the numerator/part of the evaluation metric?\nThanks!"
  }
}