scikit-learn: ValueError: Input contains NaN, infinity or a value too large for dtype(‘float64’) while predicting with GP
I’ve been using scikit-learn for Gaussian process regressors for a while, working with adaptively constructed models where the existing GP is used to select new datapoints for the GP. Recently I’ve run into the following error on some cases: