UnknownHazard¶
-
class
Python_modules.mmcomplexity.
UnknownHazard
(stimulus_object, sources_prior=(0.5, 0.5))¶ Bases:
Python_modules.mmcomplexity.BinaryDecisionMaker
Methods Summary
process
([observations, hazard])This is where the bulk of the decision process occurs.
Methods Documentation
-
process
(observations=None, hazard=None)¶ This is where the bulk of the decision process occurs. Observations are converted into a decision variable.
For now, only the log posterior odds of the sources is computed, and hazard rate is assumed fixed.
- Args:
observations (list): sequence of perceived sound locations. If None, self.observations is used hazard: hazard rate, if None, the one from the stimulus_object attribute is fetched
- Returns:
- generator object that yields (joint posterior, decisions)
joint posterior is a dict…
todo: implement this method
-