Skip to content
4 changes: 4 additions & 0 deletions sklearn/gaussian_process/_gpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,10 @@ def optimizer(obj_func, initial_theta, bounds):

Attributes
----------
base_estimator_ : ``Estimator`` instance
The estimator instance that defines the likelihood function
using the observed data.

kernel_ : kernel instance
The kernel used for prediction. In case of binary classification,
the structure of the kernel is the same as the one passed as parameter
Expand Down
2 changes: 1 addition & 1 deletion sklearn/tests/test_docstring_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def test_fit_docstring_attributes(name, Estimator):
assert hasattr(est, attr.name)

IGNORED = {'BayesianRidge', 'Birch', 'CCA', 'CategoricalNB', 'ElasticNet',
'ElasticNetCV', 'GaussianProcessClassifier',
'ElasticNetCV',
'HistGradientBoostingClassifier',
'HistGradientBoostingRegressor',
'KernelCenterer', 'KernelDensity',
Expand Down