Skip to content

Commit

Permalink
Fix method docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson committed Sep 6, 2024
1 parent 0bdc756 commit 1ded12f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quantile_forest/_quantile_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,8 @@ def predict(
Returns
-------
y_pred : array of shape (n_train, n_quantiles) or \
(n_train, n_outputs, n_quantiles)
y_pred : array of shape (n_samples, n_quantiles) or \
(n_samples, n_outputs, n_quantiles)
If quantiles is set to 'mean', then return ``E(Y | X)``. Else, for
all quantiles, return ``y`` at ``q`` for which ``F(Y=y|x) = q``,
where ``q`` is the quantile.
Expand Down Expand Up @@ -848,7 +848,7 @@ def quantile_ranks(
Returns
-------
y_ranks : array of shape (n_train) or (n_train, n_outputs)
y_ranks : array of shape (n_samples) or (n_samples, n_outputs)
Quantile ranks in range [0, 1].
"""
check_is_fitted(self)
Expand Down

0 comments on commit 1ded12f

Please sign in to comment.