From 4f0894b6b703aa21b50cde74c4847d4e917f3dd8 Mon Sep 17 00:00:00 2001 From: Zhenwen Dai Date: Mon, 30 Mar 2015 15:25:59 +0100 Subject: [PATCH] change the name of kernel DiffGenomeKern to DEtime --- GPy/kern/__init__.py | 3 ++- GPy/kern/_src/splitKern.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/GPy/kern/__init__.py b/GPy/kern/__init__.py index 718be74f..0e1f8a0d 100644 --- a/GPy/kern/__init__.py +++ b/GPy/kern/__init__.py @@ -16,5 +16,6 @@ from _src.poly import Poly from _src.eq_ode2 import EQ_ODE2 from _src.trunclinear import TruncLinear,TruncLinear_inf -from _src.splitKern import SplitKern,DiffGenomeKern +from _src.splitKern import SplitKern,DEtime +from _src.splitKern import DEtime as DiffGenomeKern diff --git a/GPy/kern/_src/splitKern.py b/GPy/kern/_src/splitKern.py index 27e4f76b..3b2e5716 100644 --- a/GPy/kern/_src/splitKern.py +++ b/GPy/kern/_src/splitKern.py @@ -7,7 +7,7 @@ from kern import Kern,CombinationKernel from .independent_outputs import index_to_slices import itertools -class DiffGenomeKern(Kern): +class DEtime(Kern): def __init__(self, kernel, idx_p, Xp, index_dim=-1, name='DiffGenomeKern'): self.idx_p = idx_p