Skip to content

Commit

Permalink
Move files to gp folder in repo and fix up tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrennd committed May 28, 2015
1 parent 7e65db6 commit f8f415b
Show file tree
Hide file tree
Showing 71 changed files with 103 additions and 103 deletions.
4 changes: 2 additions & 2 deletions demGpCov2D.m → gp/demGpCov2D.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function demGpCov2D(ind,bw)
% SEEALSO : demCovFuncSample, demGPSample
% COPYRIGHT : Neil D. Lawrence, 2006, 2008

% GPMAT
% GP

if nargin < 2
bw = false;
Expand Down Expand Up @@ -122,4 +122,4 @@ function demGpCov2D(ind,bw)

zeroAxes(gca, 0.025, 18, 'times')

ax = gca;
ax = gca;
4 changes: 2 additions & 2 deletions demGpCovFuncSample.m → gp/demGpCovFuncSample.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
%
% SEEALSO : kernCreate

% GPMAT
% GP

global printDiagram
randn('seed', 1e5)
Expand Down Expand Up @@ -120,4 +120,4 @@ function prepPlot(a)
if printDiagram
printPlot(['demGpCovFuncSample' num2str(fig)], '../tex/diagrams', '../html');
end
end
end
4 changes: 2 additions & 2 deletions demGpSample.m → gp/demGpSample.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMGPSAMPLE Simple demonstration of sampling from a covariance function.

% GPMAT
% GP

randn('seed', 1e5)
rand('seed', 1e5)
Expand Down Expand Up @@ -54,4 +54,4 @@
% print('-depsc', '../tex/diagrams/gpSample.eps');
% end

save demGpSample K x f
save demGpSample K x f
4 changes: 2 additions & 2 deletions demGpTwoSample.m → gp/demGpTwoSample.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMGPTWOSAMPLE Test GP two sample code.

% GPMAT
% GP

% Generate artificial data.
numSamps = 3;
Expand All @@ -18,4 +18,4 @@
y{1} = yTrue(:, 1:5)';
y{2} = yTrue(:, 6:10)';

llr = gpTwoSample(t, y);
llr = gpTwoSample(t, y);
2 changes: 1 addition & 1 deletion demGpTwoSampleEB.m → gp/demGpTwoSampleEB.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMGPTWOSAMPLEEB Run GP two sample code on EB.

% GPMAT
% GP

% Load data
load EB
Expand Down
4 changes: 2 additions & 2 deletions demGpTwoSampleLif.m → gp/demGpTwoSampleLif.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMGPTWOSAMPLELIF Run GP two sample code on LIF.

% GPMAT
% GP

% Load data
load LIF
Expand All @@ -16,4 +16,4 @@
fprintf([num2str(llr(i), 4) '\t' genes_vect{1, i} '\n'])
end

save LIFresults.mat llr models
save LIFresults.mat llr models
2 changes: 1 addition & 1 deletion demGpTwoSampleLifsh.m → gp/demGpTwoSampleLifsh.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMGPTWOSAMPLELIFSH Run GP two sample code on LifSh.

% GPMAT
% GP

% Load data
load shLIF
Expand Down
4 changes: 2 additions & 2 deletions demInterpolationGp.m → gp/demInterpolationGp.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2006, 2008

% GPMAT
% GP

randn('seed', 1e6)
rand('seed', 1e6)
Expand Down Expand Up @@ -97,4 +97,4 @@
end
figNo = figNo + 1;
end
end
end
2 changes: 1 addition & 1 deletion demOptimiseGp.m → gp/demOptimiseGp.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

% COPYRIGHT : Neil D. Lawrence, 2006, 2008

% GPMAT
% GP

randn('seed', 1e5);
rand('seed', 1e5);
Expand Down
2 changes: 1 addition & 1 deletion demOptimiseGpTutorial.m → gp/demOptimiseGpTutorial.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

% COPYRIGHT : Neil D. Lawrence, 2006, 2008

% GPMAT
% GP

randn('seed', 1e5);
rand('seed', 1e5);
Expand Down
4 changes: 2 additions & 2 deletions demRegressionGp.m → gp/demRegressionGp.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2006

% GPMAT
% GP

randn('seed', 1e7)
rand('seed', 1e7)
Expand Down Expand Up @@ -115,4 +115,4 @@
end
figNo = figNo + 1;
end
end
end
File renamed without changes.
2 changes: 1 addition & 1 deletion demSilhouetteAverage.m → gp/demSilhouetteAverage.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2008

% GPMAT
% GP

randn('seed', 1e7)
rand('seed', 1e7)
Expand Down
2 changes: 1 addition & 1 deletion demSilhouetteGp1.m → gp/demSilhouetteGp1.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2008

% GPMAT
% GP

randn('seed', 1e7)
rand('seed', 1e7)
Expand Down
2 changes: 1 addition & 1 deletion demSilhouetteGp2.m → gp/demSilhouetteGp2.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2008

% GPMAT
% GP

randn('seed', 1e7)
rand('seed', 1e7)
Expand Down
4 changes: 2 additions & 2 deletions demSilhouetteLinear1.m → gp/demSilhouetteLinear1.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2008

% GPMAT
% GP

randn('seed', 1e7)
rand('seed', 1e7)
Expand Down Expand Up @@ -37,4 +37,4 @@
save([fileBaseName '.mat'], 'model');


demSilhouettePlot
demSilhouettePlot
2 changes: 1 addition & 1 deletion demSilhouettePlot.m → gp/demSilhouettePlot.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMSILHOUETTEPLOT

% GPMAT
% GP

% Show prediction for test data.
yPred = modelOut(model, XTest);
Expand Down
2 changes: 1 addition & 1 deletion demSilhouettePlotTrue.m → gp/demSilhouettePlotTrue.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMSILHOUETTEPLOTTRUE Plot the true poses for the silhouette data.

% GPMAT
% GP
dataSetName = 'silhouette';

% load data
Expand Down
2 changes: 1 addition & 1 deletion demSpgp1dGp1.m → gp/demSpgp1dGp1.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMSPGP1DGP1 Do a simple 1-D regression after Snelson & Ghahramani's example.

% GPMAT
% GP

% Fix seeds
randn('seed', 1e5);
Expand Down
2 changes: 1 addition & 1 deletion demSpgp1dGp2.m → gp/demSpgp1dGp2.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMSPGP1DGP2 Do a simple 1-D regression after Snelson & Ghahramani's example.

% GPMAT
% GP

% Fix seeds
randn('seed', 2e5);
Expand Down
4 changes: 2 additions & 2 deletions demSpgp1dGp3.m → gp/demSpgp1dGp3.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMSPGP1DGP3 Do a simple 1-D regression after Snelson & Ghahramani's example.

% GPMAT
% GP

% Fix seeds
randn('seed', 1e5);
Expand Down Expand Up @@ -35,4 +35,4 @@
% Save the results.
fileName = modelWriteResult(model, dataSetName, experimentNo);

demSpgp1dPlot;
demSpgp1dPlot;
4 changes: 2 additions & 2 deletions demSpgp1dGp4.m → gp/demSpgp1dGp4.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMSPGP1DGP4 Do a simple 1-D regression after Snelson & Ghahramani's example.

% GPMAT
% GP

% Fix seeds
randn('seed', 1e5);
Expand Down Expand Up @@ -33,4 +33,4 @@
% Save results
fileName = modelWriteResult(model, dataSetName, experimentNo);

demSpgp1dPlot
demSpgp1dPlot
2 changes: 1 addition & 1 deletion demSpgp1dGp5.m → gp/demSpgp1dGp5.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMSPGP1DGP5 Do a simple 1-D regression after Snelson & Ghahramani's example.

% GPMAT
% GP

% Fix seeds
randn('seed', 1e5);
Expand Down
2 changes: 1 addition & 1 deletion demSpgp1dPlot.m → gp/demSpgp1dPlot.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% DEMSPGP1DPLOT Plot results from 1-D sparse GP.

% GPMAT
% GP

fillColor = [0.7 0.7 0.7];
xTest = linspace(-1.5, 1.5, 200)';
Expand Down
4 changes: 2 additions & 2 deletions demStickGp1.m → gp/demStickGp1.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2008

% GPMAT
% GP

randn('seed', 1e7)
rand('seed', 1e7)
Expand Down Expand Up @@ -75,4 +75,4 @@
fileName = ['dem' capName 'Gp' num2str(experimentNo) 'Out' num2str(i)];
printPlot(fileName, '../tex/diagrams', '../html');
end
end
end
2 changes: 1 addition & 1 deletion gpBlockIndices.m → gp/gpBlockIndices.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2006

% GPMAT
% GP


if ~strcmp(model.approx, 'pitc')
Expand Down
4 changes: 2 additions & 2 deletions gpComputeAlpha.m → gp/gpComputeAlpha.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2006, 2009

% GPMAT
% GP

if nargin < 2
m = model.m;
Expand Down Expand Up @@ -73,4 +73,4 @@
end
end
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
%
% COPYRIGHT : Carl Henrik Ek, 2010

% GPMAT
% GP

if(verbose)
handle_waitbar = waitbar(0,'Computing Observation Loglikelihood');
Expand Down Expand Up @@ -44,4 +44,4 @@
end

return;
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%
% COPYRIGHT : Carl Henrik Ek, 2010

% GPMAT
% GP


if(iscell(Xlabel)&&size(Xlabel{1},1)==1)
Expand Down
4 changes: 2 additions & 2 deletions gpCovGrads.m → gp/gpCovGrads.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
%
% SEEALSO : gpCreate, gpLogLikeGradient

% GPMAT
% GP

switch model.approx
case {'dtc', 'dtcvar'}
Expand Down Expand Up @@ -259,4 +259,4 @@
end
otherwise
error('Unknown approximation type');
end
end
2 changes: 1 addition & 1 deletion gpCovGradsTest.m → gp/gpCovGradsTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2006, 2009

% GPMAT
% GP

% WARNING --- this isn't testing g_Lambda in gpCovGrads

Expand Down
2 changes: 1 addition & 1 deletion gpCreate.m → gp/gpCreate.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
%
% MODIFICATIONS : Cark Henrik Ek, 2007

% GPMAT
% GP

if size(X, 2) ~= q
error(['Input matrix X does not have dimension ' num2str(q)]);
Expand Down
2 changes: 1 addition & 1 deletion gpDataIndices.m → gp/gpDataIndices.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2006

% GPMAT
% GP


if nargin > 2
Expand Down
2 changes: 1 addition & 1 deletion gpDeconstruct.m → gp/gpDeconstruct.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2007, 2009

% GPMAT
% GP

kern = model.kern;
if isfield(model, 'noise')
Expand Down
2 changes: 1 addition & 1 deletion gpDisplay.m → gp/gpDisplay.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function gpDisplay(model, spaceNum)
%
% COPYRIGHT : Neil D. Lawrence, 2005, 2006, 2009

% GPMAT
% GP

if nargin > 1
spacing = repmat(32, 1, spaceNum);
Expand Down
2 changes: 1 addition & 1 deletion gpExpandParam.m → gp/gpExpandParam.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
%
% COPYRIGHT : Neil D. Lawrence, 2005, 2006, 2009

% GPMAT
% GP

if isfield(model, 'fix')
for i = 1:length(model.fix)
Expand Down
Loading

0 comments on commit f8f415b

Please sign in to comment.