- class estimator.cost.Cost(dict=None, /, **kwargs)#
Call self as a function.
Return new ordered dictionary from dictionary restricted to the keys.
If key is not found, d is returned if given, otherwise KeyError is raised.
as a 2-tuple; but raise KeyError if D is empty.
Return a new ordered dict from the key:value pairs in dictionary but reordered such that the keys given to this function come first.
Return a report with all costs multiplied by
Perform basic checks.
str([keyword_width, newline, round_bound, ...])
- param keyword_width:
keys are printed with this width
If E present and has a .keys() method, does: for k in E: D[k] = E[k] If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k, v in F.items(): D[k] = v