yixinsun1216 / crossfit

Implementation of Double/Debiased Machine Learning approach
3 stars 2 forks source link

Combine psi, psi_grad, and psi_op into one call #3

Closed yixinsun1216 closed 3 years ago

yixinsun1216 commented 4 years ago

Instead of specifying the psi, psi_grad, psi_op, as arguments in dml(), combine these into one call so that the user can just specify "linear" or "poisson", and dml will call the correct accompanying psi* functions