{
  "id": 400515,
  "title": "How to use the evaluation metric in multi-class classification？",
  "url": "/competitions/birdclef-2023/discussion/400515",
  "author_name": "",
  "post_date": "2023-04-08T18:51:54.088450Z",
  "votes": 1,
  "comment_count": 1,
  "views": 0,
  "content": "<p>I'm stucking in the error below…<br>\nValueError: multiclass format is not supported<br>\nand it seems that the implementation of <code>average_precision_score</code> is restricted to the binary classification task or multilabel classification task.</p>",
  "messages": [
    {
      "id": "2214787",
      "postDate": "04/08/2023 18:51:54",
      "content": "<p>I'm stucking in the error below…<br>\nValueError: multiclass format is not supported<br>\nand it seems that the implementation of <code>average_precision_score</code> is restricted to the binary classification task or multilabel classification task.</p>",
      "rawMarkdown": "I'm stucking in the error below...\nValueError: multiclass format is not supported\nand it seems that the implementation of `average_precision_score` is restricted to the binary classification task or multilabel classification task.",
      "votes": null
    },
    {
      "id": "2215022",
      "postDate": "04/09/2023 02:59:59",
      "content": "<p>check this <a href=\"https://www.kaggle.com/code/nischaydnk/birdclef-2023-pytorch-lightning-training-w-cmap\" target=\"_blank\">notebook  </a></p>",
      "rawMarkdown": "check this [notebook  ](https://www.kaggle.com/code/nischaydnk/birdclef-2023-pytorch-lightning-training-w-cmap)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2215022,
      "author_name": "leonshangguan",
      "author_url": "",
      "post_date": "04/09/2023 02:59:59",
      "content": "<p>check this <a href=\"https://www.kaggle.com/code/nischaydnk/birdclef-2023-pytorch-lightning-training-w-cmap\" target=\"_blank\">notebook  </a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2214787": "I'm stucking in the error below...\nValueError: multiclass format is not supported\nand it seems that the implementation of `average_precision_score` is restricted to the binary classification task or multilabel classification task.",
    "2215022": "check this [notebook  ](https://www.kaggle.com/code/nischaydnk/birdclef-2023-pytorch-lightning-training-w-cmap)"
  },
  "source": "meta"
}