d3rlpy.algos.ConstantEpsilonGreedy

class d3rlpy.algos.ConstantEpsilonGreedy(epsilon)[source]

\(\epsilon\)-greedy explorer with constant \(\epsilon\).

Parameters:

epsilon (float) – the constant \(\epsilon\).

Methods

sample(algo, x, step)[source]
Parameters:
Return type:

ndarray[Any, dtype[Any]]