mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
More input fixes
This commit is contained in:
parent
4b7036bdb2
commit
7a9203be4d
2 changed files with 8 additions and 2 deletions
|
|
@ -1 +1 @@
|
||||||
from hmc import HMC
|
from .hmc import HMC
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,13 @@ import sys
|
||||||
import re
|
import re
|
||||||
import numdifftools as ndt
|
import numdifftools as ndt
|
||||||
import pdb
|
import pdb
|
||||||
import cPickle
|
|
||||||
|
try:
|
||||||
|
#In Python 2, cPickle is faster. It does not exist in Python 3 but the underlying code is always used
|
||||||
|
#if available
|
||||||
|
import cPickle as pickle
|
||||||
|
except ImportError:
|
||||||
|
import pickle
|
||||||
|
|
||||||
|
|
||||||
class Metropolis_Hastings:
|
class Metropolis_Hastings:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue