replication docs

This commit is contained in:
wassname
2020-02-01 20:38:33 +08:00
parent 38de61e2a3
commit 0834fd4e77
3 changed files with 12 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+12
View File
@@ -71,6 +71,18 @@ Changes for stability:
- use batchnorm and dropout on channel dimensions
- check and skip nonfinite values because for extreme inputs we can still get nan's
## Replicating tensorflow behaviour
I put some work into replicating the behaviour shown in the [original deepmind tensorflow notebook](https://github.com/deepmind/neural-processes/blob/master/attentive_neural_process.ipynb).
Compare deepmind:
- ![](docs/deepmind1.png)
And this repo (anp_1d_regression.ipynb)
- ![](docs/replicate2.png)
It's just a qualitative comparison but we see the same kind of overfitting with uncertainty being tight where lots of data points exist, and wide where they do not. However this repo seems to miss points occasionally.
## See also: