Deprecate metrics
NONE
_The documentation is not available anymore as the PR was closed or merged._
2022-07-25T07:44:56Z
https://github.com/huggingface/datasets/pull/4739#issuecomment-1193701878
https://api.github.com/repos/huggingface/datasets/issues/4739
IC_kwDODunzps5HJnH2
https://api.github.com/repos/huggingface/datasets/issues/comments/1193701878/reactions
2022-07-28T11:44:27Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1193701878
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
MEMBER
I mark this as Draft because the deprecated version number needs being updated after the latest release.
2022-07-25T13:40:09Z
https://github.com/huggingface/datasets/pull/4739#issuecomment-1194063760
https://api.github.com/repos/huggingface/datasets/issues/4739
IC_kwDODunzps5HK_eQ
https://api.github.com/repos/huggingface/datasets/issues/comments/1194063760/reactions
2022-07-25T13:40:09Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1194063760
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
COLLABORATOR
Perhaps now is the time to also update the `inspect_metric` from `evaluate` with the changes introduced in https://github.com/huggingface/datasets/pull/4433 (cc @lvwerra) 
2022-07-26T16:46:05Z
https://github.com/huggingface/datasets/pull/4739#issuecomment-1195726618
https://api.github.com/repos/huggingface/datasets/issues/4739
IC_kwDODunzps5HRVca
https://api.github.com/repos/huggingface/datasets/issues/comments/1195726618/reactions
2022-07-26T16:46:05Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1195726618
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
MEMBER
What do you think of including what changes users have to do to switch to `evaluate` in the warning message ?
(basically replace `datasets.load_metric` by `evaluate.load`)

I think it can help users migrate to `evaluate` and silence the warnings
2022-07-26T16:49:50Z
https://github.com/huggingface/datasets/pull/4739#issuecomment-1195730592
https://api.github.com/repos/huggingface/datasets/issues/4739
IC_kwDODunzps5HRWag
https://api.github.com/repos/huggingface/datasets/issues/comments/1195730592/reactions
2022-07-26T16:50:18Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1195730592
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
Deprecate metrics:
- deprecate public functions: `load_metric`, `list_metrics` and `inspect_metric`: docstring and warning
- test deprecation warnings are issues
- deprecate metrics in all docs
- remove mentions to metrics in docs and README
- deprecate internal functions/classes

Maybe we should also stop testing metrics?