This commit is contained in:
Dominik Strzako 2021-05-16 13:02:05 +02:00
parent 1dd2bba636
commit 3cfbb7e703
90 changed files with 207 additions and 7 deletions

View File

@ -7,8 +7,6 @@ import numpy as np
import sys
from sklearn.preprocessing import StandardScaler, LabelEncoder
from tensorflow.keras.optimizers import Adam
from sacred.observers import FileStorageObserver, MongoObserver
from sacred import Experiment
from datetime import datetime
import os
import sys
@ -19,8 +17,8 @@ with mlflow.start_run():
batch_param = int(sys.argv[1]) if len(sys.argv) > 1 else 16
epoch_param = int(sys.argv[2]) if len(sys.argv) > 2 else 5
mlflow.log_param("batch_size: ", batch_param)
mlflow.log_param("epochs: ", epoch_param)
#mlflow.log_param("batch_size: ", batch_param)
#mlflow.log_param("epochs: ", epoch_param)
wine=pd.read_csv('train.csv')
@ -61,8 +59,6 @@ with mlflow.start_run():
NeuralModel.fit(scaled_x, yenc, batch_size= batch_param, epochs = epoch_param) #verbose = 1
NeuralModel.save('wine_model.h5')
#TO TYLKO NA POTRZEBY ZADANIA
y_pred = NeuralModel.predict(scaled_x)
@ -70,4 +66,4 @@ with mlflow.start_run():
results = accuracy_score(yenc,y_pred)
mlflow.log_metric("Accuracy: ", results)
#mlflow.log_metric("Accuracy: ", results)

View File

@ -0,0 +1,15 @@
artifact_uri: file:///C:/Users/domstr2/Desktop/Git%20Repositories/ium_434788/mlruns/0/14421fb3c92b4a8faab11d3188201f3d/artifacts
end_time: null
entry_point_name: ''
experiment_id: '0'
lifecycle_stage: active
name: ''
run_id: 14421fb3c92b4a8faab11d3188201f3d
run_uuid: 14421fb3c92b4a8faab11d3188201f3d
source_name: ''
source_type: 4
source_version: ''
start_time: 1621161826636
status: 1
tags: []
user_id: domstr2

View File

@ -0,0 +1 @@
16

View File

@ -0,0 +1 @@
15

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
docker

View File

@ -0,0 +1 @@
1dd2bba6363ea6f73e4e50db76209915ac4fceb2

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
PROJECT

View File

@ -0,0 +1 @@
domstr2

View File

@ -0,0 +1,15 @@
artifact_uri: file:///C:/Users/domstr2/Desktop/Git%20Repositories/ium_434788/mlruns/0/23d6b693e2184e6e8b23410d0c555753/artifacts
end_time: null
entry_point_name: ''
experiment_id: '0'
lifecycle_stage: active
name: ''
run_id: 23d6b693e2184e6e8b23410d0c555753
run_uuid: 23d6b693e2184e6e8b23410d0c555753
source_name: ''
source_type: 4
source_version: ''
start_time: 1621159430855
status: 1
tags: []
user_id: domstr2

View File

@ -0,0 +1 @@
16

View File

@ -0,0 +1 @@
15

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
docker

View File

@ -0,0 +1 @@
1dd2bba6363ea6f73e4e50db76209915ac4fceb2

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788

View File

@ -0,0 +1 @@
PROJECT

View File

@ -0,0 +1 @@
domstr2

View File

@ -0,0 +1,15 @@
artifact_uri: file:///C:/Users/domstr2/Desktop/Git%20Repositories/ium_434788/mlruns/0/28b282340d8f474c96787328deec5668/artifacts
end_time: null
entry_point_name: ''
experiment_id: '0'
lifecycle_stage: active
name: ''
run_id: 28b282340d8f474c96787328deec5668
run_uuid: 28b282340d8f474c96787328deec5668
source_name: ''
source_type: 4
source_version: ''
start_time: 1621160247196
status: 1
tags: []
user_id: domstr2

View File

@ -0,0 +1 @@
16

View File

@ -0,0 +1 @@
15

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
docker

View File

@ -0,0 +1 @@
1dd2bba6363ea6f73e4e50db76209915ac4fceb2

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788

View File

@ -0,0 +1 @@
PROJECT

View File

@ -0,0 +1 @@
domstr2

View File

@ -0,0 +1,15 @@
artifact_uri: file:///C:/Users/domstr2/Desktop/Git%20Repositories/ium_434788/mlruns/0/66bc3400dd7346578a480ce4f9473006/artifacts
end_time: null
entry_point_name: ''
experiment_id: '0'
lifecycle_stage: active
name: ''
run_id: 66bc3400dd7346578a480ce4f9473006
run_uuid: 66bc3400dd7346578a480ce4f9473006
source_name: ''
source_type: 4
source_version: ''
start_time: 1621160212034
status: 1
tags: []
user_id: domstr2

View File

@ -0,0 +1 @@
16

View File

@ -0,0 +1 @@
15

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
docker

View File

@ -0,0 +1 @@
1dd2bba6363ea6f73e4e50db76209915ac4fceb2

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788

View File

@ -0,0 +1 @@
PROJECT

View File

@ -0,0 +1 @@
domstr2

View File

@ -0,0 +1,15 @@
artifact_uri: file:///C:/Users/domstr2/Desktop/Git%20Repositories/ium_434788/mlruns/0/8421cb10ee55435093732794541df638/artifacts
end_time: null
entry_point_name: ''
experiment_id: '0'
lifecycle_stage: active
name: ''
run_id: 8421cb10ee55435093732794541df638
run_uuid: 8421cb10ee55435093732794541df638
source_name: ''
source_type: 4
source_version: ''
start_time: 1621162772398
status: 1
tags: []
user_id: domstr2

View File

@ -0,0 +1 @@
16

View File

@ -0,0 +1 @@
15

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
docker

View File

@ -0,0 +1 @@
1dd2bba6363ea6f73e4e50db76209915ac4fceb2

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788

View File

@ -0,0 +1 @@
PROJECT

View File

@ -0,0 +1 @@
domstr2

View File

@ -0,0 +1,15 @@
artifact_uri: file:///C:/Users/domstr2/Desktop/Git%20Repositories/ium_434788/mlruns/0/a0f04bb726e64ee89a7a1a05045e1486/artifacts
end_time: null
entry_point_name: ''
experiment_id: '0'
lifecycle_stage: active
name: ''
run_id: a0f04bb726e64ee89a7a1a05045e1486
run_uuid: a0f04bb726e64ee89a7a1a05045e1486
source_name: ''
source_type: 4
source_version: ''
start_time: 1621160229511
status: 1
tags: []
user_id: domstr2

View File

@ -0,0 +1 @@
16

View File

@ -0,0 +1 @@
15

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
docker

View File

@ -0,0 +1 @@
1dd2bba6363ea6f73e4e50db76209915ac4fceb2

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788

View File

@ -0,0 +1 @@
PROJECT

View File

@ -0,0 +1 @@
domstr2

View File

@ -0,0 +1,15 @@
artifact_uri: file:///C:/Users/domstr2/Desktop/Git%20Repositories/ium_434788/mlruns/0/a5013677cb9446e5b6fc0345862a8d38/artifacts
end_time: null
entry_point_name: ''
experiment_id: '0'
lifecycle_stage: active
name: ''
run_id: a5013677cb9446e5b6fc0345862a8d38
run_uuid: a5013677cb9446e5b6fc0345862a8d38
source_name: ''
source_type: 4
source_version: ''
start_time: 1621162579287
status: 1
tags: []
user_id: domstr2

View File

@ -0,0 +1 @@
16

View File

@ -0,0 +1 @@
15

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
docker

View File

@ -0,0 +1 @@
1dd2bba6363ea6f73e4e50db76209915ac4fceb2

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788

View File

@ -0,0 +1 @@
PROJECT

View File

@ -0,0 +1 @@
domstr2

View File

@ -0,0 +1,15 @@
artifact_uri: file:///C:/Users/domstr2/Desktop/Git%20Repositories/ium_434788/mlruns/0/a8bc3f73db49490abf595e9bd070ae2b/artifacts
end_time: null
entry_point_name: ''
experiment_id: '0'
lifecycle_stage: active
name: ''
run_id: a8bc3f73db49490abf595e9bd070ae2b
run_uuid: a8bc3f73db49490abf595e9bd070ae2b
source_name: ''
source_type: 4
source_version: ''
start_time: 1621160275153
status: 1
tags: []
user_id: domstr2

View File

@ -0,0 +1 @@
16

View File

@ -0,0 +1 @@
15

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
docker

View File

@ -0,0 +1 @@
1dd2bba6363ea6f73e4e50db76209915ac4fceb2

View File

@ -0,0 +1 @@
https://git.wmi.amu.edu.pl/s434788/ium_434788.git

View File

@ -0,0 +1 @@
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788

View File

@ -0,0 +1 @@
PROJECT

View File

@ -0,0 +1 @@
domstr2

4
mlruns/0/meta.yaml Normal file
View File

@ -0,0 +1,4 @@
artifact_location: file:///C:/Users/domstr2/Desktop/Git%20Repositories/ium_434788/mlruns/0
experiment_id: '0'
lifecycle_stage: active
name: Default