mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-23 06:07:37 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
40c39a81f6
commit
d4d8fbca41
@ -17,8 +17,6 @@ from sklearn.datasets import fetch_20newsgroups
|
|||||||
from sklearn.metrics import accuracy_score
|
from sklearn.metrics import accuracy_score
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def group_indices_by_target(targets: ArrayLike) -> dict:
|
def group_indices_by_target(targets: ArrayLike) -> dict:
|
||||||
"""
|
"""
|
||||||
Associates to each target label the indices of the examples with that label
|
Associates to each target label the indices of the examples with that label
|
||||||
|
Loading…
x
Reference in New Issue
Block a user