citylearn.occupant module
- class citylearn.occupant.LogisticRegressionOccupant(setpoint_increase_model_filepath: Path | str, setpoint_decrease_model_filepath: Path | str, delta_output_map: Mapping[int, float], parameters: LogisticRegressionOccupantParameters, **kwargs)[source]
Bases:
Occupant
- property delta_output_map: Mapping[int, float]
- property probabilities: Mapping[str, float]
- reset()[source]
Reset environment to initial state.
Calls reset_time_step.
Notes
Override in subclass for custom implementation when reseting environment.
- property setpoint_decrease_model_filepath: Path | str
- property setpoint_increase_model_filepath: Path | str
- class citylearn.occupant.Occupant(**kwargs)[source]
Bases:
Environment