-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMLproject
30 lines (29 loc) · 817 Bytes
/
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
name: Predicting flights cancellation
entry_points:
main:
command: "python3 -m src.main --multirun"
evaluate:
command: "python3 -m src.evaluate"
validate:
command: "python3 -m src.validate"
transform:
command: "python3 ./pipelines/data_prepare.py"
extract:
command: "./airflow.sh dags test data_extraction_v1_dag"
deploy:
command: "bash ./scripts/deploy_docker.sh"
predict:
parameters:
example_version:
type: string
default: "v7.0"
hostname:
type: string
default: "localhost"
port:
type: float
default: 8083
random_state:
type: float
default: 88
command: "python3 -m src.predict ++example_version={example_version} ++hostname={hostname} ++port={port} ++random_state={random_state}"