-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve plotting in notebook gpflux_with_keras_layers #41
Merged
Merged
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
bdea074
Deep CDE
vdutor dd4b8cd
Deep CDE
vdutor d0500b8
Deep CDE
vdutor a3bc4d3
deleted py file and kept ipynb
vdutor 8f89729
restore intro notebook
vdutor ef9c8c8
update plot
vdutor 91a692e
cde notebook
vdutor d43be6a
TF, TFP and TB version
vdutor 9f823a9
Merge branch 'develop' into vincent/notebook/cde
vdutor eaec980
Update hybrid notebook
vdutor faa102b
Merge branch 'vincent/notebook/cde' of github.com:secondmind-labs/GPf…
vdutor 2ef2b14
Merge branch 'develop' into vincent/notebooks/hybrid
vdutor d52f060
Merge branch 'develop' into vincent/notebooks/hybrid
vdutor c3fd6e4
Merge branch 'develop' into vincent/notebooks/hybrid
vdutor f741fc9
Spelling and grammer
vdutor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -234,7 +234,8 @@ | |
"source": [ | ||
"## Deep Gaussian process with latent variables\n", | ||
"\n", | ||
"We suggest a Deep Gaussian process with a latent variable in the first layer to improve the error bars on the given dataset. The latent variable allows to model the heteroscedasticity, while an extra layer makes the model more expressive to catch sharp transitions.\n", | ||
"To tackle the problem we suggest a Deep Gaussian process with a latent variable in the first layer. The latent variable will be able to capture the \n", | ||
"heteroscedasticity, while the two layered deep GP is able to model the sharp transitions. \n", | ||
"\n", | ||
"Note that a GPflux Deep Gaussian process by itself (i.e. without the latent variable layer) is not able to capture the heteroscedasticity of this dataset. This is a consequence of the noise-less hidden layers and the doubly-stochastic variational inference training procedure, as forumated in <cite data-cite=\"salimbeni2017doubly\">. On the contrary, the original deep GP suggested by Damianou and Lawrence <cite data-cite=\"damianou2013deep\">, using a different variational approximation for training, can model this dataset without a latent variable, as shown in [this blogpost](https://inverseprobability.com/talks/notes/deep-gps.html). " | ||
], | ||
|
@@ -380,7 +381,7 @@ | |
"source": [ | ||
"### Fit\n", | ||
"\n", | ||
"We can now fit the model. Because of the `DirectlyParameterizedEncoder`, which stores a sorted array of means and std. dev. for each point in the dataset, it is important to set the `batch_size` to the number of datapoints and set `shuffle` to `False`." | ||
"We can now fit the model. Because of the `DirectlyParameterizedEncoder` it is important to set the batch size to the number of datapoints and turn off shuffle. This is so that we use the associated latent variable for each datapoint. If we would use an Amortized Encoder network this would not be necessary." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor but probably "Amortized Encoder" shouldn't have caps. |
||
], | ||
"metadata": {} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammatically should be "two-layered" with hyphen.