smash.BayesianOptimize#

class smash.BayesianOptimize(data=None)[source]#

Represents bayesian optimize optional results.

See also

smash.bayesian_optimize

Model bayesian assimilation using numerical optimization algorithms.

Notes

The object’s available attributes depend on what is requested by the user during a call to bayesian_optimize in return_options.

Attributes:
time_steppandas.DatetimeIndex

A list of length n containing the returned time steps.

rr_statesFortranDerivedTypeArray

A list of length n of RR_StatesDT for each time_step.

q_domainnumpy.ndarray

An array of shape (nrow, ncol, n) representing simulated discharges on the domain for each time_step.

iter_costnumpy.ndarray

An array of shape (m,) representing cost iteration values from m iterations.

iter_projgnumpy.ndarray

An array of shape (m,) representing infinity norm of the projected gardient iteration values from m iterations.

control_vectornumpy.ndarray

An array of shape (k,) representing the control vector at end of optimization.

costfloat

Cost value.

log_lkhfloat

Log likelihood component value.

log_priorfloat

Log prior component value.

log_hfloat

Log h component value.

serr_munumpy.ndarray

An array of shape (ng, ntime_step) representing the mean of structural errors for each gauge and each time_step.

serr_sigmanumpy.ndarray

An array of shape (ng, ntime_step) representing the standard deviation of structural errors for each gauge and each time_step.