mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
developing split kernel
This commit is contained in:
parent
0fde50f56d
commit
627cf9c86c
2 changed files with 2 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ from _src.ODE_UYC import ODE_UYC
|
||||||
from _src.ODE_st import ODE_st
|
from _src.ODE_st import ODE_st
|
||||||
from _src.ODE_t import ODE_t
|
from _src.ODE_t import ODE_t
|
||||||
from _src.poly import Poly
|
from _src.poly import Poly
|
||||||
|
from _src.splitKern import SplitKern
|
||||||
|
|
||||||
# TODO: put this in an init file somewhere
|
# TODO: put this in an init file somewhere
|
||||||
#I'm commenting this out because the files were not added. JH. Remember to add the files before commiting
|
#I'm commenting this out because the files were not added. JH. Remember to add the files before commiting
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ def index_to_slices(index):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#contruct the return structure
|
#contruct the return structure
|
||||||
ind = np.asarray(index,dtype=np.int64)
|
ind = np.asarray(index,dtype=np.int)
|
||||||
ret = [[] for i in range(ind.max()+1)]
|
ret = [[] for i in range(ind.max()+1)]
|
||||||
|
|
||||||
#find the switchpoints
|
#find the switchpoints
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue