Пример #1
0
def plot_Carls_kernel():
    kernel = fk.Carls_Mauna_kernel()
        
    X = np.linspace(0,10,1000)
    sigma = gpml.plot_kernel(kernel, X)
    
    pylab.figure()
    pylab.plot(X, sigma)    
    pylab.title('Carl''s kernel');
Пример #2
0
def plot_our_kernel():
    kernel  = ( fk.SqExpKernel(-0.7, -1.3) + fk.SqExpKernel(4.8, 2.3) ) * \
              ( fk.SqExpKernel(3.0, 0.5) + fk.SqExpPeriodicKernel(0.4, -0.0, -0.9) )

    X = np.linspace(0, 10, 1000)
    sigma = gpml.plot_kernel(kernel, X)

    pylab.figure()
    pylab.plot(X, sigma)
    pylab.title('Our kernel')
Пример #3
0
def plot_Carls_kernel():
    kernel = fk.Carls_Mauna_kernel()

    X = np.linspace(0, 10, 1000)
    sigma = gpml.plot_kernel(kernel, X)

    pylab.figure()
    pylab.plot(X, sigma)
    pylab.title('Carl'
                's kernel')
Пример #4
0
def plot_our_kernel():
    kernel  = ( fk.SqExpKernel(-0.7, -1.3) + fk.SqExpKernel(4.8, 2.3) ) * \
              ( fk.SqExpKernel(3.0, 0.5) + fk.SqExpPeriodicKernel(0.4, -0.0, -0.9) ) 
        
    X = np.linspace(0,10,1000)
    sigma = gpml.plot_kernel(kernel, X)
    
    pylab.figure()
    pylab.plot(X, sigma)    
    pylab.title('Our kernel');