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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -