MLFlow
This commit is contained in:
parent
1dd2bba636
commit
3cfbb7e703
@ -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)
|
15
mlruns/0/14421fb3c92b4a8faab11d3188201f3d/meta.yaml
Normal file
15
mlruns/0/14421fb3c92b4a8faab11d3188201f3d/meta.yaml
Normal 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
|
@ -0,0 +1 @@
|
||||
16
|
1
mlruns/0/14421fb3c92b4a8faab11d3188201f3d/params/epochs
Normal file
1
mlruns/0/14421fb3c92b4a8faab11d3188201f3d/params/epochs
Normal file
@ -0,0 +1 @@
|
||||
15
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
main
|
@ -0,0 +1 @@
|
||||
docker
|
@ -0,0 +1 @@
|
||||
1dd2bba6363ea6f73e4e50db76209915ac4fceb2
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
PROJECT
|
@ -0,0 +1 @@
|
||||
domstr2
|
15
mlruns/0/23d6b693e2184e6e8b23410d0c555753/meta.yaml
Normal file
15
mlruns/0/23d6b693e2184e6e8b23410d0c555753/meta.yaml
Normal 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
|
@ -0,0 +1 @@
|
||||
16
|
1
mlruns/0/23d6b693e2184e6e8b23410d0c555753/params/epochs
Normal file
1
mlruns/0/23d6b693e2184e6e8b23410d0c555753/params/epochs
Normal file
@ -0,0 +1 @@
|
||||
15
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
main
|
@ -0,0 +1 @@
|
||||
docker
|
@ -0,0 +1 @@
|
||||
1dd2bba6363ea6f73e4e50db76209915ac4fceb2
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788
|
@ -0,0 +1 @@
|
||||
PROJECT
|
@ -0,0 +1 @@
|
||||
domstr2
|
15
mlruns/0/28b282340d8f474c96787328deec5668/meta.yaml
Normal file
15
mlruns/0/28b282340d8f474c96787328deec5668/meta.yaml
Normal 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
|
@ -0,0 +1 @@
|
||||
16
|
1
mlruns/0/28b282340d8f474c96787328deec5668/params/epochs
Normal file
1
mlruns/0/28b282340d8f474c96787328deec5668/params/epochs
Normal file
@ -0,0 +1 @@
|
||||
15
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
main
|
@ -0,0 +1 @@
|
||||
docker
|
@ -0,0 +1 @@
|
||||
1dd2bba6363ea6f73e4e50db76209915ac4fceb2
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788
|
@ -0,0 +1 @@
|
||||
PROJECT
|
@ -0,0 +1 @@
|
||||
domstr2
|
15
mlruns/0/66bc3400dd7346578a480ce4f9473006/meta.yaml
Normal file
15
mlruns/0/66bc3400dd7346578a480ce4f9473006/meta.yaml
Normal 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
|
@ -0,0 +1 @@
|
||||
16
|
1
mlruns/0/66bc3400dd7346578a480ce4f9473006/params/epochs
Normal file
1
mlruns/0/66bc3400dd7346578a480ce4f9473006/params/epochs
Normal file
@ -0,0 +1 @@
|
||||
15
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
main
|
@ -0,0 +1 @@
|
||||
docker
|
@ -0,0 +1 @@
|
||||
1dd2bba6363ea6f73e4e50db76209915ac4fceb2
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788
|
@ -0,0 +1 @@
|
||||
PROJECT
|
@ -0,0 +1 @@
|
||||
domstr2
|
15
mlruns/0/8421cb10ee55435093732794541df638/meta.yaml
Normal file
15
mlruns/0/8421cb10ee55435093732794541df638/meta.yaml
Normal 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
|
@ -0,0 +1 @@
|
||||
16
|
1
mlruns/0/8421cb10ee55435093732794541df638/params/epochs
Normal file
1
mlruns/0/8421cb10ee55435093732794541df638/params/epochs
Normal file
@ -0,0 +1 @@
|
||||
15
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
main
|
@ -0,0 +1 @@
|
||||
docker
|
@ -0,0 +1 @@
|
||||
1dd2bba6363ea6f73e4e50db76209915ac4fceb2
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788
|
@ -0,0 +1 @@
|
||||
PROJECT
|
@ -0,0 +1 @@
|
||||
domstr2
|
15
mlruns/0/a0f04bb726e64ee89a7a1a05045e1486/meta.yaml
Normal file
15
mlruns/0/a0f04bb726e64ee89a7a1a05045e1486/meta.yaml
Normal 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
|
@ -0,0 +1 @@
|
||||
16
|
1
mlruns/0/a0f04bb726e64ee89a7a1a05045e1486/params/epochs
Normal file
1
mlruns/0/a0f04bb726e64ee89a7a1a05045e1486/params/epochs
Normal file
@ -0,0 +1 @@
|
||||
15
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
main
|
@ -0,0 +1 @@
|
||||
docker
|
@ -0,0 +1 @@
|
||||
1dd2bba6363ea6f73e4e50db76209915ac4fceb2
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788
|
@ -0,0 +1 @@
|
||||
PROJECT
|
@ -0,0 +1 @@
|
||||
domstr2
|
15
mlruns/0/a5013677cb9446e5b6fc0345862a8d38/meta.yaml
Normal file
15
mlruns/0/a5013677cb9446e5b6fc0345862a8d38/meta.yaml
Normal 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
|
@ -0,0 +1 @@
|
||||
16
|
1
mlruns/0/a5013677cb9446e5b6fc0345862a8d38/params/epochs
Normal file
1
mlruns/0/a5013677cb9446e5b6fc0345862a8d38/params/epochs
Normal file
@ -0,0 +1 @@
|
||||
15
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
main
|
@ -0,0 +1 @@
|
||||
docker
|
@ -0,0 +1 @@
|
||||
1dd2bba6363ea6f73e4e50db76209915ac4fceb2
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788
|
@ -0,0 +1 @@
|
||||
PROJECT
|
@ -0,0 +1 @@
|
||||
domstr2
|
15
mlruns/0/a8bc3f73db49490abf595e9bd070ae2b/meta.yaml
Normal file
15
mlruns/0/a8bc3f73db49490abf595e9bd070ae2b/meta.yaml
Normal 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
|
@ -0,0 +1 @@
|
||||
16
|
1
mlruns/0/a8bc3f73db49490abf595e9bd070ae2b/params/epochs
Normal file
1
mlruns/0/a8bc3f73db49490abf595e9bd070ae2b/params/epochs
Normal file
@ -0,0 +1 @@
|
||||
15
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
main
|
@ -0,0 +1 @@
|
||||
docker
|
@ -0,0 +1 @@
|
||||
1dd2bba6363ea6f73e4e50db76209915ac4fceb2
|
@ -0,0 +1 @@
|
||||
https://git.wmi.amu.edu.pl/s434788/ium_434788.git
|
@ -0,0 +1 @@
|
||||
file://C:\Users\domstr2\Desktop\Git Repositories\ium_434788
|
@ -0,0 +1 @@
|
||||
PROJECT
|
@ -0,0 +1 @@
|
||||
domstr2
|
4
mlruns/0/meta.yaml
Normal file
4
mlruns/0/meta.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user