ConvergenceWarning#

exception ConvergenceWarning[source]#

Fitting did not finish properly, so the fitted model may be less reliable.

fit issues it once per fit when the search for the model’s settings had not settled when it stopped, judged from where it ended rather than from what the optimiser reported. The message says why it stopped, in plain words. The fit still returns normally. Filter it with the warnings module, or turn it into an error with warnings.simplefilter("error", skgp.ConvergenceWarning).