Skip to content

Commit

Permalink
shorten log length
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomota committed Sep 10, 2024
1 parent 623b00c commit f788ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/xgboost/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3129,7 +3129,7 @@ def _validate_features(self, feature_names: Optional[FeatureNames]) -> None:

if feature_names is None and self.feature_names is not None:
raise ValueError(
"data did not contain feature names, but the following fields are required from training: "
"data did not contain feature names, but the following fields are expected: "
+ ", ".join(self.feature_names)
)

Expand Down

0 comments on commit f788ee5

Please sign in to comment.