-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Muhammad Usman
committed
Jun 13, 2022
1 parent
b214b68
commit 08070c8
Showing
13 changed files
with
78 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,60 @@ | ||
schema: '2.0' | ||
stages: | ||
load_data: | ||
cmd: python src/data/load_data.py --config=config/params.yaml | ||
cmd: python src/load_data.py --config=params.yaml | ||
deps: | ||
- path: data_given/winequality.csv | ||
md5: ccc8d3507eb151f53f760d36abdef888 | ||
size: 91998 | ||
- path: src/data/get_data.py | ||
md5: e93ff6f5120c2884787ed30217cb8afb | ||
size: 730 | ||
- path: src/data/load_data.py | ||
md5: 70a392ab799c92f1bc4dc611e2d6a476 | ||
size: 735 | ||
- path: src/get_data.py | ||
md5: d32db8a35286570c0dd981f0bd7c1a25 | ||
size: 726 | ||
- path: src/load_data.py | ||
md5: c07904b0e8bf3d72e3c2bf4184aebe47 | ||
size: 731 | ||
outs: | ||
- path: data/raw/winequality.csv | ||
md5: d98e8f2eca228c11c4de1cc96866a54d | ||
size: 93598 | ||
split_data: | ||
cmd: python src/data/split_data.py --config=config/params.yaml | ||
cmd: python src/split_data.py --config=params.yaml | ||
deps: | ||
- path: data/raw/winequality.csv | ||
md5: d98e8f2eca228c11c4de1cc96866a54d | ||
size: 93598 | ||
- path: src/data/split_data.py | ||
md5: cea3d5da4e1e583a0620bac5f6512246 | ||
size: 1174 | ||
- path: src/split_data.py | ||
md5: ab93250c4eb3fbb9b253fb57e93350f6 | ||
size: 1170 | ||
outs: | ||
- path: data/processed/test_winequality.csv | ||
md5: 01718da3bd6e206060ed00667ca1a389 | ||
size: 18831 | ||
- path: data/processed/train_winequality.csv | ||
md5: 4bccf4d668cdc60115de42ba74d416ab | ||
size: 74913 | ||
train_and_evaluate: | ||
cmd: python src/train_and_evaluate.py --config=params.yaml | ||
deps: | ||
- path: data/processed/test_winequality.csv | ||
md5: 01718da3bd6e206060ed00667ca1a389 | ||
size: 18831 | ||
- path: data/processed/train_winequality.csv | ||
md5: 4bccf4d668cdc60115de42ba74d416ab | ||
size: 74913 | ||
- path: src/train_and_evaluate.py | ||
md5: 6f4add34d08b4be577c4cf184b004cf1 | ||
size: 2673 | ||
params: | ||
params.yaml: | ||
estimators.ElasticNet.params.alpha: 0.9 | ||
estimators.ElasticNet.params.l1_ratio: 0.4 | ||
outs: | ||
- path: report/params.json | ||
md5: a4aab0167612f21a6085dd05cfafdbf6 | ||
size: 44 | ||
- path: report/scores.json | ||
md5: 174868cff0fcd398bcc867bab2ac174f | ||
size: 101 | ||
- path: saved_models/model.joblib | ||
md5: 29eccfa32dedc97f770f6b245cd7aa36 | ||
size: 1336 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
stages: | ||
load_data: | ||
cmd: python src/data/load_data.py --config=config/params.yaml | ||
cmd: python src/load_data.py --config=params.yaml | ||
deps: | ||
- src/data/get_data.py | ||
- src/data/load_data.py | ||
- src/get_data.py | ||
- src/load_data.py | ||
- data_given/winequality.csv | ||
outs: | ||
- data/raw/winequality.csv | ||
|
||
split_data: | ||
cmd: python src/data/split_data.py --config=config/params.yaml | ||
cmd: python src/split_data.py --config=params.yaml | ||
deps: | ||
- src/data/split_data.py | ||
- src/split_data.py | ||
- data/raw/winequality.csv | ||
outs: | ||
- data/processed/train_winequality.csv | ||
- data/processed/test_winequality.csv | ||
|
||
train_and_evaluate: | ||
cmd: python src/models/train_model.py --config=config/params.yaml | ||
cmd: python src/train_and_evaluate.py --config=params.yaml | ||
deps: | ||
- data/processed/train_winequality.csv | ||
- data/processed/test_winequality.csv | ||
- src/models/train_model.py | ||
- src/train_and_evaluate.py | ||
params: | ||
- estimators.ElasticNet.params.alpha | ||
- estimators.ElasticNet.params.l1_ratio | ||
metrics: | ||
- reports/scores.json: | ||
- report/scores.json: | ||
cache: false | ||
- reports/params.json: | ||
- report/params.json: | ||
cache: false | ||
outs: | ||
- models/saved_models/model.joblib | ||
- saved_models/model.joblib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"alpha": 0.9, | ||
"l1_ratio": 0.4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"rmse": 0.8031192316982253, | ||
"mae": 0.6551462834843993, | ||
"r2": 0.013014969842178092 | ||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/model.joblib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters