Skip to content
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

MapieQuantileRegressor with prefit model from Keras/Tensorflow #448

Closed
dani-vu opened this issue May 24, 2024 · 2 comments
Closed

MapieQuantileRegressor with prefit model from Keras/Tensorflow #448

dani-vu opened this issue May 24, 2024 · 2 comments
Labels
Enhancement Type: enhancement (new feature or request) Source: contributors Proposed by contributors.

Comments

@dani-vu
Copy link

dani-vu commented May 24, 2024

I want to apply CQR with a customized LSTM model created with Tensorflow. However, it does not support Tensorflow models. Is there a workaround or am I missing something?

Thanks!

@dani-vu dani-vu added the Enhancement Type: enhancement (new feature or request) label May 24, 2024
@LacombeLouis
Copy link
Collaborator

Hey @dani-vu,
Thank you for the issue. I believe that if you use the cv="prefit" you should be able to use MapieQuantileRegressor by simply packaging your models as in the issue #340. Note that you need to fit all three models and provide them as follows:

    estimators_: List[RegressorMixin]
        - [0]: Estimator with quantile value of alpha/2
        - [1]: Estimator with quantile value of 1 - alpha/2
        - [2]: Estimator with quantile value of 0.5

Don't hesitate if you have any other question!

@jawadhussein462
Copy link
Collaborator

Hello,

We’re closing this issue due to inactivity, as we haven’t received a response in over a month. If you still need assistance or have more information to provide, please feel free to reopen the issue or create a new one.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Type: enhancement (new feature or request) Source: contributors Proposed by contributors.
Projects
None yet
Development

No branches or pull requests

4 participants