Skip to content
Snippets Groups Projects
Commit ec0dbf03 authored by Manoj Kumar's avatar Manoj Kumar Committed by Gael Varoquaux
Browse files

[MRG+1] Fixes predicting std and cov without fitting in GPR by default. (#9177)

* If self.kernel_ is None then self.kernel_ is set to RBFKernel in predict() as fit(). Fixes #6573

* xxx_ attributes can not be altered outside fit. Removing self.kernel_ from predict() and using previously implemented self.kernel attribute.

* Cleanup and add non-regression-test
parent 22f0cf2d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment