Module Expr Str ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str AugAssignAdd NameStore BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Return Call NameLoad BinOpAdd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Return BinOpMult BinOpMult AttributeLoad NameLoad attr Call NameLoad BinOpAdd Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

Written (W) 2013 Heiko Strathmann
Written (W) 2013 Dino Sejdinovic
 numpy array kameleon_mcmc.kernel.Kernel Kernel PolynomialKernel N/A Kernel N/A __init__ N/A N/A self degree theta N/A 0.2 N/A N/A N/A N/A Kernel __init__ self N/A N/A self degree degree N/A N/A self theta theta N/A __str__ N/A N/A self N/A N/A N/A s N/A N/A N/A self __class__ __name__ =[ N/A s N/A degree= N/A str N/A self degree N/A s N/A ,  N/A N/A Kernel __str__ self N/A s ] N/A s N/A kernel N/A N/A self X Y N/A None N/A N/A 
        Computes the polynomial kernel k(x,y)=(1+theta*<x,y>)^degree for the given data
        X - samples on right hand side
        Y - samples on left hand side, can be None in which case its replaced by X
         N/A N/A Y None N/A N/A Y X N/A N/A pow N/A N/A self theta N/A N/A X dot N/A Y T N/A self degree N/A gradient N/A N/A self x Y N/A N/A N/A 
        Computes the gradient of the Polynomial kernel wrt. to the left argument, i.e.
        
abla_x k(x,y)=
abla_x (1+x^Ty)^d=d(1+x^Ty)^(d-1) y
        
        x - single sample on right hand side (1D vector)
        Y - samples on left hand side (2D matrix)
         N/A N/A N/A len N/A x shape 1 N/A N/A N/A len N/A Y shape 2 N/A N/A N/A len x N/A N/A Y shape N/A 1 N/A N/A N/A N/A self degree N/A pow N/A 1 N/A N/A x dot N/A Y T N/A self degree Y N/A N/A