plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | lcnhappe/happe-master | elasticlin.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/elasticnet/elasticlin.m | 4,041 | utf_8 | 5795b073168c65dbf9bb3d3425e075f4 | function [beta,beta0,conv] = elasticlin(X,Y,nu,lambda,options,beta,beta0)
% ELASTICLIN Elastic net implementation using coordinate descent,
% particularly suited for sparse high-dimensional models
% X: ninput x nsamples input data
% Y: 1 x nsamples output data
% nu: ninput x 1 weights for L1 penalty
% la... |
github | lcnhappe/happe-master | elasticlog.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/elasticnet/elasticlog.m | 4,626 | utf_8 | 1515764e86a85226867842c7a06c18d0 | function [beta,beta0,conv] = elasticlog(X,Y,nu,lambda,options,beta,beta0)
% ELASTICLOG Elastic net implementation using coordinate descent,
% particularly suited for sparse high-dimensional models
% X: ninput x nsamples input data
% Y: 1 x nsamples output data (class labels 0 and 1)
% nu: ninput x 1 weig... |
github | lcnhappe/happe-master | bls.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/pls/bls.m | 2,337 | utf_8 | 9e3e3838737dacc7f5b2dace9b43e117 | function [A,B,Ypredict] = bls(X,Y,nhidden,algorithm)
% BLS Bottleneck least squares aka sparse orthogonalized least squares
%
% X: ninput x nsamples input data matrix
% Y: noutput x nsamples output data matrix
% nhidden: dimension of hidden
%
% A: noutput x nhidden weight matrix
% B: ninput x nhidden weight matrix
i... |
github | lcnhappe/happe-master | elastic.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/pls/elastic.m | 3,250 | utf_8 | 0a8ac22b23d8aab23f77c4e49a0644a4 | function [beta,beta0] = elastic(X,Y,nu,lambda,options,beta,beta0)
% ELASTICNET Elastic net implementation using coordinate descent,
% particularly suited for sparse high-dimensional models
% X: ninput x nsamples input data
% Y: 1 x nsamples output data
% nu: ninput x 1 weights for L1 penalty
% lambda: ni... |
github | lcnhappe/happe-master | opls.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/pls/opls.m | 2,338 | utf_8 | 413ad9957ca8651409ebf4479f96f580 | function [A,B,Ypredict] = opls(X,Y,nhidden,algorithm)
% BLS Bottleneck least squares aka sparse orthogonalized least squares
%
% X: ninput x nsamples input data matrix
% Y: noutput x nsamples output data matrix
% nhidden: dimension of hidden
%
% A: noutput x nhidden weight matrix
% B: ninput x nhidden weight matrix
... |
github | lcnhappe/happe-master | dvComp.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/svm/dvComp.m | 1,449 | utf_8 | 935cb0c3970f3d1dbfa2c2a9c2d9d6c6 | function [dv]=dvComp(Xtst,Xtrn,kernel,alphab,varargin)
% Compute the decision values for a kernel classifier
%
% [dv]=dvComp(Xtst,kernel,Xtrn,alphab,...)
%
% dv = K(Xtrn,Xtst)*alphab(1:end-1)+alphab(end)
%
% Inputs:
% Xtst -- [N x d] test set
% Xtrn -- [Ntrn x d] training set
% kernel -- the kernel function *as ... |
github | lcnhappe/happe-master | l2svm_cg.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/svm/l2svm_cg.m | 15,343 | utf_8 | 9d8b76e63b49da516da17d4dfcc04574 | function [wb,f,J,obj]=l2svm_cg(K,Y,C,varargin);
% [alphab,f,J]=l2svm(K,Y,C,varargin)
% Quadratic Loss Support Vector machine using a pre-conditioned conjugate
% gradient solver so extends to large input kernels.
%
% J = C(1) w' K w + sum_i max(0 , 1 - y_i ( w'*K_i + b ) ).^2
%
% Inputs:
% K - [NxN] kernel matr... |
github | lcnhappe/happe-master | csp.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/svm/csp.m | 6,469 | utf_8 | 17b337166f090c24d162dfc7e010f835 | function [sf,d,Sigmai,Sigmac,SigmaAll]=csp(X,Y,dim,cent,ridge,singThresh)
% Generate spatial filters using CSP
%
% [sf,d,Sigmai,Sigmac,SigmaAll]=csp(X,Y,[dim]);
% N.B. if inputs are singular then d will contain 0 eigenvalues & sf==0
% Inputs:
% X -- n-d data matrix, e.g. [nCh x nSamp x nTrials] data set, OR
% ... |
github | lcnhappe/happe-master | whiten.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/svm/whiten.m | 7,608 | utf_8 | 37ffeab940403c215817ba5e7251cfd4 | function [W,D,wX,U,mu,Sigma,alpha]=whiten(X,dim,alpha,centerp,stdp,symp,linMapMx,tol,unitCov,order)
% whiten the input data
%
% [W,D,wX,U,mu,Sigma,alpha]=whiten(X,dim[,alpha,center,stdp,symp,linMapMx,tol,unitCov,order])
%
% Inputs:
% X - n-d input data set
% dim - dim(1)=dimension to whiten
% dim(2:end) ... |
github | lcnhappe/happe-master | repop_testcases.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/svm/repop/repop_testcases.m | 11,158 | utf_8 | 79bc2813b0a64a4efbc64e27cf0ef960 | function []=repop_testcases(testType)
%
% This file contains lots of test-cases to test the performance of the repop
% files vs. the matlab built-ins.
%
% N.B. there appears to be a bug in MATLAB when comparing mixed
% complex/real + double/single values in a max/min
%
% Copyright 2006- by Jason D.R. Farquhar (jdr... |
github | lcnhappe/happe-master | tprod_testcases.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/svm/tprod/tprod_testcases.m | 17,197 | utf_8 | 26b0e1b54b6867e5d62e8956c84e01bd | function []=tprod_testcases(testCases,debugin)
% This file contains lots of test-cases to test the performance of the tprod
% files vs. the matlab built-ins.
%
%
% Copyright 2006- by Jason D.R. Farquhar (jdrf@zepler.org)
% Permission is granted for anyone to copy, use, or modify this
% software and accompanying do... |
github | lcnhappe/happe-master | etprod.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/svm/tprod/etprod.m | 3,882 | utf_8 | 2f529c6b86be54251a59ae7f9db81d98 | function [C,Atp,Btp]=etprod(Cidx,A,Aidx,B,Bidx)
% tprod wrapper to make calls more similar to Einstein Summation Convention
%
% [C,Atp,Btp]=etprod(Cidx,A,Aidx,B,Bidx);
% Wrapper function for tprod to map between Einstein summation
% convetion (ESC) and tprod's numeric calling convention e.g.
% 1) Matrix Matrix product:... |
github | lcnhappe/happe-master | covshrinkKPM.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/slda/covshrinkKPM.m | 2,367 | utf_8 | 5dec20c5cd59e71f053003124ae98c46 | function [s, lam] = covshrinkKPM(x, shrinkvar)
% Shrinkage estimate of a covariance matrix, using optimal shrinkage coefficient.
% INPUT:
% x is n*p data matrix
% shrinkvar :
% 0: corshrink (default)
% 1: varshrink
%
% OUTPUT:
% s is the posdef p*p cov matrix
% lam is the shrinkage coefficient
%
% See J. Schaefer an... |
github | lcnhappe/happe-master | glmnet.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/glmnet/glmnet.m | 12,230 | utf_8 | 8b349969d0712566867f87fff7e75396 | function fit = glmnet(x, y, family, options)
%--------------------------------------------------------------------------
% glmnet.m: fit an elasticnet model path
%--------------------------------------------------------------------------
%
% DESCRIPTION:
% Fit a regularization path for the elasticnet at a grid of v... |
github | lcnhappe/happe-master | glmnetPlot.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/glmnet/glmnetPlot.m | 3,485 | utf_8 | 25bef119d3957074e024d7afafff205f | function glmnetPlot( x, xvar, label )
%--------------------------------------------------------------------------
% glmnetPlot.m: plot coefficients from a "glmnet" object
%--------------------------------------------------------------------------
%
% DESCRIPTION:
% Produces a coefficient profile plot fo the coeffic... |
github | lcnhappe/happe-master | glmnetPredict.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/glmnet/glmnetPredict.m | 9,023 | utf_8 | fd2d04fce352a52a0c6616c95fc90bd1 | function result = glmnetPredict(object, type, newx, s)
%--------------------------------------------------------------------------
% glmnetPredict.m: make predictions from a "glmnet" object.
%--------------------------------------------------------------------------
%
% DESCRIPTION:
% Similar to other predict metho... |
github | lcnhappe/happe-master | m2kml.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/misc/m2kml.m | 1,807 | utf_8 | 6ab3b7f8f1cac70d62e51ac3b881ffdf | % M2KML Converts GP prediction results to a KML file
%
% Input:
% input_file - Name of the .mat file containing GP results
% cellsize - Size of the cells in meters
% output_file - Name of the output file without the file extension!
% If output is not given the name of the input f... |
github | lcnhappe/happe-master | mapcolor2.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/misc/mapcolor2.m | 1,973 | utf_8 | 808a8a3bca47cf7634126af39ec9c1a2 |
function map = mapcolor2(A, breaks)
%MAPCOLOR2 Create a blue-gray-red colormap.
% MAPCOLOR2(A, BREAKS), when A is a matrix and BREAKS a vector, returns a
% colormap that can be used as a parameter in COLORMAP function. BREAKS
% has to contain six break values for a 7-class colormap. The break
% values define ... |
github | lcnhappe/happe-master | test_regression_sparse1.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_regression_sparse1.m | 2,394 | utf_8 | ed030b7ce8f86b52cfc2037d0c1d216d | function test_suite = test_regression_sparse1
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_REGRESSION_SPARSE1
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test values.
prevstream=setrandstream(0);... |
github | lcnhappe/happe-master | test_multiclass.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_multiclass.m | 1,348 | utf_8 | 6de4245c71740a6340e2cd4852cad0e7 | function test_suite = test_multiclass
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_MULTICLASS
initTestSuite;
function testDemo
% Set random number stream so that test failing isn't because randomness.
% Run demo & save test values.
prevstream=setrandstream(0)... |
github | lcnhappe/happe-master | test_regression_additive2.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_regression_additive2.m | 1,200 | utf_8 | 5cfacab33d356c758648eb98795b4b25 | function test_suite = test_regression_additive2
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_REGRESSION_ADDITIVE2
initTestSuite;
function testDemo
% Set random number stream so that test failing isn't because randomness.
% Run demo & save test values.
prevstream... |
github | lcnhappe/happe-master | test_regression_meanf.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_regression_meanf.m | 1,003 | utf_8 | 1ad49d761a9849fba70028e4a0deae3d | function test_suite = test_regression_meanf
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_REGRESSION_MEANF
initTestSuite;
function testDemo
% Set random number stream so that test failing isn't because randomness.
% Run demo & save test values.
prevstream=setrandstream(0... |
github | lcnhappe/happe-master | test_regression_ppcs.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_regression_ppcs.m | 1,373 | utf_8 | 7fda1165ed379fa8accab66db375fd9d | function test_suite = test_regression_ppcs
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_REGRESSION_PPCS
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test values.
prevstream=setrandstream(0);
disp... |
github | lcnhappe/happe-master | test_spatial1.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_spatial1.m | 1,460 | utf_8 | 51de1c938a75607200183816de226e34 | function test_suite = test_spatial1
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_SPATIAL1
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test values.
prevstream=setrandstream(0);
disp('Running: dem... |
github | lcnhappe/happe-master | test_periodic.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_periodic.m | 1,906 | utf_8 | d63046190abe59ab1b11667e35546492 | function test_suite = test_periodic
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_PERIODIC
initTestSuite;
function testDemo
% Set random number stream so that test failing isn't because randomness.
% Run demo & save test values.
prevstream=setrandstream(0);
disp('Running... |
github | lcnhappe/happe-master | test_regression_additive1.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_regression_additive1.m | 2,344 | utf_8 | 346daba327586ff75f7c9b113cd9224b | function test_suite = test_regression_additive1
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_REGRESSION_ADDITIVE1
initTestSuite;
function testDemo
% Set random number stream so that test failing isn't because randomness.
% Run demo & save test values.
prevstream=... |
github | lcnhappe/happe-master | test_survival_weibull.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_survival_weibull.m | 1,382 | utf_8 | 3b33524a51abd8435e5757f2ce935c4e | function test_suite = test_survival_weibull
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_SURVIVAL_WEIBULL
% Copyright (c) 2011-2012 Ville Tolvanen
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test... |
github | lcnhappe/happe-master | test_zinegbin.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_zinegbin.m | 1,120 | utf_8 | d8a5a32418b9e85ce3b6a3de126a3c46 | function test_suite = test_zinegbin
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_ZINEGBIN
% Copyright (c) 2011-2012 Ville Tolvanen
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test values.
prevstr... |
github | lcnhappe/happe-master | test_regression_sparse2.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_regression_sparse2.m | 1,820 | utf_8 | c3167a5e33d483573669205845efb0b6 | function test_suite = test_regression_sparse2
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_REGRESSION_SPARSE2
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test values.
prevstream=setrandstream(0);
... |
github | lcnhappe/happe-master | test_spatial2.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_spatial2.m | 1,396 | utf_8 | 82431e99b626dd45f3691e828f9f209b | function test_suite = test_spatial2
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_SPATIAL2
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test values.
prevstream=setrandstream(0);
disp('Running: de... |
github | lcnhappe/happe-master | test_regression_hier.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_regression_hier.m | 992 | utf_8 | ed6062874abff9cbf8ae1925856aff6d | function test_suite = test_regression_hier
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_REGRESSION_HIER
initTestSuite;
% Set random number stream so that test failing isn't because randomness.
% Run demo & save test values.
function testDemo
prevstream=setrandstream(0);
... |
github | lcnhappe/happe-master | test_neuralnetcov.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_neuralnetcov.m | 1,432 | utf_8 | cf9e6362388bd59b2da5c1760ddf809c | function test_suite = test_neuralnetcov
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_NEURALNETCOV
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test values.
prevstream=setrandstream(0);
disp('Runn... |
github | lcnhappe/happe-master | test_multinom.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_multinom.m | 1,082 | utf_8 | f0950b45a324a1f3ca22c5691fac21c3 | function test_suite = test_multinom
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_ZINEGBIN
% Copyright (c) 2011-2012 Ville Tolvanen
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test values.
prevstr... |
github | lcnhappe/happe-master | test_regression_robust.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_regression_robust.m | 1,567 | utf_8 | 941d7778d6b1aeaf4b1a7b70a1639d28 | function test_suite = test_regression_robust
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_REGRESSION_ROBUST
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test values.
prevstream=setrandstream(0);
... |
github | lcnhappe/happe-master | test_survival_coxph.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/xunit/test_survival_coxph.m | 1,358 | utf_8 | 98ec11c9517f7656fb584f0cf36596e3 | function test_suite = test_survival_coxph
% Run specific demo and save values for comparison.
%
% See also
% TEST_ALL, DEMO_SURVIVAL_COXPH
% Copyright (c) 2011-2012 Ville Tolvanen
initTestSuite;
function testDemo
% Set random number stream so that failing isn't because randomness. Run
% demo & save test val... |
github | lcnhappe/happe-master | fminlbfgs.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/optim/fminlbfgs.m | 35,278 | utf_8 | bbb5921f455647a8404163243c3fff60 | function [x,fval,exitflag,output,grad]=fminlbfgs(funfcn,x_init,optim)
%FMINLBFGS finds a local minimum of a function of several variables.
% This optimizer is developed for image registration
% methods with large amounts of unknown variables.
%
% Description
% Optimization methods supported:
% ... |
github | lcnhappe/happe-master | prior_gaussian.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_gaussian.m | 3,537 | UNKNOWN | 7a422794084fa6f6e913f9712c2db4c9 | function p = prior_gaussian(varargin)
%PRIOR_GAUSSIAN Gaussian prior structure
%
% Description
% P = PRIOR_GAUSSIAN('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates Gaussian prior structure in which the named
% parameters have the specified values. Any unspecified
% parameters are set to de... |
github | lcnhappe/happe-master | kernelp.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/kernelp.m | 1,374 | utf_8 | 3784b6e72d83468627af9252dd902b7c | function [p,xx,sh]=kernelp(x,xx)
%KERNELP 1D Kernel density estimation of data, with automatic kernel width
%
% [P,XX]=KERNELP(X,XX) return density estimates P in points XX,
% given data and optionally ecvaluation points XX. Density
% estimate is based on simple Gaussian kernel density estimate
% where all kernels ... |
github | lcnhappe/happe-master | normtrand.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/normtrand.m | 1,912 | utf_8 | 8420418c944aa575ac4f7577538f089d | function result = normtrand(mu,sigma2,left,right)
%NORMTRAND random draws from a normal truncated to (left,right) interval
% ------------------------------------------------------
% USAGE: y = normtrand(mu,sigma2,left,right)
% where: mu = mean (nobs x 1)
% sigma2 = variance (nobs x 1)
% left = left trunc... |
github | lcnhappe/happe-master | prior_sqinvunif.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_sqinvunif.m | 1,662 | utf_8 | 91f8f43d06a07b161cdd806273eed21f | function p = prior_sqinvunif(varargin)
%PRIOR_SQINVUNIF Uniform prior structure for the square inverse of the parameter
%
% Description
% P = PRIOR_SQINVUNIF creates uniform prior structure for the
% square inverse of the parameter.
%
% See also
% PRIOR_*
% Copyright (c) 2009 Jarno Vanhatalo
% C... |
github | lcnhappe/happe-master | prior_sqinvsinvchi2.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_sqinvsinvchi2.m | 4,247 | UNKNOWN | 199059cd0dc523cf6b8df74a02823f7a | function p = prior_sqinvsinvchi2(varargin)
%PRIOR_SQINVSINVCHI2 Scaled-Inv-Chi^2 prior structure
%
% Description
% P = PRIOR_SQINVSINVCHI2('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates Scaled-Inv-Chi^2 prior structure for square inverse of
% the parameter in which the named parameters have the sp... |
github | lcnhappe/happe-master | prior_loggaussian.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_loggaussian.m | 3,863 | UNKNOWN | 2d891ad38e859e59dfe99eab9a5a56a7 | function p = prior_loggaussian(varargin)
%PRIOR_LOGGAUSSIAN Log-Gaussian prior structure
%
% Description
% P = PRIOR_LOGGAUSSIAN('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates Log-Gaussian prior structure in which the named
% parameters have the specified values. Any unspecified
% paramet... |
github | lcnhappe/happe-master | prior_invgamma.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_invgamma.m | 3,626 | UNKNOWN | 462df219d9ed058f9b45af8042c3da3d | function p = prior_invgamma(varargin)
%PRIOR_INVGAMMA Inverse-gamma prior structure
%
% Description
% P = PRIOR_INVGAMMA('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates Gamma prior structure in which the named parameters
% have the specified values. Any unspecified parameters are set
% to ... |
github | lcnhappe/happe-master | prior_t.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_t.m | 5,110 | UNKNOWN | ebeba7f5ea490b60a90e128905d025e4 | function p = prior_t(varargin)
%PRIOR_T Student-t prior structure
%
% Description
% P = PRIOR_T('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates Student's t-distribution prior structure in which the
% named parameters have the specified values. Any unspecified
% parameters are set to defaul... |
github | lcnhappe/happe-master | prior_logt.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_logt.m | 4,935 | UNKNOWN | 3155c4ca02354ee7d652c9e8a1006a43 | function p = prior_logt(varargin)
%PRIOR_LOGT Student-t prior structure for the log of the parameter
%
% Description
% P = PRIOR_LOGT('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates for the log of the parameter Student's t-distribution
% prior structure in which the named parameters have the
% ... |
github | lcnhappe/happe-master | prior_invt.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_invt.m | 5,044 | UNKNOWN | 4d2a44a16c36b25eda045042b14610c0 | function p = prior_invt(varargin)
%PRIOR_INVT Student-t prior structure for the inverse of the parameter
%
% Description
% P = PRIOR_INVT('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates for the inverse of the parameter Student's
% t-distribution prior structure in which the named parameters
% h... |
github | lcnhappe/happe-master | prior_unif.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_unif.m | 1,362 | utf_8 | ee7f2a78b02bbd0395bb5893178d1109 | function p = prior_unif(varargin)
%PRIOR_UNIF Uniform prior structure
%
% Description
% P = PRIOR_UNIF creates uniform prior structure.
%
% See also
% PRIOR_*
% Copyright (c) 2009 Jarno Vanhatalo
% Copyright (c) 2010 Aki Vehtari
% This software is distributed under the GNU General Public
% Li... |
github | lcnhappe/happe-master | prior_gamma.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_gamma.m | 3,585 | UNKNOWN | 652a3a22f8107cf4544a0a14fe522194 | function p = prior_gamma(varargin)
%PRIOR_GAMMA Gamma prior structure
%
% Description
% P = PRIOR_GAMMA('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates Gamma prior structure in which the named parameters
% have the specified values. Any unspecified parameters are set
% to default values.
%
% P... |
github | lcnhappe/happe-master | prior_loglogunif.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_loglogunif.m | 1,586 | utf_8 | 9e47770e4cbf89b1f959bac5ca3e8630 | function p = prior_loglogunif(varargin)
%PRIOR_LOGLOGUNIF Uniform prior structure for the log-log of the parameter
%
% Description
% P = PRIOR_LOGLOGUNIF creates uniform prior structure for the
% log-log of the parameters.
%
% See also
% PRIOR_*
% Copyright (c) 2009 Jarno Vanhatalo
% Copyright (... |
github | lcnhappe/happe-master | prior_sqrtinvt.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_sqrtinvt.m | 5,086 | UNKNOWN | 359760ce484043dc8cbe8620784307a0 | function p = prior_sqrtinvt(varargin)
%PRIOR_SQRTINVT Student-t prior structure for the square root of inverse of the parameter
%
% Description
% P = PRIOR_SQRTINVT('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates for square root of inverse of the parameter Student's
% t-distribution prior structur... |
github | lcnhappe/happe-master | prior_sqinvgamma.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_sqinvgamma.m | 4,063 | UNKNOWN | e40fd6ee9ae4d88aaff26182c69a17e9 | function p = prior_sqinvgamma(varargin)
%PRIOR_SQINVGAMMA Gamma prior structure for square inverse of the parameter
%
% Description
% P = PRIOR_SQINVGAMMA('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates Gamma prior structure for square inverse of the
% parameter in which the named parameters have the spe... |
github | lcnhappe/happe-master | prior_laplace.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_laplace.m | 3,459 | UNKNOWN | 47b15af8fb5fcf7caa1bbad31be2af42 | function p = prior_laplace(varargin)
%PRIOR_LAPLACE Laplace (double exponential) prior structure
%
% Description
% P = PRIOR_LAPLACE('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates Laplace prior structure in which the named parameters
% have the specified values. Any unspecified parameters are... |
github | lcnhappe/happe-master | prior_invunif.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_invunif.m | 1,615 | utf_8 | e974f05998d83ecfb5e7bd348f6d8a8d | function p = prior_invunif(varargin)
%PRIOR_INVUNIF Uniform prior structure for the inverse of the parameter
%
% Description
% P = PRIOR_INVUNIF creates uniform prior structure for the
% inverse of the parameter.
%
% See also
% PRIOR_*
% Copyright (c) 2009 Jarno Vanhatalo
% Copyright (c) 2010,20... |
github | lcnhappe/happe-master | prior_sinvchi2.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_sinvchi2.m | 3,787 | UNKNOWN | bb36cbc475243c31f51e061847442b18 | function p = prior_sinvchi2(varargin)
%PRIOR_SINVCHI2 Scaled-Inv-Chi^2 prior structure
%
% Description
% P = PRIOR_SINVCHI2('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates Scaled-Inv-Chi^2 prior structure in which the named
% parameters have the specified values. Any unspecified
% parameters are... |
github | lcnhappe/happe-master | prior_sqrtt.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/dist/prior_sqrtt.m | 5,015 | UNKNOWN | face07c0efdd74ed6d833079c1bfac18 | function p = prior_sqrtt(varargin)
%PRIOR_SQRTT Student-t prior structure for the square root of the parameter
%
% Description
% P = PRIOR_SQRTT('PARAM1', VALUE1, 'PARAM2', VALUE2, ...)
% creates for the square root of the parameter Student's
% t-distribution prior structure in which the named parame... |
github | lcnhappe/happe-master | gradcheck.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/diag/gradcheck.m | 2,489 | utf_8 | 1e4a8a8b0e776eb3b76a4be1c60b649e | function delta = gradcheck(w, func, grad, varargin)
%GRADCHECK Checks a user-defined gradient function using finite differences.
%
% Description
% This function is intended as a utility to check whether a gradient
% calculation has been correctly implemented for a given function.
% GRADCHECK(W, FUNC, GRAD... |
github | lcnhappe/happe-master | geyer_icse.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/diag/geyer_icse.m | 1,895 | utf_8 | d1069007aefb5a41440b9e5e98d12a94 | function [t,t1] = geyer_icse(x,maxlag)
% GEYER_ICSE - Compute autocorrelation time tau using Geyer's
% initial convex sequence estimator
%
% C = GEYER_ICSE(X) returns autocorrelation time tau.
% C = GEYER_ICSE(X,MAXLAG) returns autocorrelation time tau with
% MAXLAG . Default MAXLAG = M-1.
%
... |
github | lcnhappe/happe-master | ksstat.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/diag/ksstat.m | 3,201 | utf_8 | cb6899b300a0a54054487e9374ea9e89 | function [snks, snkss] = ksstat(varargin)
%KSSTAT Kolmogorov-Smirnov statistics
%
% ks = KSSTAT(X) or
% ks = KSSTAT(X1,X2,...,XJ)
% returns Kolmogorov-Smirnov statistics in form sqrt(N)*K
% where M is number of samples. X is a NxMxJ matrix which
% contains J MCMC simulations of length N, each with
% dimen... |
github | lcnhappe/happe-master | hmc2.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/mc/hmc2.m | 9,845 | utf_8 | 4a06c9a759a73a727cd280c3d43cf40f | function [samples, energies, diagn] = hmc2(f, x, opt, gradf, varargin)
%HMC2 Hybrid Monte Carlo sampling.
%
% Description
% SAMPLES = HMC2(F, X, OPTIONS, GRADF) uses a hybrid Monte Carlo
% algorithm to sample from the distribution P ~ EXP(-F), where F is the
% first argument to HMC2. The Mark... |
github | lcnhappe/happe-master | hmc_nuts.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/mc/hmc_nuts.m | 10,716 | utf_8 | 01197102ae8e357143d8a5cc213d39b4 | function [samples, logp, diagn] = hmc_nuts(f, theta0, opt)
%HMC_NUTS No-U-Turn Sampler (NUTS)
%
% Description
% [SAMPLES, LOGP, DIAGN] = HMC_NUTS(f, theta0, opt)
% Implements the No-U-Turn Sampler (NUTS), specifically,
% algorithm 6 from the NUTS paper (Hoffman & Gelman, 2011). Runs
% opt.Madapt steps of b... |
github | lcnhappe/happe-master | sls.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/mc/sls.m | 18,996 | utf_8 | 909e1e12015c1cde6f731f39015ae059 | function [samples,energies,diagn] = sls(f, x, opt, gradf, varargin)
%SLS Markov Chain Monte Carlo sampling using Slice Sampling
%
% Description
% SAMPLES = SLS(F, X, OPTIONS) uses slice sampling to sample
% from the distribution P ~ EXP(-F), where F is the first
% argument to SLS. Markov chain starts fro... |
github | lcnhappe/happe-master | metrop2.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/mc/metrop2.m | 4,703 | utf_8 | 08184b230c18c07d461096023d9c021a | function [samples, energies, diagn] = metrop2(f, x, opt, gradf, varargin)
%METROP2 Markov Chain Monte Carlo sampling with Metropolis algorithm.
%
% Description
% SAMPLES = METROP(F, X, OPT) uses the Metropolis algorithm to
% sample from the distribution P ~ EXP(-F), where F is the first
% argument to METROP. The Mark... |
github | lcnhappe/happe-master | gp_optim.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gp_optim.m | 5,760 | utf_8 | 853821530091611d1616a58b4951a2c7 | function [gp, varargout] = gp_optim(gp, x, y, varargin)
%GP_OPTIM Optimize paramaters of a Gaussian process
%
% Description
% GP = GP_OPTIM(GP, X, Y, OPTIONS) optimises the parameters of a
% GP structure given matrix X of training inputs and vector
% Y of training targets.
%
% [GP, OUTPUT1, OUTPUT2, ...]... |
github | lcnhappe/happe-master | gp_mc.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gp_mc.m | 22,688 | utf_8 | 42a2a7d17e9adb7a658a7b89b4390d19 | function [record, gp, opt] = gp_mc(gp, x, y, varargin)
%GP_MC Markov chain Monte Carlo sampling for Gaussian process models
%
% Description
% [RECORD, GP, OPT] = GP_MC(GP, X, Y, OPTIONS) Takes the Gaussian
% process structure GP, inputs X and outputs Y. Returns record
% structure RECORD with parameter samp... |
github | lcnhappe/happe-master | gpla_e.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpla_e.m | 90,674 | UNKNOWN | 7f5dc0edae06d00e07815ed9c70bd1e7 | function [e, edata, eprior, f, L, a, La2, p] = gpla_e(w, gp, varargin)
%GPLA_E Do Laplace approximation and return marginal log posterior estimate
%
% Description
% E = GPLA_E(W, GP, X, Y, OPTIONS) takes a GP structure GP
% together with a matrix X of input vectors and a matrix Y of
% target vectors, and fin... |
github | lcnhappe/happe-master | lik_qgp.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_qgp.m | 19,707 | utf_8 | 85ad9907ffd15fdea5cb48eef340f8c1 | function lik = lik_qgp(varargin)
%LIK_QGP Create a Quantile Gaussian Process likelihood (utility) structure
%
% Description
% LIK = LIK_QGP('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a quantile gp likelihood structure in which the named
% parameters have the specified values. Any unspecified
% paramet... |
github | lcnhappe/happe-master | gpcf_periodic.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_periodic.m | 34,635 | utf_8 | a5da1d3e5513f698a47e34234bbd27e4 | function gpcf = gpcf_periodic(varargin)
%GPCF_PERIODIC Create a periodic covariance function for Gaussian Process
%
% Description
% GPCF = GPCF_PERIODIC('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates periodic covariance function structure in which the
% named parameters have the specified values. Any unspec... |
github | lcnhappe/happe-master | metric_euclidean.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/metric_euclidean.m | 15,487 | utf_8 | 77201668d68ae283b913304f9a6bc846 | function metric = metric_euclidean(varargin)
%METRIC_EUCLIDEAN An euclidean metric function
%
% Description
% METRIC = METRIC_EUCLIDEAN('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a an euclidean metric function structure in which the
% named parameters have the specified values. Either
% 'components' or... |
github | lcnhappe/happe-master | lik_negbinztr.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_negbinztr.m | 30,673 | utf_8 | 5795ceaf5a6a09a0df89fbf0b48d3023 | function lik = lik_negbinztr(varargin)
%LIK_NEGBINZTR Create a zero-truncated Negative-binomial likelihood structure
%
% Description
% LIK = LIK_NEGBINZTR('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates zero-truncated Negative-binomial likelihood structure
% in which the named parameters have the specified va... |
github | lcnhappe/happe-master | gpcf_neuralnetwork.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_neuralnetwork.m | 25,549 | utf_8 | 33309be52b0b606ff6a3855b8ac7e8c9 | function gpcf = gpcf_neuralnetwork(varargin)
%GPCF_NEURALNETWORK Create a neural network covariance function
%
% Description
% GPCF = GPCF_NEURALNETWORK('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates neural network covariance function structure in which
% the named parameters have the specified values. Any
%... |
github | lcnhappe/happe-master | gpcf_ppcs1.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_ppcs1.m | 38,503 | utf_8 | c39681a25f1ff058f0e2986776407dfe | function gpcf = gpcf_ppcs1(varargin)
%GPCF_PPCS1 Create a piece wise polynomial (q=1) covariance function
%
% Description
% GPCF = GPCF_PPCS1('nin',nin,'PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates piece wise polynomial (q=1) covariance function
% structure in which the named parameters have the specified... |
github | lcnhappe/happe-master | gpcf_ppcs3.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_ppcs3.m | 40,551 | utf_8 | ec0d6b23865d0e1dc82e7a575159c18d | function gpcf = gpcf_ppcs3(varargin)
%GPCF_PPCS3 Create a piece wise polynomial (q=3) covariance function
%
% Description
% GPCF = GPCF_PPCS3('nin',nin,'PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates piece wise polynomial (q=3) covariance function
% structure in which the named parameters have the specified
... |
github | lcnhappe/happe-master | esls.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/esls.m | 4,193 | utf_8 | ae75a9e42b7e6284ac4e8dd42766f9cf | function [f, energ, diagn] = esls(f, opt, gp, x, y, z, angle_range)
%ESLS Markov chain update for a distribution with a Gaussian "prior"
% factored out
%
% Description
% [F, ENERG, DIAG] = ESLS(F, OPT, GP, X, Y) takes the current
% latent values F, options structure OPT, Gaussian process
% structure GP... |
github | lcnhappe/happe-master | gpcf_linear.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_linear.m | 20,157 | UNKNOWN | 88ffa237f9edab312bb8598ea4db4415 | function gpcf = gpcf_linear(varargin)
%GPCF_LINEAR Create a linear (dot product) covariance function
%
% Description
% GPCF = GPCF_LINEAR('PARAM1',VALUE1,'PARAM2,VALUE2,...) creates
% a linear (dot product) covariance function structure in which
% the named parameters have the specified values. Any
% unsp... |
github | lcnhappe/happe-master | lik_weibull.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_weibull.m | 23,168 | windows_1250 | 75fa0c5df6db30dda34b9a8e3c552dcd | function lik = lik_weibull(varargin)
%LIK_WEIBULL Create a right censored Weibull likelihood structure
%
% Description
% LIK = LIK_WEIBULL('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a likelihood structure for right censored Weibull
% survival model in which the named parameters have the
% specified... |
github | lcnhappe/happe-master | lik_inputdependentweibull.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_inputdependentweibull.m | 17,398 | windows_1250 | c288cecc00237a7f8b7ae149561644c4 | function lik = lik_inputdependentweibull(varargin)
%LIK_INPUTDEPENDENTWEIBULL Create a right censored input dependent Weibull likelihood structure
%
% Description
% LIK = LIK_INPUTDEPENDENTWEIBULL('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a likelihood structure for right censored input dependent
% We... |
github | lcnhappe/happe-master | gpep_pred.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpep_pred.m | 22,353 | UNKNOWN | 9fdd2594b62565a6cf43df3eb051355a | function [Eft, Varft, lpyt, Eyt, Varyt] = gpep_pred(gp, x, y, varargin)
%GPEP_PRED Predictions with Gaussian Process EP approximation
%
% Description
% [EFT, VARFT] = GPEP_PRED(GP, X, Y, XT, OPTIONS)
% takes a GP structure together with matrix X of training
% inputs and vector Y of training targets, and eval... |
github | lcnhappe/happe-master | gpcf_constant.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_constant.m | 14,290 | utf_8 | a923f90b02c067d618848207c02b8980 | function gpcf = gpcf_constant(varargin)
%GPCF_CONSTANT Create a constant covariance function
%
% Description
% GPCF = GPCF_CONSTANT('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a squared exponential covariance function structure in
% which the named parameters have the specified values. Any
% unspecifie... |
github | lcnhappe/happe-master | lik_gaussiansmt.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_gaussiansmt.m | 11,228 | utf_8 | e1313f56ba16306bf8fd48d805556b9d | function lik = lik_gaussiansmt(varargin)
%LIK_GAUSSIANSMT Create a Gaussian scale mixture likelihood structure
% with priors producing approximation of the Student's t
%
% Description
% LIK = LIK_GAUSSIANSMT('ndata',N,'PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a scale mixture noise covarianc... |
github | lcnhappe/happe-master | gp_avpredcomp.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gp_avpredcomp.m | 9,333 | windows_1250 | 048f8facc21b0b145997ed98f7e991c9 | function [apcs,apcss]=gp_avpredcomp(gp, x, y, varargin)
%GP_AVPREDCOMP Average predictive comparison for Gaussian process model
%
% Description
% APCS=GP_AVPREDCOMP(GP, X, Y, OPTIONS) Takes a Gaussian process
% structure GP together with a matrix X of training inputs and
% vector Y of training targets, and r... |
github | lcnhappe/happe-master | lik_t.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_t.m | 36,265 | UNKNOWN | 7c042ee6cb876d45190e93aa46e3e774 | function lik = lik_t(varargin)
%LIK_T Create a Student-t likelihood structure
%
% Description
% LIK = LIK_T('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates Student-t likelihood structure in which the named
% parameters have the specified values. Any unspecified
% parameters are set to default values.
%
% ... |
github | lcnhappe/happe-master | gpcf_rq.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_rq.m | 30,341 | utf_8 | c746eccbc618b9d29506ad32406416e9 | function gpcf = gpcf_rq(varargin)
%GPCF_RQ Create a rational quadratic covariance function
%
% Description
% GPCF = GPCF_RQ('PARAM1',VALUE1,'PARAM2,VALUE2,...) creates
% rational quadratic covariance function structure in which the
% named parameters have the specified values. Any unspecified
% parameters... |
github | lcnhappe/happe-master | lgcp.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lgcp.m | 7,612 | utf_8 | 85edf686f047863fe47af6dbc611d045 | function [l,lq,xt,gp] = lgcp(x,varargin)
% LGCP - Log Gaussian Cox Process intensity estimate for 1D and 2D data
%
% LGCP(X)
% [P,PQ,XT,GP] = LGCP(X,XT,OPTIONS)
%
% X is 1D or 2D point data
% XT is optional test points
% OPTIONS are optional parameter-value pairs
% 'gridn' is optional number ... |
github | lcnhappe/happe-master | gpep_e.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpep_e.m | 106,791 | UNKNOWN | adc9d7d1debecd4cbbbb4f948a6cb72b | function [e, edata, eprior, tautilde, nutilde, L, La2, b, muvec_i, sigm2vec_i, logZ_i, eta] = gpep_e(w, gp, varargin)
%GPEP_E Do Expectation propagation and return marginal log posterior estimate
%
% Description
% E = GPEP_E(W, GP, X, Y, OPTIONS) takes a GP structure GP
% together with a matrix X of input vecto... |
github | lcnhappe/happe-master | lik_gaussian.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_gaussian.m | 11,092 | utf_8 | 3a8dfb3827eaef0a74a1d280cc4cbf20 | function lik = lik_gaussian(varargin)
%LIK_GAUSSIAN Create a Gaussian likelihood structure
%
% Description
% LIK = LIK_GAUSSIAN('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a Gaussian likelihood structure in which the named
% parameters have the specified values. Any unspecified
% parameters are set to ... |
github | lcnhappe/happe-master | surrogate_sls.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/surrogate_sls.m | 20,578 | utf_8 | fc29ee001fe374a168e9aa872d77d472 | function [samples,samplesf,diagn] = surrogate_sls(f, x, opt, gp, xx, yy, z, varargin)
%SURROGATE_SLS Markov Chain Monte Carlo sampling using Surrogate data Slice Sampling
%
% Description
% SAMPLES = SURROGATE_SLS(F, X, OPTIONS) uses slice sampling to sample
% from the distribution P ~ EXP(-F), where F is the ... |
github | lcnhappe/happe-master | lik_lgpc.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_lgpc.m | 15,380 | windows_1250 | 8b88129ba333f69e6d189e704cecc43b | function lik = lik_lgpc(varargin)
%LIK_LGPC Create a logistic Gaussian process likelihood structure for
% conditional density estimation
%
% Description
% LIK = LIK_LGPC creates a logistic Gaussian process likelihood
% structure for conditional density estimation
%
% The likelihood contribution for ... |
github | lcnhappe/happe-master | lik_softmax.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_softmax.m | 10,116 | UNKNOWN | f393d5bbd44c08a0eaf0996ae3fb72f7 | function lik = lik_softmax(varargin)
%LIK_SOFTMAX Create a softmax likelihood structure
%
% Description
% LIK = LIK_SOFTMAX creates Softmax likelihood for multi-class
% classification problem. The observed class label with C
% classes is given as 1xC vector where C-1 entries are 0 and the
% observed cl... |
github | lcnhappe/happe-master | gpcf_noise.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_noise.m | 12,126 | utf_8 | 70defae513090d936fda63764c2de76c | function gpcf = gpcf_noise(varargin)
%GPCF_NOISE Create a independent noise covariance function
%
% Description
% GPCF = GPCF_NOISE('PARAM1',VALUE1,'PARAM2,VALUE2,...) creates
% independent noise covariance function structure in which the
% named parameters have the specified values. Any unspecified
% par... |
github | lcnhappe/happe-master | gpcf_scaled.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_scaled.m | 14,371 | utf_8 | e5089583dd57a67a67f52a293560482a | function gpcf = gpcf_scaled(varargin)
%GPCF_SCALED Create a scaled covariance function
%
% Description
% GPCF = GPCF_scaled('cf', {GPCF_1, GPCF_2, ...})
% creates a scaled version of a covariance function as follows
% GPCF_scaled = diag(x(:,scaler))*GPCF*diag(x(:,scaler))
% where x is the matrix of... |
github | lcnhappe/happe-master | gpcf_ppcs2.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_ppcs2.m | 39,334 | utf_8 | edb49e8f28a995e0555b3b9deb81b3e9 | function gpcf = gpcf_ppcs2(varargin)
%GPCF_PPCS2 Create a piece wise polynomial (q=2) covariance function
%
% Description
% GPCF = GPCF_PPCS2('nin',nin,'PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates piece wise polynomial (q=2) covariance function
% structure in which the named parameters have the specifie... |
github | lcnhappe/happe-master | gpcf_sum.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_sum.m | 14,153 | utf_8 | b881f1be2b12d89b06edcbbfe5dbad0c | function gpcf = gpcf_sum(varargin)
%GPCF_SUM Create a sum form covariance function
%
% Description
% GPCF = GPCF_SUM('cf', {GPCF_1, GPCF_2, ...})
% creates a sum form covariance function
% GPCF = GPCF_1 + GPCF_2 + ... + GPCF_N
%
% See also
% GP_SET, GPCF_*
% Copyright (c) 2009-2010 Jarno Vanhat... |
github | lcnhappe/happe-master | gpcf_matern32.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_matern32.m | 27,919 | utf_8 | 578c80a98a7b515abf2ed96d9a055e23 | function gpcf = gpcf_matern32(varargin)
%GPCF_MATERN32 Create a Matern nu=3/2 covariance function
%
% Description
% GPCF = GPCF_MATERN32('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates Matern nu=3/2 covariance function structure in which
% the named parameters have the specified values. Any
% unspecified p... |
github | lcnhappe/happe-master | lik_logit.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_logit.m | 14,344 | utf_8 | c16705d8ddef02a29ecefd128787faef | function lik = lik_logit(varargin)
%LIK_LOGIT Create a Logit likelihood structure
%
% Description
% LIK = LIK_LOGIT creates Logit likelihood for classification
% problem with class labels {-1,1}.
%
% The likelihood is defined as follows:
% __ n
% p(y|f) = || i=1 1/(1 + exp(-y_i*f_i... |
github | lcnhappe/happe-master | lik_loggaussian.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_loggaussian.m | 25,546 | utf_8 | 0e6db76a65c1b277dbce5a945a7538f4 | function lik = lik_loggaussian(varargin)
%LIK_LOGGAUSSIAN Create a right censored log-Gaussian likelihood structure
%
% Description
% LIK = LIK_LOGGAUSSIAN('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a likelihood structure for right censored log-Gaussian
% survival model in which the named parameters hav... |
github | lcnhappe/happe-master | gpmf_constant.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpmf_constant.m | 8,340 | utf_8 | d28568c446e6b59df03d7a7809de643f | function gpmf = gpmf_constant(varargin)
%GPMF_CONSTANT Create a constant mean function
%
% Description
% GPMF = GPMF_CONSTANT('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates constant mean function structure in which the named
% parameters have the specified values. Any unspecified
% parameters are set to d... |
github | lcnhappe/happe-master | gpla_loopred.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpla_loopred.m | 10,429 | UNKNOWN | 430225391c518e3110e0a4535af20ba2 | function [Eft, Varft, lpyt, Eyt, Varyt] = gpla_loopred(gp, x, y, varargin)
%GPLA_LOOPRED Leave-one-out predictions with Laplace approximation
%
% Description
% [EFT, VARFT, LPYT, EYT, VARYT] = GPLA_LOOPRED(GP, X, Y, OPTIONS)
% takes a Gaussian process structure GP together with a matrix X
% of training input... |
github | lcnhappe/happe-master | lgpdens.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lgpdens.m | 18,497 | windows_1250 | c32ced344bd076d227b9aded6cc11400 | function [p,pq,xx] = lgpdens(x,varargin)
%LGPDENS Logistic-Gaussian Process density estimate for 1D and 2D data
%
% Description
% LGPDENS(X,OPTIONS) Compute and plot LGP density estimate. X is
% 1D or 2D point data. For 1D data plot the mean and 95% region.
% For 2D data plot the density contours.
%
% ... |
github | lcnhappe/happe-master | gp_waic.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gp_waic.m | 22,950 | utf_8 | 224efafdd64d00db4c610107413a075d | function waic = gp_waic(gp, x, y, varargin)
%GP_WAIC The widely applicable information criterion (WAIC) for GP model
%
% Description
% WAIC = GP_WAIC(GP, X, Y) evaluates WAIC defined by
% Watanabe(2010) given a Gaussian process model GP, training
% inputs X and training outputs Y. Instead of Bayes loss we
% ... |
github | lcnhappe/happe-master | gpcf_ppcs0.m | .m | happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_ppcs0.m | 37,470 | utf_8 | 8e0026784ac7fd43fed2a933ac703b6c | function gpcf = gpcf_ppcs0(varargin)
%GPCF_PPCS0 Create a piece wise polynomial (q=0) covariance function
%
% Description
% GPCF = GPCF_PPCS0('nin',nin,'PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates piece wise polynomial (q=0) covariance function
% structure in which the named parameters have the specified
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.