Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert CompareEq Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad TupleLoad Num Call NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpUSub Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Return Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub BinOpAdd NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice 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
 abc abstractmethod kameleon_mcmc.distribution.Gaussian Gaussian kameleon_mcmc.gp.GPTools GPTools kameleon_mcmc.gp.covariance.SquaredExponentialCovariance SquaredExponentialCovariance kameleon_mcmc.gp.inference.LaplaceApproximation LaplaceApproximation kameleon_mcmc.gp.likelihood.LogitLikelihood LogitLikelihood numpy.lib.function_base delete numpy.linalg.linalg solve numpy.ma.core zeros reshape asarray log exp shape array mean numpy.ma.extras hstack cov GaussianProcess N/A object N/A __init__ N/A N/A self y X covariance likelihood N/A N/A N/A 
        y - data (labels)
        X - covariates
         N/A N/A self y y N/A N/A self X X N/A N/A self covariance covariance N/A N/A self likelihood likelihood N/A N/A self K N/A N/A N/A self covariance compute N/A self X N/A get_gp_prior N/A N/A self N/A N/A N/A 
        Returns GP prior N(0,K), only possible do if K is psd
         N/A N/A Gaussian N/A zeros N/A len N/A self K N/A self K is_cholesky False N/A log_prior N/A N/A self f N/A N/A N/A 
        Computes log(p(f)), only possible do if K is psd
        
        f - 1d vector
         N/A N/A N/A len f N/A len N/A self y N/A f_2d N/A reshape f N/A 1 N/A len f N/A N/A N/A N/A N/A self get_gp_prior log_pdf f_2d N/A log_prior_grad_vector N/A N/A self f N/A N/A N/A N/A N/A solve N/A self K f N/A log_likelihood_grad_vector N/A N/A self f N/A N/A N/A N/A N/A N/A self likelihood log_lik_grad_vector N/A self y f N/A log_likelihood N/A N/A self f N/A N/A N/A 
        Computes log(p(y|f))
         N/A N/A sum N/A N/A N/A self likelihood log_lik_vector N/A self y f N/A log_likelihood_multiple N/A N/A self F N/A N/A N/A all N/A N/A N/A self likelihood log_lik_vector_multiple N/A self y F N/A N/A asarray N/A N/A sum a N/A a all N/A log_posterior_unnormalised N/A N/A self f N/A N/A N/A 
        Computes log(p(y,f))=log(p(y|f)+log(p(f)), only possible do if K is psd
         N/A lik N/A N/A self log_likelihood f N/A prior N/A N/A self log_prior f N/A N/A prior lik N/A log_posterior_grad_vector N/A N/A self f N/A N/A N/A lik N/A N/A self log_likelihood_grad_vector f N/A prior N/A N/A self log_prior_grad_vector f N/A N/A prior lik N/A log_ml_estimate N/A N/A self proposal n N/A 1 N/A N/A 
        Computes an estimate for the marginal likelihood p(y) using importance
        sampling the provided proposal distribution
         N/A prior N/A N/A self get_gp_prior N/A samples N/A N/A N/A proposal sample n samples N/A log_likelihood N/A N/A self log_likelihood_multiple samples N/A log_prior N/A N/A prior log_pdf samples N/A log_proposal N/A N/A proposal log_pdf samples N/A X N/A N/A log_likelihood log_prior log_proposal N/A N/A N/A GPTools log_mean_exp X N/A gen_num_hyperparameters N/A N/A self N/A N/A N/A N/A N/A N/A N/A self covariance get_num_hyperparameters N/A N/A N/A self likelihood get_num_hyperparameters N/A get_hyperparameters N/A N/A self N/A N/A N/A theta N/A N/A N/A self covariance get_hyperparameters N/A theta N/A hstack N/A theta N/A N/A N/A self likelihood get_hyperparameters N/A theta N/A set_hyperparameters N/A N/A self theta N/A N/A N/A num_cov N/A N/A N/A self covariance gen_num_hyperparameters N/A N/A N/A N/A self covariance set_hyperparameters N/A theta N/A num_cov N/A N/A N/A N/A self likelihood set_hyperparameters N/A theta N/A num_cov N/A N/A