How to get fitted learner from Object #217
-
|
I try to get the fitted learner from DoubleMLPLR object. I try learner/models attribute of this object. The former one gives me learners that haven't been fitted, the latter gives me None. Any solutions please? |
Beta Was this translation helpful? Give feedback.
Answered by
SvenKlaassen
Oct 20, 2023
Replies: 2 comments 4 replies
-
|
Thanks for your question. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Copy the example code in document with the error I show: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Thank you.
The
learnerattribute is just a copy of the unfitted learner (since they have to be used multiple times).To store the fitted models you have set the
store_modelsargement in the.fit()method. The fitted models are then accessible under themodelsattribute.