Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jun 17, 2024
1 parent eb2aad7 commit c793524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/xgboost/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def best_score(self, score: float) -> None:
self.set_attr(best_score=score)


def groups_to_rows(groups: List[np.ndarray], boundaries: np.ndarray) -> np.ndarray:
def groups_to_rows(groups: np.ndarray, boundaries: np.ndarray) -> np.ndarray:
"""
Given group row boundaries, convert ground indexes to row indexes
:param groups: list of groups for testing
Expand Down

0 comments on commit c793524

Please sign in to comment.