Comments (4)
This can be done by implementing a Laplace distribution (and its homoskedastic counterpart).
The implementation would likely not be difficult, if you or anyone else has the bandwidth to do so. Otherwise this would be nice to have but we may not get around to it in the short term.
from ngboost.
I think the answer to this is a little more subtle... the current models do not use MAE (or RMSE, for that matter) because they are not optimizing for a point prediction.
In my mind, there are two reasons you might want to use MAE instead of MSE when doing point predictions. Either 1) you want to reduce the impact of "outliers" on the fit or 2) the target of estimation is the median, not the mean. Here's how to deal with those concerns in ngboost: If it's #1, I'd use a distribution that has fatter tails than the normal. If it's #2, you can simply pull the median right out of the predicted conditional distribution.
Hope that's clear, lmk if not.
from ngboost.
My current concern is #1, however as far as i know we can't set the distribution which has fatter tails. converting laplace from normal can solve it ? or another way around ?
from ngboost.
Yes, could you please file a pull request for Laplace distribution support? Should be straightforward to implement.
from ngboost.
Related Issues (20)
- Python 3.11 support
- quantile regression
- AttributeError: 'NGBClassifier' object has no attribute 'classes_' HOT 2
- estimator compatibility issues with sklearn HOT 2
- Slide deck not accessible HOT 2
- Deprecation warning for np.bool in Y_from_censored function HOT 2
- Is there a way to visualize the distributions ? HOT 2
- Relation to mean-field variational inference.
- AttributeError with np.bool when fitting NGBRegressor with Exponential distribution HOT 3
- Monotonicity of some parameters in distribution HOT 3
- load_boston removed from sklearn
- Support for Incremental Learning? HOT 1
- Linalg error
- Add support for python 3.12
- 'NGBClassifier' object has no attribute 'classes_' HOT 1
- Discrete explanatory variables HOT 5
- RuntimeWarning: overflow encountered in square/exp HOT 3
- About the fisher matrix of Normal Distribution HOT 2
- Use XGBoost as base estimator HOT 1
- Usage examples are no longer available HOT 1
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 ngboost.