MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / act

Method act

numpy_ml/rl_models/agents.py:46–48  ·  view source on GitHub ↗

Generate an action given the current observation

(self, obs)

Source from the content-addressed store, hash-verified

44
45 @abstractmethod
46 def act(self, obs):
47 """Generate an action given the current observation"""
48 raise NotImplementedError
49
50 @abstractmethod
51 def greedy_policy(self, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected