Behavior (Core)#

alts.core.oracle.data_behavior
class DataBehavior(change_interval, lower_value, upper_value, start_time, stop_time)[source]#

Bases: Configurable

Description
Dictates how the data is behaving/changing over time.
Useful for simulating changes in environment during the observed time frame.
Parameters:
  • change_interval (float) – Amount of time steps between behaviour changes (default=5.0)

  • lower_value (float) – Lower extent of data value changes (default=-1.0)

  • upper_value (float) – Upper extent of data value changes (default=1.0)

  • start_time (float) – Start of affected time (default=0.0)

  • stop_time (float) – Stop of affected time (default=600.0)

behavior() Tuple[NDArray[Shape['change_times'], np.dtype[np.number]], NDArray[Shape['change_values'], np.dtype[np.number]]][source]#

behaviour(self) -> change_times, change_values | Description | Describes when the data changes and by what value it does

Returns:

change_times, change_values

Return type:

NDArray[float], NDArray[float]

Raises:

NotImplementedError

change_interval: float = 5#
lower_value: float = -1#
start_time: float = 0#
stop_time: float = 600#
upper_value: float = 1#