We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59378f commit 457388dCopy full SHA for 457388d
utils/epsilon.py
@@ -0,0 +1,9 @@
1
+def standard_epsilon(min_epsilon):
2
+ return min_epsilon
3
+
4
+def decaying_epsilon(min_epsilon, t):
5
+ return min(1 / t, min_epsilon)
6
7
+def exponential_decay_epsilon(min_epsilon, init_epsilon, alpha, t):
8
+ return min(init_epsilon * (alpha**t), min_epsilon)
9
0 commit comments