Skip to content

Commit 0b4bfc3

Browse files
committed
update config yaml
1 parent e8ea5e7 commit 0b4bfc3

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

.project-metadata.yaml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
name: Deep Learning for Anomaly Detection
2-
description: Neural Question Answering
2+
description: Applying deep learning models on the task of anomaly detection
33
author: Cloudera Engineer
44
specification_version: 1.0
5-
prototype_version: 1.0
5+
prototype_version: 1.0
66
date: "2020-09-29"
7-
api_version: 1
7+
api_version: 1
88

9-
environment_variables:
10-
AWS_ACCESS_KEY:
11-
default: "SUPER AWESOME AWS KEY"
12-
description: "Access Key ID for accessing S3 bucket"
13-
prompt_user: true
149

1510
tasks:
1611
- type: create_job
1712
name: Install dependencies
1813
entity_label: install_deps
1914
script: install_deps.py
2015
arguments: None
21-
short_summary: Job to install dependencies and download training data.
16+
short_summary: Job to install project dependencies.
2217
environment:
2318
TASK_TYPE: CREATE/RUN_JOB
2419
kernel: python3
@@ -29,9 +24,25 @@ tasks:
2924
long_summary: >-
3025
Running the job to install dependencies.
3126
27+
- type: create_job
28+
name: Train Model
29+
entity_label: train_model
30+
script: train.py
31+
arguments: None
32+
short_summary: Job to train and export model.
33+
environment:
34+
TASK_TYPE: CREATE/RUN_JOB
35+
kernel: python3
36+
37+
- type: run_job
38+
entity_label: train_model
39+
short_summary: Running model training job.
40+
long_summary: >-
41+
Running the job to train a model.
42+
3243
- type: start_application
33-
name: Application to serve NeuralQA UI
34-
subdomain: neuralqa
44+
name: Application to serve Deep Learning for Anomaly Detectionn UI
45+
subdomain: deepad
3546
script: app.py
3647
environment_variables:
3748
TASK_TYPE: START_APPLICATION

install_deps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!pip3 install -r requirements.txt

0 commit comments

Comments
 (0)