Skip to content

Commit

Permalink
Added default value of None to prior_config and sampler_config
Browse files Browse the repository at this point in the history
  • Loading branch information
Meraldo Antonio committed Oct 9, 2024
1 parent a3aea79 commit fd4d5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skpro/regression/bayesian.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class BayesianLinearRegressor(BaseProbaRegressor):
"y_inner_mtype": "pd_DataFrame_Table", # type seen in internal _fit
}

def __init__(self, prior_config, sampler_config):
def __init__(self, prior_config=None, sampler_config=None):
if sampler_config is None:
sampler_config = {}
if prior_config is None:
Expand Down

0 comments on commit fd4d5fd

Please sign in to comment.