1
0
mirror of https://github.com/gryf/coach.git synced 2026-02-24 03:05:50 +01:00

pre-release 0.10.0

This commit is contained in:
Gal Novik
2018-08-13 17:11:34 +03:00
parent d44c329bb8
commit 19ca5c24b1
485 changed files with 33292 additions and 16770 deletions

View File

@@ -0,0 +1,19 @@
A custom environment implementation should look like this:
```bash
from coach.filters.input_filter import InputFilter
class CustomFilter(InputFilter):
def __init__(self):
...
def _filter(self, env_response: EnvResponse) -> EnvResponse:
...
def _get_filtered_observation_space(self, input_observation_space: ObservationSpace) -> ObservationSpace:
...
def _get_filtered_reward_space(self, input_reward_space: RewardSpace) -> RewardSpace:
...
def _validate_input_observation_space(self, input_observation_space: ObservationSpace):
...
def _reset(self):
...
```