1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00
Files
coach/rl_coach/data_stores/data_store.py
Ajay Deshpande 875d6ef017 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
2018-11-12 15:03:43 -08:00

35 lines
663 B
Python

from enum import Enum
class DataStoreParameters(object):
def __init__(self, store_type, orchestrator_type, orchestrator_params):
self.store_type = store_type
self.orchestrator_type = orchestrator_type
self.orchestrator_params = orchestrator_params
class DataStore(object):
def __init__(self, params: DataStoreParameters):
pass
def deploy(self) -> bool:
pass
def get_info(self):
pass
def undeploy(self) -> bool:
pass
def save_to_store(self):
pass
def load_from_store(self):
pass
class SyncFiles(Enum):
FINISHED = ".finished"
LOCKFILE = ".lock"