Closed AlexAndorra closed 1 month ago
The failing test on Windows isn't related to these changes 🤷♂️ All the tests are passing
Thanks @juanitorduz ! I just pushed all the changes.
is there a test where we verify the mean sustraction works as expected in the out-of-sample case?
Good point. Added it
Attention: Patch coverage is 73.68421%
with 15 lines
in your changes are missing coverage. Please review.
Project coverage is 92.37%. Comparing base (
fd11cf0
) to head (3ca2c2b
). Report is 22 commits behind head on main.
Looks like there's one failing test mentioning _X_mean
,
assert np.allclose(
gp._X_mean, original_mean
> ), "gp._X_mean should not change after updating data for out-of-sample predictions."
E AttributeError: 'HSGP' object has no attribute '_X_mean'
Closes #7240
Working on this in concert with @bwengals for this example
L
X
values under the hood, instead of requiring it from usersprior_linearized
withm
andc
instead of onlym
andL
parametrization
is not documentedcoords
to HSGP for thebeta
coefficients._m_star
more accessible / user friendly (make a property with no leading underscore so existing code doesn't break), document it, and fix example inprior_linearized
docstring.tl=np
. It's subtly wrong when calculating the eigen stuff and its not used anywhere.approx_params
function tohsgp_approx
fileType of change
📚 Documentation preview 📚: https://pymc--7335.org.readthedocs.build/en/7335/