rcognita.predictors.EulerPredictor

class rcognita.predictors.EulerPredictor(pred_step_size: float, system: rcognita.systems.System, dim_input: int, prediction_horizon: int)

Euler predictor uses a simple Euler discretization scheme. It does predictions by increments scaled by a sampling time times the velocity evaluated at each successive node.

__init__(pred_step_size: float, system: rcognita.systems.System, dim_input: int, prediction_horizon: int)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(pred_step_size, system, dim_input, …)

Initialize self.

predict(current_state_or_observation, action)

predict_sequence(observation, action_sequence)