Comments (4)
Hi,
When I run the latest code I get this result:
# RMSE DGP : 2.5763593393648176
# RMSE DGP (with samples): 2.577221154102472
# RMSE GP : 3.033963097677277
From my training log, it is only the 2nd optimization that differs, getting a better objective f
after optimization. The rest of the objectives after optimization are similar to the ones of your log.
The performance gets almost identical to the regular GP when I set back_constraint=True
(it's False
by default), since it's an overkill of a model for this particular data.
In any case, this example is meant to show how one can use deepgp for regression, as opposed to demonstrate that it beats GP. For the kinds of data that a GP can already model well (smooth, stationary etc) one should expect it to have similar performance with deepgp.
from pydeepgp.
What I meant is that RBF kernel dimension number for the "hidden" layer (i.e. kern2
variable), which is currently equals to Q
, actually should be X_tr.shape[1]
. It seems like a bug in the example code, or I may completely misunderstand how DGPs work.
In any case, it makes sense for GP-LVM and DGP to yield similar results on the example data. Thanks!
from pydeepgp.
Oh I see, you're right, thanks for catching this.
When setting the dimensionality in kern2
as Q
, being incompatible with input dimensionality, GPy automatically sets the active_dims
for this kernel to be the first Q
(you can see that by typing m.layers[1].kern.rbf.active_dims
) meaning that this kernel is forced to only look at a small subset of dimensions and the rest are handled by the Bias kernel. While this is a valid model, it is certainly not what this code was intended to do :) Although it seemed that this simpler mode did give better results in this particular case!
from pydeepgp.
Thank you for clarification!
from pydeepgp.
Related Issues (20)
- Adding Multi-output (LVMOGP) HOT 1
- 'ObservedMRDLayer' predict and plot_latent HOT 1
- RuntimeError: maximum recursion depth exceeded HOT 1
- The dimension of input data or output data HOT 1
- same questions about the gradient HOT 2
- Definition of psi0 in vardtc
- Example of Deep GP with early stopping HOT 1
- Help -- we can't get the DeepGP to replicate your experiments using simpler data HOT 1
- Supervised Learning Kernel Bias Questions HOT 1
- Question about Number of latent dimensions HOT 7
- question for the references
- Error while using repeatX HOT 1
- why deepgp not running? HOT 1
- Recieve “overflow encountered in expm1” when optimize the model
- Some clarification on supervised regression HOT 1
- Regarding Uncertain Inputs and Setting Inducing Variables For ObservedLayer
- HELP
- Hello,it's really confusing that GP performed very very well in modeling this data,but DeepGP didn't get such a good result.I'm looking forward to your reply,thanks!
- PredLayer and BinaryPredLayer
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 pydeepgp.