Skip to content

Commit

Permalink
correct aggregation_method
Browse files Browse the repository at this point in the history
  • Loading branch information
qroa committed Dec 12, 2024
1 parent 506c25a commit 1693dd2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mapie_v1/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,10 @@ class JackknifeAfterBootstrapRegressor:
Examples
--------
>>> regressor = JackknifeAfterBootstrapRegressor(
... estimator=LinearRegression(), confidence_level=0.9, n_bootstraps=8)
... estimator=LinearRegression(),
... confidence_level=0.9,
... resampling=8,
... aggregation_method="mean")
>>> regressor.fit(X_train, y_train)
>>> regressor.conformalize(X_conf, y_conf)
>>> intervals = regressor.predict_set(X_test)
Expand Down

0 comments on commit 1693dd2

Please sign in to comment.