You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In compiled languages, using the method of state to prompt whether to initialize the parameter vector is a consideration for developers not to treat it as a dynamic tuning method, but to use it to adapt to compilation logic for embedded code?
let param = state.take_param().ok_or_else(argmin_error_closure!(
PotentialBug,
"`BFGS`: Parameter vector in state not set."
I have never occured such issue about not set in state, did function parameters make all the initial operations but stop the iteration because of not set in state?
let xk1 = sub_state.take_param().ok_or_else(argmin_error_closure!(
PotentialBug,
"`BFGS`: No parameters returned by line search."
if I understand here, No parameters means bfgs.rs may stop iteration in intensive program because of line search, and when give a complicated function to adapt to an embedded program, a developer need many trials according to the exact problem which to process.
The text was updated successfully, but these errors were encountered:
These are safety hatches in case a bug is introduced somewhere. Apart from the check in init, these should never lead to an error in normal operation. The one in init is a hint to the user in case they forget to provide a parameter vector.
This will likely become unnecessary when state handling is improved (#478).
In compiled languages, using the method of
state
to prompt whether to initialize the parameter vector is a consideration for developers not to treat it as a dynamic tuning method, but to use it to adapt to compilation logic for embedded code?argmin/crates/argmin/src/solver/quasinewton/bfgs.rs
Lines 157 to 161 in a9e3eb7
the above code may be same as the underlined code by given initial point:
argmin/crates/argmin/src/solver/quasinewton/bfgs.rs
Lines 200 to 202 in a9e3eb7
I have never occured such issue about
not set in state
, did function parameters make all the initial operations but stop the iteration because ofnot set in state
?argmin/crates/argmin/src/solver/quasinewton/bfgs.rs
Lines 236 to 238 in a9e3eb7
if I understand here,
No parameters
means bfgs.rs may stop iteration in intensive program because ofline search
, and when give a complicated function to adapt to an embedded program, a developer need many trials according to the exact problem which to process.The text was updated successfully, but these errors were encountered: