Skip to content

Commit abc5d4e

Browse files
committed
Update instructions and add model in setup image
1 parent 11f08cc commit abc5d4e

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

Dockerfile_cd4ml_setup

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN mkdir -p /app/continuous-intelligence \
1515
&& mkdir -p /app/continuous-intelligence/data/raw \
1616
&& pip install --no-cache-dir --no-compile -r requirements.txt \
1717
&& conda list && conda clean -tipy \
18-
&& python /app/continuous-intelligence/src/download_data.py
18+
&& python /app/continuous-intelligence/src/download_data.py \
19+
&& python /app/continuous-intelligence/src/download_data.py --model
1920

2021
CMD ["/app/continuous-intelligence/start.sh"]

instructions/3-machine-learning-pipeline.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,19 @@ git push
3434
4. Create machine learning training pipeline in GoCD:
3535

3636
* Go to GoCD's [*"Admin" > "Pipelines"*](http://gocd.cd4ml.net/go/admin/pipelines)
37-
menu and create a new pipeline. Give it a name related to your username, e.g.
38-
`ml-pipeline-X`, replacing `X` with your user ID).
37+
menu and create a new pipeline.
3938

40-
* Configure your Github repository URL (e.g. `https://github.com/<github-user>/continuous-intelligence-workshop.git`) as a Git material, and use the
41-
existing `ml-pipeline-gcp-template` template when configuring the stages.
39+
* Configure your Github repository URL (e.g. `https://github.com/<github-user>/continuous-intelligence-workshop.git`) as a Git material.
40+
41+
* Give it a name related to your username, e.g. `ml-pipeline-X`, replacing `X`
42+
with your user ID).
43+
44+
* Click on *"Advanced Settings"* for "Part 2", enable the "Use Template"
45+
toggle and select the existing `ml-pipeline-gcp-template` template.
4246

4347
<kbd>![GoCD Configuration for ML pipeline](./images/3-ml-pipeline.png)</kbd>
4448

45-
* Click *"Finish"*
49+
* Click *"Save + Run This Pipeline"*
4650

4751
5. Combine both pipelines:
4852

@@ -61,7 +65,7 @@ git push
6165

6266
* Save and go back to the main [Dashboard](http://gocd.cd4ml.net) page
6367

64-
6. Unpause the machine learning pipeline to train and publish your model.
68+
6. Wait for the machine learning pipeline to train and publish your model.
6569

6670
**WARNING: The pipeline should fail because the model training accuracy is not
6771
good enough!**

instructions/images/3-ml-pipeline.png

45.2 KB
Loading

0 commit comments

Comments
 (0)