Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Multi-Task ElasticNet support (#238)
* added block coordinate descent function * added duality_gap_mtl computation * ENH cd pass to be consistent with bcd * added prox operator for MTL Enet * added helper functions for tests * working ent mtl penalties * bcd lower objective test pass * added MultiTaskEnet struct * added MTENET documentation * added API MTENET * added variance, z-score, conf interval for multitask ENET * added multi-task estimators * added tests for MTL * added tests for Enet and MTL * WIP: made variance params generic over the number of tasks * added z_score and confidence_95th for MTL * WIP make compute_variance generic over the dimension * Replace for loops in block_coordinate_descent with general_mat_mul calls * Bring back generic compute_intercept * Replace manual norm calculations with norm trait calls * Add docs and derives to multi task types * Add example for multitask_elasticnet * Rename shape() calls to nrows and ncols Co-authored-by: Pierre-Antoine Bannier <pierreantoine.bannier@gmail.com>
- Loading branch information