MCPcopy Index your code
hub / github.com/ddbourgin/numpy-ml / __init__

Method __init__

numpy_ml/rl_models/agents.py:13–19  ·  view source on GitHub ↗
(self, env)

Source from the content-addressed store, hash-verified

11
12class AgentBase(ABC):
13 def __init__(self, env):
14 super().__init__()
15 self.env = env
16 self.parameters = {}
17 self.hyperparameters = {}
18 self.derived_variables = {}
19 self.env_info = env_stats(env)
20
21 def _create_2num_dicts(self, obs_encoder=None, act_encoder=None):
22 E = self.env_info

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

env_statsFunction · 0.85

Tested by

no test coverage detected