payload: {"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10711","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10711/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10711/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10711/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/10711","id":300427204,"node_id":"MDExOlB1bGxSZXF1ZXN0MTcxNTE1MTQ3","number":10711,"title":"[MRG] Enhancement: Add MAPE as an evaluation metric ","user":{"login":"mohamed-ali","id":2883926,"node_id":"MDQ6VXNlcjI4ODM5MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/2883926?v=4","gravatar_id":"","url":"https://api.github.com/users/mohamed-ali","html_url":"https://github.com/mohamed-ali","followers_url":"https://api.github.com/users/mohamed-ali/followers","following_url":"https://api.github.com/users/mohamed-ali/following{/other_user}","gists_url":"https://api.github.com/users/mohamed-ali/gists{/gist_id}","starred_url":"https://api.github.com/users/mohamed-ali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohamed-ali/subscriptions","organizations_url":"https://api.github.com/users/mohamed-ali/orgs","repos_url":"https://api.github.com/users/mohamed-ali/repos","events_url":"https://api.github.com/users/mohamed-ali/events{/privacy}","received_events_url":"https://api.github.com/users/mohamed-ali/received_events","type":"User","site_admin":false},"labels":[{"id":297514516,"node_id":"MDU6TGFiZWwyOTc1MTQ1MTY=","url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Waiting%20for%20Reviewer","name":"Waiting for Reviewer","color":"eb3400","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2018-02-26T22:51:42Z","updated_at":"2019-08-16T20:22:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/10711","html_url":"https://github.com/scikit-learn/scikit-learn/pull/10711","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/10711.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/10711.patch"},"body":"#### Reference Issues/PRs\r\nFixes #10708 \r\nCloses #6605  \r\n\r\n#### What does this implement/fix? Explain your changes.\r\n- Implements `sklearn.metrics.mean_absolute_percentage_error`\r\n- Implements the associated `neg_mape` scorer for regression problems. \r\n- Includes tests configurations in `tests/test_common.py` and `tests/test_score_objects.py` \r\n- Add specific tests with `y_true` that doesn't include zeros in `tests/test_common.py` and `tests/test_score_objects.py`. \r\n- Adds docstring + example. \r\n- Updates the documentation at `doc/modules/model_evaluation.rst` and `doc/modules/classes.rst\r\n`\r\n#### Any other comments?\r\n\r\n -  We have to reach a consensus on the name of the scorer: either `neg_mean_absolute_percentage_error_scorer` or `neg_mape_scorer`\r\n"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/522139690","html_url":"https://github.com/scikit-learn/scikit-learn/pull/10711#issuecomment-522139690","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10711","id":522139690,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMjEzOTY5MA==","user":{"login":"amueller","id":449558,"node_id":"MDQ6VXNlcjQ0OTU1OA==","avatar_url":"https://avatars3.githubusercontent.com/u/449558?v=4","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"created_at":"2019-08-16T20:22:42Z","updated_at":"2019-08-16T20:22:42Z","author_association":"MEMBER","body":"would you mind fixing the conflicts please?"}}
other: {"actor":{"display_login":"amueller"}}