Comments (2)
MAPIE works for all sklearn-compatible estimator classes. To this end, EnbPI already works with any regression model classes including boosted trees (CatBoost/XGBoost/LightGBM) and scikit-learn regressors.
The time series tutorial (https://mapie.readthedocs.io/en/latest/examples_regression/4-tutorials/plot_ts-tutorial.html) mentions RandomForest as an illustration but is not restricted to this class. You can experiment by adapting line 158 of the tutorial with one of the estimators you have just mentioned.
from sklearn.linear_model import LinearRegression
model = LinearRegression()
# or
from sklearn.ensemble import AdaBoostRegressor
model = AdaBoostRegressor()
# or
from sklearn.ensemble import GradientBoostingRegressor
model = GradientBoostingRegressor()
# or
import lightgbm as lgb
model = lgb.sklearn.LGBMRegressor()
# or
from xgboost import XGBRegressor
model = XGBRegressor()
In conclusion, MAPIE is not limited to bagging estimators, it can work with any model and there are no gap in the implementation compared with the model presented in the article.
from mapie.
Thank you
from mapie.
Related Issues (20)
- Coverage validity not verified in MapieRegressor when producing infinite intervals
- Documentation build failure
- Extending the NCS class to the classification task
- Update Github links that point to files in all Mapie files HOT 1
- Replace assert np.array_equal by np.testing.assert_array_equal in all Mapie unit tests
- Issue in flow of ts-changepoint notebook
- MapieRegressor with prefit optimized model that used training and calibration data HOT 3
- Add scientific references for regression conformity score
- Share the quantile function between regression and classification
- Mathematical functions don't show up properly in documentation
- Temperature scaling before conformal prediction leads to unnecessary increase in the width of the prediction sets
- Error when computing multiple prediction intervals in Time Series Tutorial
- Notebook TS-Changepoint : Handling infinite arrays when alpha is too small
- Use the existing tutorial on ts-changepoint to align the notebook HOT 1
- Add predict params into classification files
- Add **predict_params into regression files
- Add mondrian CP
- Error in Quick Start guide
- EnbPI Prediction Intervals not centered correctly
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 mapie.