Comments (2)
Hi Paul,
I could be wrong, but I suspect the issue is not the checkpoint here. The way we obtain the mean of the predictive distribution is by sampling from the posterior. The posterior approximation given by the Laplace approximation is a Gaussian, namely
where
Now, if the estimate
I have noticed myself that the Laplace approximation may suffer quite a bit of this issue. As a possible solution, try doing only last-layer Laplace by enabling the freeze_fun
in the FitOptimizer
. This might help.
Let me know!
from fortuna.
@gianlucadetommaso okay! Coincidentally I just tried that myself and yes you're right -- it yields more reasonable results now, thank you :) That's good to know about the Laplace approx.
from fortuna.
Related Issues (17)
- Issue templates
- bug: `ConcretizationTypeError` when trying to use `prob_model.predictive()` HOT 5
- bug: SWAG's `state.mean.size` is `1` leading to `TypeError: len() of unsized object`. HOT 24
- docs: Convert notebooks to py files.
- bug: MNIST classification tutorial not running HOT 6
- feat: mondrian conformal prediction HOT 2
- Installation HOT 18
- bug: `FitOptimizer.__init__()` got an unexpected keyword argument 'freeze_fun' HOT 2
- Example with Time Series Data ? HOT 6
- Fortuna install google colab HOT 3
- Documentation Calib Regressor HOT 10
- Documentation: Inconsistent outputs HOT 3
- Bug: Init doesn't work when the input data is a dictionary HOT 6
- feat: Keep track of `state_dict` corresponding to best model according to validation accuracy HOT 5
- How to log metrics during training HOT 4
- bug: `model.__call__()` got an unexpected keyword argument 'train' when training custom model class. HOT 2
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 fortuna.