Module Expr Str Import alias Import alias identifier alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Num attr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Num attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Assert Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Assert Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num SubscriptLoad AttributeLoad NameLoad attr Slice Num Assert Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Str body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Num Num NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str BinOpMult Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num BinOpAdd AttributeLoad NameLoad attr Num body AugAssignAdd NameStore BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index NameLoad BinOpPow NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num BinOpAdd AttributeLoad NameLoad attr Num body AugAssignAdd NameStore BinOpMult BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad BinOpPow NameLoad BinOpSub NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore Call NameLoad BinOpAdd AttributeLoad NameLoad attr Num body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Call AttributeLoad BinOpMult NameLoad BinOpPow NameLoad NameLoad attr Num decorator_list decorator_list Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Num Num Num ExtSlice Slice Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpAdd Call AttributeLoad NameLoad attr NameLoad BinOpMult Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num ExtSlice Slice Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
Created on 4 Sep 2015

@author: maxz
 N/A unittest N/A numpy np GPy GPy.core.parameterization.variational NormalPosterior Test N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A np random seed 12345 N/A N/A self N 20 N/A N/A self N_new 50 N/A N/A self D 1 N/A N/A self X N/A N/A N/A np random uniform -3.0 3.0 N/A N/A self N 1 N/A N/A self Y N/A N/A N/A np sin N/A self X N/A N/A N/A N/A np random randn N/A self N N/A self D 0.05 N/A N/A self X_new N/A N/A N/A np random uniform -3.0 3.0 N/A N/A self N_new 1 N/A test_setxy_bgplvm N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern RBF 1 N/A m N/A N/A N/A GPy models BayesianGPLVM N/A self Y 1 kernel k N/A N/A mu var N/A N/A m predict N/A m X N/A X N/A N/A N/A m X copy N/A Xnew N/A NormalPosterior N/A N/A N/A N/A N/A m X mean N/A 10 copy N/A N/A N/A N/A N/A m X variance N/A 10 copy N/A N/A N/A m set_XY Xnew N/A N/A m Y N/A 10 N/A N/A N/A m checkgrad N/A N/A N/A m set_XY X N/A self Y N/A N/A mu2 var2 N/A N/A m predict N/A m X N/A N/A N/A N/A np testing assert_allclose mu mu2 N/A N/A N/A N/A np testing assert_allclose var var2 N/A test_setxy_gplvm N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern RBF 1 N/A m N/A N/A N/A GPy models GPLVM N/A self Y 1 kernel k N/A N/A mu var N/A N/A m predict N/A m X N/A X N/A N/A N/A m X copy N/A Xnew N/A N/A N/A X N/A 10 copy N/A N/A N/A m set_XY Xnew N/A N/A m Y N/A 10 N/A N/A N/A m checkgrad N/A N/A N/A m set_XY X N/A self Y N/A N/A mu2 var2 N/A N/A m predict N/A m X N/A N/A N/A N/A np testing assert_allclose mu mu2 N/A N/A N/A N/A np testing assert_allclose var var2 N/A test_setxy_gp N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern RBF 1 N/A m N/A N/A N/A GPy models GPRegression N/A self X N/A self Y kernel k N/A N/A mu var N/A N/A m predict N/A m X N/A X N/A N/A N/A m X copy N/A N/A N/A m set_XY N/A N/A m X N/A 10 N/A N/A m Y N/A 10 N/A N/A N/A m checkgrad N/A N/A N/A m set_XY X N/A self Y N/A N/A mu2 var2 N/A N/A m predict N/A m X N/A N/A N/A N/A np testing assert_allclose mu mu2 N/A N/A N/A N/A np testing assert_allclose var var2 N/A test_mean_function N/A N/A self N/A N/A GPy.core.parameterization.param Param GPy.core.mapping Mapping Parabola N/A Mapping N/A __init__ N/A N/A self variance degree name N/A 2 parabola N/A N/A N/A N/A N/A super Parabola self __init__ 1 1 name N/A N/A self variance N/A Param variance N/A N/A N/A np ones N/A degree 1 variance N/A N/A self degree degree N/A N/A N/A self link_parameter N/A self variance N/A f N/A N/A self X N/A N/A N/A p N/A N/A N/A self variance N/A 0 N/A N/A np ones N/A X shape N/A i N/A range 1 N/A N/A self degree 1 N/A N/A p N/A N/A N/A self variance N/A i N/A X i N/A p N/A gradients_X N/A N/A self dL_dF X N/A N/A N/A grad N/A N/A np zeros N/A X shape N/A i N/A range 1 N/A N/A self degree 1 N/A N/A grad N/A N/A i N/A N/A self variance N/A i N/A X N/A i 1 N/A grad N/A update_gradients N/A N/A self dL_dF X N/A N/A N/A i N/A range N/A N/A self degree 1 N/A N/A N/A N/A N/A self variance gradient N/A i N/A N/A N/A dL_dF N/A X i sum 0 N/A N/A N/A X N/A N/A N/A np linspace -2 2 100 N/A N/A N/A None N/A k N/A N/A N/A GPy kern RBF 1 N/A N/A N/A k randomize N/A p N/A Parabola 0.3 N/A N/A N/A p randomize N/A Y N/A N/A N/A N/A p f X N/A N/A N/A N/A np random multivariate_normal N/A N/A np zeros N/A N/A X shape N/A 0 N/A N/A N/A k K X N/A N/A N/A np eye N/A N/A X shape N/A 0 1e-08 N/A N/A N/A None N/A N/A N/A np random normal 0 0.1 N/A N/A N/A X shape N/A 0 1 N/A m N/A N/A N/A GPy models GPRegression X Y mean_function p N/A N/A N/A m randomize N/A N/A N/A m checkgrad N/A _ N/A N/A m predict N/A m X N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main