DVC init
This commit is contained in:
parent
f288d3ef94
commit
a648c1f6d1
3
.dvc/.gitignore
vendored
Normal file
3
.dvc/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
/config.local
|
||||||
|
/tmp
|
||||||
|
/cache
|
0
.dvc/config
Normal file
0
.dvc/config
Normal file
3
.dvcignore
Normal file
3
.dvcignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Add patterns of files dvc should ignore, which could improve
|
||||||
|
# the performance. Learn more at
|
||||||
|
# https://dvc.org/doc/user-guide/dvcignore
|
@ -5,10 +5,12 @@ from sklearn.model_selection import train_test_split
|
|||||||
from sklearn.preprocessing import StandardScaler
|
from sklearn.preprocessing import StandardScaler
|
||||||
import sys
|
import sys
|
||||||
import sacred
|
import sacred
|
||||||
from sacred.observers import FileStorageObserver
|
from sacred.observers import FileStorageObserver, MongoObserver
|
||||||
|
|
||||||
ex = sacred.Experiment("Training model")
|
ex = sacred.Experiment("Training model")
|
||||||
ex.observers.append(FileStorageObserver('training_experiment'))
|
ex.observers.append(FileStorageObserver('training_experiment'))
|
||||||
|
# ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017',
|
||||||
|
# db_name='sacred'))
|
||||||
|
|
||||||
|
|
||||||
@ex.config
|
@ex.config
|
||||||
|
Loading…
Reference in New Issue
Block a user