DOC Fix markup in docstring
@@ -459,11 +459,13 @@ class BaggingClassifier(BaseBagging, ClassifierMixin):
max_samples : int or float, optional (default=1.0)
The number of samples to draw from X to train each base estimator.
+
- If int, then draw `max_samples` samples.
- If float, then draw `max_samples * X.shape[0]` samples.
max_features : int or float, optional (default=1.0)
The number of features to draw from X to train each base estimator.
+
- If int, then draw `max_features` features.
- If float, then draw `max_features * X.shape[1]` features.
@@ -827,11 +829,13 @@ class BaggingRegressor(BaseBagging, RegressorMixin):
max_samples : int or float, optional (default=1.0)
The number of samples to draw from X to train each base estimator.
+
- If int, then draw `max_samples` samples.
- If float, then draw `max_samples * X.shape[0]` samples.
max_features : int or float, optional (default=1.0)
The number of features to draw from X to train each base estimator.
+
- If int, then draw `max_features` features.
- If float, then draw `max_features * X.shape[1]` features.
