nhejazi / haldensify

:package: R/haldensify: Highly Adaptive Lasso Conditional Density Estimation
https://codex.nimahejazi.org/haldensify
Other
17 stars 5 forks source link

[WIP] Cox regression for hazard via HAL #8

Closed nhejazi closed 5 years ago

nhejazi commented 5 years ago

This is a work-in-progress PR to add support for a recently proposed method of reconstructing a conditional density via Cox regression for the conditional hazard function. Such a regression is supported out-of-the-box in hal9001 since the package wraps glmnet's implementation of the lasso for generalized linear models.