This commit is contained in:
s464962 2024-05-26 19:43:24 +02:00
parent d8769d16e1
commit 924582d030

View File

@ -1,13 +1,13 @@
from sacred import Experiment from sacred import Experiment
from sacred.observers import FileStorageObserver from sacred.observers import FileStorageObserver, MongoObserver
import pandas as pd import pandas as pd
import numpy as np import numpy as np
from tensorflow.keras import Sequential from tensorflow.keras import Sequential
from tensorflow.keras.layers import Dense from tensorflow.keras.layers import Dense
from sklearn.preprocessing import MinMaxScaler from sklearn.preprocessing import MinMaxScaler
ex = Experiment("car_price_prediction") ex = Experiment("464962")
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017', db_name='sacred'))
ex.observers.append(FileStorageObserver('my_runs')) ex.observers.append(FileStorageObserver('my_runs'))