Hi, I have a Bambi model which hits the max treedepth. But when I try to put max_treedepth into the fit() command, it says I have given an unused step method.
Here is some sample code from Bambi 0.9.1:
import bambi
import pandas as pd
data =pd.DataFrame({"x": [1, 2, 3, 4, 5], "y": [9, 3, 4, 3, 4 ]})
model = bambi.Model("y~x", data)
results = model.fit(max_treedepth = 12)
This returns “ValueError: Unused step method arguments: {‘max_treedepth’}”