Skip to content

Commit fbba065

Browse files
Fix typo 'recieve' to 'receive' (dmlc#11999)
Co-authored-by: thecaptain789 <thecaptain789@users.noreply.github.com>
1 parent 8aca27d commit fbba065

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/encoder/ordinal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* The algorithm proceeds as follow:
1212
*
1313
* Given the categories used for training [c, b, d, a], the ordering of this list is the
14-
* encoding, c maps to 0, b maps to 1, so on and so forth. At test time, we recieve an
14+
* encoding, c maps to 0, b maps to 1, so on and so forth. At test time, we receive an
1515
* encoding [c, a, b], which differs from the encoding used for training and we need to
1616
* re-code the data.
1717
*

tests/python/test_callback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def breast_cancer() -> BreastCancer:
3636

3737

3838
def eval_error_metric(predt: np.ndarray, dtrain: xgb.DMatrix) -> Tuple[str, np.float64]:
39-
# No custom objective, recieve transformed output
39+
# No custom objective, receive transformed output
4040
return tm.eval_error_metric(predt, dtrain, rev_link=False)
4141

4242

0 commit comments

Comments
 (0)