mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-26 05:16:24 +02:00
Update ss_gplvm.py
resolve the future warning: FutureWarning:comparison to `None` will result in an elementwise object comparison in the future.
This commit is contained in:
parent
fce0e4258b
commit
e74a31c482
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ class SSGPLVM(SparseGP_MPI):
|
|||
self.init = init
|
||||
self.sharedX = sharedX
|
||||
|
||||
if X == None:
|
||||
if X is None:
|
||||
from ..util.initialization import initialize_latent
|
||||
X, fracs = initialize_latent(init, input_dim, Y)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue