Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit 07db303

Browse files
committed
Updated python docs
1 parent 4f86a34 commit 07db303

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stochtree/bart.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ def sample(self, X_train: np.array, y_train: np.array, basis_train: np.array = N
282282
def predict(self, covariates: np.array, basis: np.array = None) -> np.array:
283283
"""Predict outcome from every retained forest of a BART sampler.
284284
285-
:param X_test: Test set covariates
286-
:type X_test: np.array
287-
:param basis_test: Optional test set basis vector, must be provided if the model was trained with a leaf regression basis
288-
:type basis_test: np.array, optional
285+
:param covariates: Test set covariates
286+
:type covariates: np.array
287+
:param basis: Optional test set basis vector, must be provided if the model was trained with a leaf regression basis
288+
:type basis: np.array, optional
289289
:return: Array of predictions with as many rows as in ``covariates`` and as many columns as retained samples of the algorithm.
290290
:rtype: np.array
291291
"""

0 commit comments

Comments
 (0)