MCPcopy Create free account
hub / github.com/Derive-Risk/pyfair / get_supplied_values

Method get_supplied_values

pyfair/model/model_input.py:55–67  ·  view source on GitHub ↗

Simple getter to return the supplied values Returns ------- dict A dictionary of the values supplied to generate function. The keys for the dict will be the target node as a string (e.g. 'Loss Event Frequency') and the values will be a su

(self)

Source from the content-addressed store, hash-verified

53 self._supplied_values = {}
54
55 def get_supplied_values(self):
56 """Simple getter to return the supplied values
57
58 Returns
59 -------
60 dict
61 A dictionary of the values supplied to generate function. The
62 keys for the dict will be the target node as a string (e.g.
63 'Loss Event Frequency') and the values will be a sub-dictionary
64 of keyword arguments ({'low': 50, 'mode}: 51, 'high': 52}).
65
66 """
67 return self._supplied_values
68
69 def _check_le_1(self, target, **kwargs):
70 """Raises error if not between one and zero"""

Callers 2

to_jsonMethod · 0.80
export_paramsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected