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 250e81a commit ed19c34Copy full SHA for ed19c34
pymc_extras/model_builder.py
@@ -446,6 +446,7 @@ def load(cls, fname: str):
446
sampler_config=json.loads(idata.attrs["sampler_config"]),
447
)
448
model.idata = idata
449
+ model.is_fitted_ = True
450
dataset = idata.fit_data.to_dataframe()
451
X = dataset.drop(columns=[model.output_var])
452
y = dataset[model.output_var]
@@ -526,6 +527,8 @@ def fit(
526
527
528
self.idata.add_groups(fit_data=combined_data.to_xarray()) # type: ignore
529
530
+ self.is_fitted_ = True
531
+
532
return self.idata # type: ignore
533
534
def predict(
0 commit comments