Comments (4)
Yes, I suspect it does, netlab dates back to around 1996 when MATLAB had very poor support for stats and machine learning.
I suspect they've covered most of the gaps since then. GPmat was developed from about 2003, and again there were big gaps in MATLAB (or silly toolboxes that required extra licenses).
The history also explains why it is written in a particular way ... when I first was implementing it in 2003, the MATLAB object oriented stuff was incredibly slow, so it's all implemented with feval to do late binding of 'methods'. Which can make it quite hard to follow. But the basic structure carries forward to the GPy software, and therefore influences other Python GP packages (like GPflow).
from gpmat.
Hi Sterling, fitrgp didn't exist when we were writing this code (MATLAB didn't have native GP implementations) so I don't know how it works (and since then we moved to python as a group).
But in gpmat the posterior mean and variance are computed through gpPosteriorMeanVar, details here:
https://github.com/SheffieldML/GPmat/blob/master/gp/gpPosteriorMeanVar.m
from gpmat.
Hi Neil, that makes sense. I'll be following suit since I just joined a group based mostly in python (these questions are related to my previous research). This seems like a good resource. Since I have the mean values and covariance matrix already from MATLAB's fitrgp(), It seems like gsamp.m from NetLab does what I'm looking for in generating samples of the posterior distribution like in the example given in the README file:
>> gpPosteriorSample('rbf', 5, [1 1], [-3 3], 1e5)
I'm now wondering if MATLAB's mvnrnd() function does something similar to gsamp.m. But either way, I can try it out and if it's not what I'm expecting I can probably use gsamp.m. Thanks!
from gpmat.
Thanks for the comments, I think that's great you had an implementation before it became standard. It also seems that doing some things that are standard in GPmat are undocumented functions in fitrgp(), e.g. obtaining the posterior covariance matrix to sample from the posterior, which has made it a bit difficult 😅, and hence exploring other options like GPmat. Again, thank you for the help.
from gpmat.
Related Issues (19)
- error while running demOilFgplvm demos HOT 2
- Error in lvmClassVisualise HOT 2
- lfmComputeUpsilonMatrix not compiled for Mac OS X HOT 1
- fgplvm demOil4 error HOT 2
- GPmat implementation of fcnchk overrides MATLAB's built-in function of the same name
- demStickFgplvm2 error HOT 1
- demRobotWireless4.m error HOT 1
- New projections on a latent space based on gpdm
- L2_distance ??? HOT 2
- mltools/isomapEmbed.m?? HOT 1
- Reformulation variational lower bound in gpLogLikelihood.m HOT 2
- Multivariate capability? HOT 3
- Location of gsamp.m HOT 2
- Convolution kernel HOT 2
- Unrecognized function or variable 'kernCreate' HOT 2
- Suggestion - Add Netlab to GPmat? HOT 1
- error with ppcaEmbed.m HOT 4
- error with demCmu35gplvmReconstruct.m HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpmat.