From 8f104e0f6788f2d8f2d2fe3051c88619e17a4ead Mon Sep 17 00:00:00 2001 From: Tanish Yelgoe <23110328@iitgn.ac.in> Date: Thu, 12 Dec 2024 15:53:54 +0530 Subject: [PATCH] modified the way kwargs are handled in fit() --- bambi/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bambi/models.py b/bambi/models.py index 2f6de074..81a26d7b 100644 --- a/bambi/models.py +++ b/bambi/models.py @@ -320,6 +320,10 @@ def fit( else: kwargs["num_steps"] = draws + if tune is None: + tune = 1000 + else: + kwargs["num_adapt_draws"] = tune method = kwargs.pop("method", None) if method is not None: