aldro61 / mmit

Regression trees for interval censored output data
https://aldro61.github.io/mmit/
GNU General Public License v3.0
7 stars 7 forks source link

modelSelection C code #4

Closed tdhock closed 5 years ago

tdhock commented 7 years ago

here is the C code for computing the exact path of models that will be selected for all lambda, if you have two vectors of cost and complexity: min_i cost_i + lambda*complexity_i