scope_rl.policy.head.OnlineHead#
- class scope_rl.policy.head.OnlineHead(base_policy, name)[source]#
Class to enable online interaction.
Bases:
scope_rl.policy.BaseHeadImported as:
scope_rl.policy.OnlineHeadNote
This class aims to make a d3rlpy’s policy an instance of
BaseHead.Note
To ensure API compatibility with d3rlpy,
BaseHeadinheritsd3rlpy.algos.QLearningAlgoBase. This base class also has additional methods includingfit,predict, andpredict_value. Please also refer to the following documentation for the methods that are not described in this API reference.See also
- Parameters:
base_policy (QLearningAlgoBase) – Reinforcement learning (RL) policy.
name (str) – Name of the policy.
Methods
Only for API consistency.
calc_pscore_given_action(x, action)Only for API consistency.
Only for API consistency.
Methods,