Skip to content

Checking for Convergence / Handling Divergences #781

Answered by AlfredoJF
PK1706 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @PK1706

Have a look at these Prior Choice Recommendations and see if you can decrease the number of divergences by selecting better priors for your use case.

Also, try to increase the default params chains, draws and tune in the fit method.

mmm.fit(X=X_train,
        y=y_train,
        target_accept=0.95,
        chains=6,
        random_seed=123,
        draws=3_000, 
        tune=2_000, 
        )

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PK1706
Comment options

Answer selected by PK1706
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants