-
Notifications
You must be signed in to change notification settings - Fork 1
/
MLproject
35 lines (29 loc) · 1.29 KB
/
MLproject
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: stock_market_prediction_poc
conda_env: conda.yml
entry_points:
download_raw_data:
parameters:
company_abbreviation: {type: string, default: MSFT}
command: "python flow_steps/download_raw_data.py --company-abbreviation {company_abbreviation}"
transform_data:
parameters:
dataset_stock_csv: path
max_row_limit: {type: int, default: 100000}
command: "python flow_steps/transform_data.py --dataset-stock-csv {dataset_stock_csv} --max-row-limit {max_row_limit}"
train_model:
parameters:
stock_data: path
lstm_units: {type: int, default: 50}
command: "python flow_steps/train_model.py --stock-data {stock_data} --lstm-units {lstm_units}"
deploy_model:
parameters:
model_dir: path
bucket_name: {type: string, default: stock-market-models}
command: "python flow_steps/deploy_model.py --model-dir {model_dir} --bucket-name {bucket_name}"
main:
parameters:
lstm_units: {type: int, default: 50}
max_row_limit: {type: int, default: 100000}
company_abbreviation: {type: string, default: MSFT}
bucket_name" {type:string, default: stock-market-models}
command: "python main.py --lstm-units {lstm_units} --max-row-limit {max_row_limit} --company-abbreviation {company_abbreviation} --bucket-name {bucket_name}"