ConvergenceWarning#
- exception ConvergenceWarning[source]#
Fitting did not finish properly, so the fitted model may be less reliable.
fitissues 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 thewarningsmodule, or turn it into an error withwarnings.simplefilter("error", skgp.ConvergenceWarning).