We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2caed89 commit 7c6b462Copy full SHA for 7c6b462
pymc_bart/pgbart.py
@@ -556,7 +556,7 @@ def draw_leaf_value(
556
) -> tuple[npt.NDArray[np.float64], Optional[npt.NDArray[np.float64]]]:
557
"""Draw Gaussian distributed leaf values."""
558
linear_params = None
559
- mu_mean: npt.NDArray[np.float64] = np.empty(shape)
+ mu_mean: npt.NDArray[np.float64]
560
if y_mu_pred.size == 0:
561
return np.zeros(shape), linear_params
562
0 commit comments