payload: {"action":"created","issue":{"url":"https://api.github.com/repos/microsoft/LightGBM/issues/2209","repository_url":"https://api.github.com/repos/microsoft/LightGBM","labels_url":"https://api.github.com/repos/microsoft/LightGBM/issues/2209/labels{/name}","comments_url":"https://api.github.com/repos/microsoft/LightGBM/issues/2209/comments","events_url":"https://api.github.com/repos/microsoft/LightGBM/issues/2209/events","html_url":"https://github.com/microsoft/LightGBM/pull/2209","id":451071928,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg0MjYyMDgz","number":2209,"title":"[python] Bug fix for first_metric_only on earlystopping.","user":{"login":"matsuken92","id":7313648,"node_id":"MDQ6VXNlcjczMTM2NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/7313648?v=4","gravatar_id":"","url":"https://api.github.com/users/matsuken92","html_url":"https://github.com/matsuken92","followers_url":"https://api.github.com/users/matsuken92/followers","following_url":"https://api.github.com/users/matsuken92/following{/other_user}","gists_url":"https://api.github.com/users/matsuken92/gists{/gist_id}","starred_url":"https://api.github.com/users/matsuken92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsuken92/subscriptions","organizations_url":"https://api.github.com/users/matsuken92/orgs","repos_url":"https://api.github.com/users/matsuken92/repos","events_url":"https://api.github.com/users/matsuken92/events{/privacy}","received_events_url":"https://api.github.com/users/matsuken92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":48,"created_at":"2019-06-01T10:42:33Z","updated_at":"2019-07-20T13:39:03Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/microsoft/LightGBM/pulls/2209","html_url":"https://github.com/microsoft/LightGBM/pull/2209","diff_url":"https://github.com/microsoft/LightGBM/pull/2209.diff","patch_url":"https://github.com/microsoft/LightGBM/pull/2209.patch"},"body":"1. Order of metric list is not fixed even if it is defined by list. So explicitly indicating which metric is used on early stopping.\r\n1. Due to introducing eval_train_metric feature, if the feature is enabled, then the first metric became train score of the metrics, so it does not appropriate for early stopping. So until the specified metrics of validation is coming, skipping to check early stopping in the loop.\r\n\r\n(This PR is latest version of #2127. Once this PR is activated #2127 should be closed.)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/microsoft/LightGBM/issues/comments/513468417","html_url":"https://github.com/microsoft/LightGBM/pull/2209#issuecomment-513468417","issue_url":"https://api.github.com/repos/microsoft/LightGBM/issues/2209","id":513468417,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMzQ2ODQxNw==","user":{"login":"guolinke","id":16040950,"node_id":"MDQ6VXNlcjE2MDQwOTUw","avatar_url":"https://avatars0.githubusercontent.com/u/16040950?v=4","gravatar_id":"","url":"https://api.github.com/users/guolinke","html_url":"https://github.com/guolinke","followers_url":"https://api.github.com/users/guolinke/followers","following_url":"https://api.github.com/users/guolinke/following{/other_user}","gists_url":"https://api.github.com/users/guolinke/gists{/gist_id}","starred_url":"https://api.github.com/users/guolinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guolinke/subscriptions","organizations_url":"https://api.github.com/users/guolinke/orgs","repos_url":"https://api.github.com/users/guolinke/repos","events_url":"https://api.github.com/users/guolinke/events{/privacy}","received_events_url":"https://api.github.com/users/guolinke/received_events","type":"User","site_admin":false},"created_at":"2019-07-20T13:39:03Z","updated_at":"2019-07-20T13:39:03Z","author_association":"MEMBER","body":"I think the metric name could be got from here, without adding the new api:\r\nhttps://github.com/microsoft/LightGBM/blob/7189743d224a405bb48050834460d107fb7c1c0b/python-package/lightgbm/basic.py#L2634-L2658"}}
other: {"actor":{"display_login":"guolinke"}}