mirror of
https://github.com/gryf/coach.git
synced 2025-12-18 03:30:19 +01:00
Adding target reward and target sucess (#58)
* Adding target reward * Adding target successs * Addressing comments * Using custom_reward_threshold and target_success_rate * Adding exit message * Moving success rate to environment * Making target_success_rate optional
This commit is contained in:
committed by
Balaji Subramaniam
parent
0fe583186e
commit
875d6ef017
@@ -1,4 +1,6 @@
|
||||
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class DataStoreParameters(object):
|
||||
def __init__(self, store_type, orchestrator_type, orchestrator_params):
|
||||
@@ -6,6 +8,7 @@ class DataStoreParameters(object):
|
||||
self.orchestrator_type = orchestrator_type
|
||||
self.orchestrator_params = orchestrator_params
|
||||
|
||||
|
||||
class DataStore(object):
|
||||
def __init__(self, params: DataStoreParameters):
|
||||
pass
|
||||
@@ -24,3 +27,8 @@ class DataStore(object):
|
||||
|
||||
def load_from_store(self):
|
||||
pass
|
||||
|
||||
|
||||
class SyncFiles(Enum):
|
||||
FINISHED = ".finished"
|
||||
LOCKFILE = ".lock"
|
||||
|
||||
Reference in New Issue
Block a user