General-purpose parameter estimation class. freeParams keyword
initialization argument may be a list of names or a dictionary of scales
for determining appropriate step sizes for O(1) changes in the residual
function.
In its absence, the scales will default to 1.
|
__init__(self,
**kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
setAlgParams(self,
*args)
Set algorithmic parameters. |
source code
|
|
|
|
|
evaluate(self,
extra_record_info=None)
Evaluate residual vector, record result, and display step information
(if verbose). |
source code
|
|
|
|
|
key_logged_residual(self,
pars_ics,
weights)
pars_ics must be a sequence type |
source code
|
|
|
find_logs(self,
res_val=None,
condition=' < ' )
Find log entries matching given condition on their residual norm
values. |
source code
|
|
|
show_log_record(self,
i,
full=False)
Use full option to show residuals mapped to their feature names,
including information about weights. |
source code
|
|
|
|
|
|
|
|
|
par_sensitivity(self,
pdict=None,
non_diff_feats=None,
extra_info=False)
Parameter sensitivity of the context's features at the free parameter
values given as a dictionary or args. |
source code
|
|
|
weighted_par_sensitivity(self,
feat_sens)
Return parameter sensitivities weighted according to current feature
weights, based on a previous output from par_sensitivity method. |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|