8000 Alternative fix for 'Unknown target'. Thanks @glemaitre! · scikit-learn/scikit-learn@765e0fe · GitHub
[go: up one dir, main page]

Skip to content

Commit 765e0fe

Browse files
committed
Alternative fix for 'Unknown target'. Thanks @glemaitre!
1 parent bdd700f commit 765e0fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,13 +751,13 @@ class HistGradientBoostingRegressor(RegressorMixin, BaseHistGradientBoosting):
751751
n_trees_per_iteration_ : int
752752
The number of tree that are built at each iteration. For regressors,
753753
this is always 1.
754-
train_score_ : ndarray, shape (`n_iter_ + 1`,)
754+
train_score_ : ndarray, shape (n_iter_+1,)
755755
The scores at each iteration on the training data. The first entry
756756
is the score of the ensemble before the first iteration. Scores are
757757
computed according to the ``scoring`` parameter. If ``scoring`` is
758758
not 'loss', scores are computed on a subset of at most 10 000
759759
samples. Empty if no early stopping.
760-
validation_score_ : ndarray, shape (`n_iter_ + 1`,)
760+
validation_score_ : ndarray, shape (n_iter_+1,)
761761
The scores at each iteration on the held-out validation data. The
762762
first entry is the score of the ensemble before the first iteration.
763763
Scores are computed according to the ``scoring`` parameter. Empty if

0 commit comments

Comments
 (0)
0