-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
69 lines (57 loc) · 1.72 KB
/
__init__.py
File metadata and controls
69 lines (57 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from gym.envs.registration import registry, register, make, spec
from bandits import FiveArmedBanditEnv, EightArmedBanditEnv, TwentyArmedBanditEnv
from bandits import FiveArmedBanditLateRewardEnv, EightArmedBanditLateRewardEnv, TwentyArmedBanditLateRewardEnv
from bandits import FiveArmedBanditRegretEnv, EightArmedBanditRegretEnv, TwentyArmedBanditRegretEnv
from bandits import FiveArmedBanditRegretLateEnv, EightArmedBanditRegretLateEnv, TwentyArmedBanditRegretLateEnv
from bandits import ContextualBanditEnv
from classification import MNISTEnv
register(
id='EightArmedBandit-v0',
entry_point='ranch:EightArmedBanditEnv',
timestep_limit=2000
)
register(
id='TwentyArmedBandit-v0',
entry_point='ranch:TwentyArmedBanditEnv',
timestep_limit=2000
)
register(
id='EightArmedBanditRegret-v0',
entry_point='ranch:EightArmedBanditRegretEnv',
timestep_limit=2000
)
register(
id='TwentyArmedBanditRegret-v0',
entry_point='ranch:TwentyArmedBanditRegretEnv',
timestep_limit=2000
)
register(
id='EightArmedBanditLateReward-v0',
entry_point='ranch:EightArmedBanditLateRewardEnv',
timestep_limit=2000
)
register(
id='TwentyArmedBanditLateReward-v0',
entry_point='ranch:TwentyArmedBanditLateRewardEnv',
timestep_limit=2000
)
register(
id='EightArmedBanditRegretLate-v0',
entry_point='ranch:EightArmedBanditRegretLateEnv',
timestep_limit=2000
)
register(
id='TwentyArmedBanditRegretLate-v0',
entry_point='ranch:TwentyArmedBanditRegretLateEnv',
timestep_limit=2000
)
register(
id='ContextualBandit-v0',
entry_point='ranch:ContextualBanditEnv',
timestep_limit=3000
)
register(
id='MNIST-v0',
entry_point='ranch:MNISTEnv',
timestep_limit=1000
)