Quantco / metalearners

MetaLearners for CATE estimation
https://metalearners.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
34 stars 4 forks source link

Allow for other prediction methods in `CrossFitEstimator` #61

Open FrancescMartiEscofetQC opened 4 months ago

FrancescMartiEscofetQC commented 4 months ago

Using a CrossFitEstimator one can only call predict and predict_proba from the inner models for oos predictions, it may be interesting to allow passing a string so other methods can be used, this may be useful for example in Survival models where there are sometimes multiple predictions possible, see here.

It may also be interesting to allow it in the metalearners, but this would be a second step.