Skip to content

Commit b01e01e

Browse files
author
Vianney Taquet
committed
Add message in _check_estimator of MapieQuantileRegressor
1 parent 796c1db commit b01e01e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mapie/quantile_regression.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,9 @@ def _check_estimator(
274274
else:
275275
raise ValueError(
276276
"The matching parameter `alpha_name` for"
277-
+ " estimator does not exist."
277+
" estimator does not exist. "
278+
"Make sure you set it when initializing "
279+
"your estimator."
278280
)
279281
else:
280282
raise ValueError(

0 commit comments

Comments
 (0)