1
0

ium_07 sacred

This commit is contained in:
Michal Gulczynski 2024-06-11 19:41:39 +02:00
parent f6fa572ef8
commit 9e90c820b8

View File

@ -4,12 +4,12 @@ import numpy as np
from sklearn.preprocessing import StandardScaler
from sklearn.metrics import accuracy_score
from sacred import Experiment
from sacred.observers import MongoObserver, FileObserver
from sacred.observers import FileStorageObserver, MongoObserver
ex = Experiment('464953_evaluation')
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@tzietkiewicz.vm.wmi.amu.edu.pl:27017'))
ex.observers.append(FileObserver('my_experiment_logs'))
ex.observers.append(FileStorageObserver('my_experiment_logs'))
@ex.config
def config():