Abstract class to represent a policy.
Methods
- Parameters:
kwargs (Any) –
-
__init__(**kwargs: Any)[source]
- Parameters:
kwargs (Any) –
-
abstract learn(event: TEvent) → None[source]
- Parameters:
event (TEvent) –
- Return type:
None
-
abstract log(event: TEvent) → None[source]
- Parameters:
event (TEvent) –
- Return type:
None
-
abstract predict(event: TEvent) → Any[source]
- Parameters:
event (TEvent) –
- Return type:
Any
-
save() → None[source]
- Return type:
None