c++ - mlpack: Lasso regression that takes in pointer to function -
from http://www.mlpack.org/doxygen.php?doc=classmlpack_1_1regression_1_1lars.html
i'm trying use void mlpack::regression::lars::regress function takes in &grammatrix input. if want pass in function compute sum r_i * x_i, i'm stuck because takes in pointer matrix. idea on how around ? ( beta updating within optimization function void mlpack::regression::lars::regress, , beta neeeded compute sum r_i * x_i ).
any suggestion other c++ ml library madly helpful. thanks!
Comments
Post a Comment