{
  "id": 347399,
  "title": "why the early_stop not run in lightGBM when i set the fobj and feval",
  "url": "/competitions/amex-default-prediction/discussion/347399",
  "author_name": "",
  "post_date": "2022-08-24T02:20:37.944056200Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>i tried focal_loss but ealy_stop can't run, do you know why this happen</p>\n<p>[4500] training's focal_loss: 0.00537862 valid_1's focal_loss: 0.00692585<br>\n[5000] training's focal_loss: 0.00524399 valid_1's focal_loss: 0.00696892<br>\n[5500] training's focal_loss: 0.00508342 valid_1's focal_loss: 0.00700436<br>\n[6000] training's focal_loss: 0.00496375 valid_1's focal_loss: 0.00705299</p>\n<p>'metric': \"None\"<br>\nearly_stopping_rounds = 1500<br>\nbut if don't stop</p>",
  "messages": [
    {
      "id": "1911286",
      "postDate": "08/24/2022 02:20:37",
      "content": "<p>i tried focal_loss but ealy_stop can't run, do you know why this happen</p>\n<p>[4500] training's focal_loss: 0.00537862 valid_1's focal_loss: 0.00692585<br>\n[5000] training's focal_loss: 0.00524399 valid_1's focal_loss: 0.00696892<br>\n[5500] training's focal_loss: 0.00508342 valid_1's focal_loss: 0.00700436<br>\n[6000] training's focal_loss: 0.00496375 valid_1's focal_loss: 0.00705299</p>\n<p>'metric': \"None\"<br>\nearly_stopping_rounds = 1500<br>\nbut if don't stop</p>",
      "rawMarkdown": "i tried focal_loss but ealy_stop can't run, do you know why this happen\n\n[4500] training's focal_loss: 0.00537862 valid_1's focal_loss: 0.00692585\n[5000] training's focal_loss: 0.00524399 valid_1's focal_loss: 0.00696892\n[5500] training's focal_loss: 0.00508342 valid_1's focal_loss: 0.00700436\n[6000] training's focal_loss: 0.00496375 valid_1's focal_loss: 0.00705299\n\n'metric': \"None\"\nearly_stopping_rounds = 1500\nbut if don't stop",
      "votes": null
    },
    {
      "id": "1911726",
      "postDate": "08/24/2022 09:09:20",
      "content": "<p>Maybe your boosting_type = dart <br>\nYou can see: <a href=\"https://github.com/microsoft/LightGBM/issues/4805\" target=\"_blank\">https://github.com/microsoft/LightGBM/issues/4805</a><br>\nSome people already share early_stop callback for dart, you can find it in discussion</p>",
      "rawMarkdown": "Maybe your boosting_type = dart \nYou can see: https://github.com/microsoft/LightGBM/issues/4805\nSome people already share early_stop callback for dart, you can find it in discussion",
      "votes": null
    },
    {
      "id": "1911740",
      "postDate": "08/24/2022 09:20:36",
      "content": "<p>thanks a lot</p>",
      "rawMarkdown": "thanks a lot",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1911726,
      "author_name": "jimmyliao5300193",
      "author_url": "",
      "post_date": "08/24/2022 09:09:20",
      "content": "<p>Maybe your boosting_type = dart <br>\nYou can see: <a href=\"https://github.com/microsoft/LightGBM/issues/4805\" target=\"_blank\">https://github.com/microsoft/LightGBM/issues/4805</a><br>\nSome people already share early_stop callback for dart, you can find it in discussion</p>",
      "votes": null,
      "replies": [
        {
          "id": 1911740,
          "author_name": "wcqglhf",
          "author_url": "",
          "post_date": "08/24/2022 09:20:36",
          "content": "<p>thanks a lot</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1911286": "i tried focal_loss but ealy_stop can't run, do you know why this happen\n\n[4500] training's focal_loss: 0.00537862 valid_1's focal_loss: 0.00692585\n[5000] training's focal_loss: 0.00524399 valid_1's focal_loss: 0.00696892\n[5500] training's focal_loss: 0.00508342 valid_1's focal_loss: 0.00700436\n[6000] training's focal_loss: 0.00496375 valid_1's focal_loss: 0.00705299\n\n'metric': \"None\"\nearly_stopping_rounds = 1500\nbut if don't stop",
    "1911726": "Maybe your boosting_type = dart \nYou can see: https://github.com/microsoft/LightGBM/issues/4805\nSome people already share early_stop callback for dart, you can find it in discussion",
    "1911740": "thanks a lot"
  },
  "source": "meta"
}