mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-07 11:02:38 +02:00
Fixed naming to standardized PEP8
This commit is contained in:
parent
b3eeacd956
commit
aac4f6a237
7 changed files with 15 additions and 328 deletions
|
|
@ -3,12 +3,12 @@
|
|||
|
||||
|
||||
import numpy as np
|
||||
from ..core import sparse_GP
|
||||
from ..core import SparseGP
|
||||
from .. import likelihoods
|
||||
from .. import kern
|
||||
from ..likelihoods import likelihood
|
||||
|
||||
class sparse_GP_classification(sparse_GP):
|
||||
class SparseGPClassification(SparseGP):
|
||||
"""
|
||||
sparse Gaussian Process model for classification
|
||||
|
||||
|
|
@ -43,5 +43,5 @@ class sparse_GP_classification(sparse_GP):
|
|||
else:
|
||||
assert Z.shape[1]==X.shape[1]
|
||||
|
||||
sparse_GP.__init__(self, X, likelihood, kernel, Z=Z, normalize_X=normalize_X)
|
||||
SparseGP.__init__(self, X, likelihood, kernel, Z=Z, normalize_X=normalize_X)
|
||||
self._set_params(self._get_params())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue