MCPcopy Create free account
hub / github.com/apache/impala / probability

Method probability

tests/comparison/query_profile.py:275–277  ·  view source on GitHub ↗

Convenience method for getting the value of named probabilities

(self, *keys)

Source from the content-addressed store, hash-verified

273 return self._get_config_value(self._bounds, *keys)
274
275 def probability(self, *keys):
276 '''Convenience method for getting the value of named probabilities'''
277 return self._get_config_value(self._probabilities, *keys)
278
279 def _choose_from_bounds(self, *bounds):
280 '''Returns a value that is within the given bounds. Each value has an equal chance

Callers 1

Calls 1

_get_config_valueMethod · 0.95

Tested by

no test coverage detected