Hi Patrik,
I see something that looks a bit strange to me:
|
lambda = lambda * static_cast<float>(cv::norm(data)) / static_cast<float>(num_training_elements); |
The lambda gets updated, but don't you want this method to be const and use a local copy of the lambda value? Otherwise we are changing the datamember at each call to solve. This might mean it's going smaller and smaller.
Just want to make sure.
What do you think?
Hi Patrik,
I see something that looks a bit strange to me:
superviseddescent/include/superviseddescent/regressors.hpp
Line 135 in 0179b4b
The lambda gets updated, but don't you want this method to be const and use a local copy of the lambda value? Otherwise we are changing the datamember at each call to solve. This might mean it's going smaller and smaller.
Just want to make sure.
What do you think?