code stringlengths 3 6.57k |
|---|
n.split('/') |
len(path) |
range(len(items) |
_RepoObjectItem(path[i], None) |
_MeasureItem(n, ml_repo) |
self._set(path, items) |
_TestCollection(_RepoObjectItem) |
__init__(self, name, ml_repo) |
super(_TestCollection, self) |
__init__('tests', None) |
ml_repo.get_names(MLObjectType.TEST) |
n.split('/') |
len(path) |
range(len(items) |
_RepoObjectItem(path[i], None) |
_RepoObjectItem(n, ml_repo) |
self._set(path, items) |
_JobCollection(_RepoObjectItem) |
__init__(self, name, ml_repo, model_name) |
super(_JobCollection, self) |
__init__('jobs', None) |
ml_repo.get_names(MLObjectType.JOB) |
n.split('/') |
path.index('jobs') |
len(path) |
range(len(items) |
_RepoObjectItem(path[i], None) |
_JobItem(n, ml_repo) |
self._set(path, items) |
_ModelItem(_RepoObjectItem) |
__init__(self, name, ml_repo, repo_obj = None) |
super(_ModelItem,self) |
__init__(name, ml_repo, repo_obj) |
_RepoObjectItem(name + '/model', ml_repo) |
_EvalCollection(name + '/eval', ml_repo) |
_RepoObjectItem(name + '/model_param', ml_repo) |
_TestCollection(name + '/tests', ml_repo) |
_MeasureCollection(name+ '/measure', ml_repo) |
_JobCollection(name+'/jobs', ml_repo, name) |
ml_repo._object_exists(name+'/training_stat') |
_RepoObjectItem(name+'/training_stat', ml_repo) |
ml_repo._object_exists(name+'/training_param') |
_RepoObjectItem(name + '/training_param', ml_repo) |
set_label(self, label_name, version = repo_store.RepoStore.LAST_VERSION, message='') |
self._repo.set_label(label_name, self._name+ '/model', version, message) |
_LabelCollection(_RepoObjectItem) |
__init__(self, repo) |
super(_LabelCollection,self) |
__init__('labels', None) |
repo.get_names(MLObjectType.LABEL) |
ml_repo.get() |
setattr(self, n, _RepoObjectItem(n, repo) |
_ModelCollection(_RepoObjectItem) |
__get_name_from_path(name) |
__init__(self, repo) |
super(_ModelCollection,self) |
__init__('models', None) |
repo.get_names(MLObjectType.MODEL) |
setattr(self, _ModelCollection.__get_name_from_path(n) |
_ModelItem(n, repo) |
_LabelCollection(repo) |
add(self, name) |
setattr(self, name, _ModelItem(name,self._repo) |
_CacheDataCollection(_RepoObjectItem) |
__get_name_from_path(path) |
path.split('/') |
__init__(self, repo) |
super(_CacheDataCollection, self) |
__init__('cache', None) |
repo.get_names(MLObjectType.CACHED_VALUE) |
setattr(self, _CacheDataCollection.__get_name_from_path(n) |
_RepoObjectItem(n, repo) |
add_tree(ml_repo) |
ml_repo (MLRepo) |
setattr(ml_repo, 'tree', MLTree(ml_repo) |
ml_repo._add_triggers.append(ml_repo.tree.reload) |
__create(self) |
_RawDataCollection(self.__ml_repo) |
_TrainingDataCollection(self.__ml_repo) |
_TestDataCollection(self.__ml_repo) |
_ModelCollection(self.__ml_repo) |
_CacheDataCollection(self.__ml_repo) |
__init__(self, ml_repo) |
self.__create() |
reload(self, **kwargs) |
self.__create() |
modifications(self) |
self.raw_data.modifications() |
result.update(tmp) |
self.training_data.modifications() |
result.update(tmp) |
self.test_data.modifications() |
result.update(stmp) |
self.models.modifications() |
result.update(tmp) |
len(result) |
input('How many people will be in the dinner group? ') |
int(count) |
print('You\'ll have to wait for a table.') |
print('The table is ready.') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.