From 9168499587cf7bac650afa4db94aa5f87d8b881b Mon Sep 17 00:00:00 2001 From: Marley Date: Tue, 30 Aug 2022 19:34:25 +0300 Subject: [PATCH 01/30] Delete README.md --- Chapter01/stockpred/README.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Chapter01/stockpred/README.md diff --git a/Chapter01/stockpred/README.md b/Chapter01/stockpred/README.md deleted file mode 100644 index 8b13789..0000000 --- a/Chapter01/stockpred/README.md +++ /dev/null @@ -1 +0,0 @@ - From b198e7449e84753368bc00d2a85e825e6d1ead20 Mon Sep 17 00:00:00 2001 From: Marley Date: Tue, 30 Aug 2022 19:35:02 +0300 Subject: [PATCH 02/30] Update Dockerfile --- Chapter01/stockpred/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter01/stockpred/Dockerfile b/Chapter01/stockpred/Dockerfile index 3ce786d..14941a7 100644 --- a/Chapter01/stockpred/Dockerfile +++ b/Chapter01/stockpred/Dockerfile @@ -6,7 +6,7 @@ RUN pip install mlflow>=1.18.0 \ && pip install pandas \ && pip install scikit-learn \ && pip install cloudpickle \ - && pip install pandas_datareader==0.10.0 + && pip install pandas_datareader==0.10.0 \ && pip install yfinance From ea62bbcf0ab6084b5252434b82a52c0557b6f659 Mon Sep 17 00:00:00 2001 From: webmakaka Date: Wed, 31 Aug 2022 22:21:51 +0300 Subject: [PATCH 03/30] Remove unnecessary files --- .prettierignore | 3 ++ .prettierrc | 4 ++ .../ISSUE_TEMPLATE/bug-fix-ticket-template.md | 38 ------------------- .../ISSUE_TEMPLATE/epic-ticket-template.md | 14 ------- .../ISSUE_TEMPLATE/feature-ticket-template.md | 28 -------------- .../ISSUE_TEMPLATE/spike-ticket-template.md | 28 -------------- .../ISSUE_TEMPLATE/task-ticket-template.md | 25 ------------ .../gradflow/.github/pull_request_template.md | 30 --------------- Chapter03/gradflow/setup.py | 2 - 9 files changed, 7 insertions(+), 165 deletions(-) create mode 100644 .prettierignore create mode 100644 .prettierrc delete mode 100644 Chapter03/gradflow/.github/ISSUE_TEMPLATE/bug-fix-ticket-template.md delete mode 100644 Chapter03/gradflow/.github/ISSUE_TEMPLATE/epic-ticket-template.md delete mode 100644 Chapter03/gradflow/.github/ISSUE_TEMPLATE/feature-ticket-template.md delete mode 100644 Chapter03/gradflow/.github/ISSUE_TEMPLATE/spike-ticket-template.md delete mode 100644 Chapter03/gradflow/.github/ISSUE_TEMPLATE/task-ticket-template.md delete mode 100644 Chapter03/gradflow/.github/pull_request_template.md diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..abb193c --- /dev/null +++ b/.prettierignore @@ -0,0 +1,3 @@ +node_modules +# *.test.js +# *.spec.js \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..9255d51 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,4 @@ +{ + "singleQuote": true, + "bracketSpacing": true +} \ No newline at end of file diff --git a/Chapter03/gradflow/.github/ISSUE_TEMPLATE/bug-fix-ticket-template.md b/Chapter03/gradflow/.github/ISSUE_TEMPLATE/bug-fix-ticket-template.md deleted file mode 100644 index 3b09cb0..0000000 --- a/Chapter03/gradflow/.github/ISSUE_TEMPLATE/bug-fix-ticket-template.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug fix ticket template -about: Ticket to correct an error, flaw, failure or fault -title: "[TEMPLATE] Bug Fix" -labels: Bug -assignees: '' - ---- - -**One-line summary (optional)** - -**Steps to Reproduce** - -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -- Add screenshots to help explain your problem, if applicable -- Include specs (OS, Python version, code commit hash or release version), if useful - -**Expected Behaviour** - -**Design** - -**Acceptance Criteria** - -**Outcome** - -- Clarify the deliverables (scripts, process etc.) and documentation, if applicable. - -**Don't forget to** - -- Add appropriate labels -- Assign to a person, if possible -- Link dependencies, if applicable diff --git a/Chapter03/gradflow/.github/ISSUE_TEMPLATE/epic-ticket-template.md b/Chapter03/gradflow/.github/ISSUE_TEMPLATE/epic-ticket-template.md deleted file mode 100644 index cfa0b09..0000000 --- a/Chapter03/gradflow/.github/ISSUE_TEMPLATE/epic-ticket-template.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: Epic ticket template -about: Tickets which group other tickets with the same agenda -title: "[TEMPLATE] Epic" -labels: Epic -assignees: '' - ---- - -**Description** - -**Don't forget to** - -- Link related tickets diff --git a/Chapter03/gradflow/.github/ISSUE_TEMPLATE/feature-ticket-template.md b/Chapter03/gradflow/.github/ISSUE_TEMPLATE/feature-ticket-template.md deleted file mode 100644 index 1f74fce..0000000 --- a/Chapter03/gradflow/.github/ISSUE_TEMPLATE/feature-ticket-template.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: Feature ticket template -about: Tickets to develop or extend a functionality -title: "[TEMPLATE] Feature" -labels: Feature -assignees: '' - ---- - -**One-line summary (optional)** - -**Reason** - -**Design** - -**Acceptance Criteria** - -- Clarify unit tests and integration tests even if there are none. - -**Outcome** - -- Clarify the deliverables (code, process etc.) and documentation, where applicable. - -**Don't forget to** - -- Add appropriate labels -- Assign to a person, if possible -- Link dependencies, if applicable diff --git a/Chapter03/gradflow/.github/ISSUE_TEMPLATE/spike-ticket-template.md b/Chapter03/gradflow/.github/ISSUE_TEMPLATE/spike-ticket-template.md deleted file mode 100644 index b5e2a55..0000000 --- a/Chapter03/gradflow/.github/ISSUE_TEMPLATE/spike-ticket-template.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: Spike ticket template -about: A question to be researched -title: "[TEMPLATE] Spike" -labels: Spike -assignees: '' - ---- - -**One-line summary (optional)** - -**Reason** - -**Design** - -- Include a summary as a list of questions to be answered, for the sake of clarity. - -**Acceptance Criteria** - -**Outcome** - -- Clarify the deliverables (scripts, process etc.) and documentation, where applicable. - -**Don't forget to** - -- Add appropriate labels -- Assign to a person, if possible -- Link dependencies, if applicable diff --git a/Chapter03/gradflow/.github/ISSUE_TEMPLATE/task-ticket-template.md b/Chapter03/gradflow/.github/ISSUE_TEMPLATE/task-ticket-template.md deleted file mode 100644 index 632df76..0000000 --- a/Chapter03/gradflow/.github/ISSUE_TEMPLATE/task-ticket-template.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -name: Task ticket template -about: Ad-hoc or one time jobs -title: "[TEMPLATE] Task" -labels: Task -assignees: '' - ---- - -**One-line summary (optional)** - -**Reason** - -**Design** - -**Acceptance Criteria** - -**Outcome** -- Clarify the deliverables (scripts, process etc.) and documentation, if applicable. - -**Don't forget to** - -- Add appropriate labels -- Assign to a person, if possible -- Link dependencies, if applicable diff --git a/Chapter03/gradflow/.github/pull_request_template.md b/Chapter03/gradflow/.github/pull_request_template.md deleted file mode 100644 index c67845d..0000000 --- a/Chapter03/gradflow/.github/pull_request_template.md +++ /dev/null @@ -1,30 +0,0 @@ - - -## Description - -Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). - -## Motivation and Context - - - -## How Has This Been Tested? - - - - -## Screenshots (if appropriate) - -## Types of changes - -- [ ] Bug fix (non-breaking change which fixes an issue) -- [ ] New feature (non-breaking change which adds functionality) -- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) -- [ ] Documentation (extending or improving to describe the repo) - -## Checklist - - -- [ ] The code follows the code style of this project. -- [ ] Tests for the changes have been added -- [ ] Docs have been added / updated diff --git a/Chapter03/gradflow/setup.py b/Chapter03/gradflow/setup.py index 019790a..5aa3f51 100644 --- a/Chapter03/gradflow/setup.py +++ b/Chapter03/gradflow/setup.py @@ -6,7 +6,6 @@ HERE = os.path.abspath(os.path.dirname(__file__)) EXP_DIR = "src" - def get_version(): """ Read version from __init__.py @@ -41,7 +40,6 @@ def get_long_description(): except FileNotFoundError: # not necessary, e.g. in Docker return "" - setup( name="workbench", version=get_version(), From 60b94e1d41cc06bb9731b7265f03e6edfe7e6114 Mon Sep 17 00:00:00 2001 From: webmakaka Date: Thu, 1 Sep 2022 00:57:02 +0300 Subject: [PATCH 04/30] Update MLFLOW version for Chapter 01 --- Chapter01/run.sh | 0 Chapter01/stockpred/Dockerfile | 2 +- Chapter03/gradflow/.dockerignore | 1 + Chapter03/gradflow/.travis.yml | 54 -------------------------------- 4 files changed, 2 insertions(+), 55 deletions(-) mode change 100644 => 100755 Chapter01/run.sh delete mode 100644 Chapter03/gradflow/.travis.yml diff --git a/Chapter01/run.sh b/Chapter01/run.sh old mode 100644 new mode 100755 diff --git a/Chapter01/stockpred/Dockerfile b/Chapter01/stockpred/Dockerfile index 14941a7..2afdcdb 100644 --- a/Chapter01/stockpred/Dockerfile +++ b/Chapter01/stockpred/Dockerfile @@ -1,6 +1,6 @@ FROM continuumio/miniconda3 -RUN pip install mlflow>=1.18.0 \ +RUN pip install mlflow>=1.28.0 \ && pip install numpy \ && pip install scipy \ && pip install pandas \ diff --git a/Chapter03/gradflow/.dockerignore b/Chapter03/gradflow/.dockerignore index 9dd1c5a..912b6ff 100644 --- a/Chapter03/gradflow/.dockerignore +++ b/Chapter03/gradflow/.dockerignore @@ -17,6 +17,7 @@ !requirements.*txt !setup.py !src/ +!src/workbench/__init__.py !tox.ini !.pylintrc !docker/jupyter/scripts/*.sh diff --git a/Chapter03/gradflow/.travis.yml b/Chapter03/gradflow/.travis.yml deleted file mode 100644 index 88113e0..0000000 --- a/Chapter03/gradflow/.travis.yml +++ /dev/null @@ -1,54 +0,0 @@ -language: python -os: linux -dist: bionic -jobs: - include: - - name: "docker-compose-build" - if: branch NOT IN (master, dev) # already covered by docker-compose-test - services: docker - script: make build - - name: "docker-compose-test" - if: branch IN (master, dev) - services: docker - script: - - make test - after_script: - - ls -la ./data/ # mlflow artifact & tracking data - - name: "tox" - env: TOX_PYTHON_ENV=py37 - python: 3.7 - before_install: - - pwd - - ls -la - - id - install: - - pip install -U pip - - pip install tox-travis - - pip install codecov - script: - - tox -e $TOX_PYTHON_ENV -e lint - after_success: - - codecov # submit coverage to https://codecov.io/gh/sertansenturk/workbench/ - - name: "documentation" - install: - - pip install sphinx - - pip install sphinx_rtd_theme - before_script: - - cd docs - script: - - make html SPHINXOPTS:="-nWT -b dummy" -before_install: - - pwd - - ls -la - - id - - docker --version -install: - - -before_script: - - -script: - - -after_success: - - -after_script: - - \ No newline at end of file From 29fc9522e912a67ac44613582a185808d8c0e724 Mon Sep 17 00:00:00 2001 From: webmakaka Date: Thu, 1 Sep 2022 02:17:29 +0300 Subject: [PATCH 05/30] Chapter03 runs --- Chapter03/gradflow/docker-compose.yml | 84 +++++++++++---------- Chapter03/gradflow/docker/mlflow/Dockerfile | 4 +- 2 files changed, 46 insertions(+), 42 deletions(-) diff --git a/Chapter03/gradflow/docker-compose.yml b/Chapter03/gradflow/docker-compose.yml index 135f6f3..1dafb9d 100644 --- a/Chapter03/gradflow/docker-compose.yml +++ b/Chapter03/gradflow/docker-compose.yml @@ -1,47 +1,33 @@ version: '3.7' services: - jupyter: - user: root + postgres: + user: '${POSTGRES_UID}:${POSTGRES_GID}' build: - context: . - dockerfile: ./docker/jupyter/Dockerfile - target: ${JUPYTER_TARGET} - args: - - MLFLOW_ARTIFACT_STORE=/${MLFLOW_ARTIFACT_STORE} - - MLFLOW_VERSION=${MLFLOW_VERSION} - - JUPYTER_BASE_IMAGE=${JUPYTER_BASE_IMAGE} - - JUPYTER_BASE_VERSION=${JUPYTER_BASE_VERSION} - - JUPYTER_USERNAME=${JUPYTER_USERNAME} - image: ${IMAGE_OWNER}/${REPO_SLUG}/${JUPYTER_TARGET}:${VERSION} + context: ./docker/postgres + image: ${IMAGE_OWNER}/${REPO_SLUG}/${POSTGRES_IMAGE_NAME}:${VERSION} + restart: always + environment: + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_USER: ${POSTGRES_USER} ports: - - "${JUPYTER_PORT}:${JUPYTER_PORT}" - depends_on: - - mlflow - environment: - MLFLOW_TRACKING_URI: ${MLFLOW_TRACKING_URI} - JUPYTER_ENABLE_LAB: ${JUPYTER_ENABLE_LAB} - NB_USER: ${JUPYTER_USERNAME} - NB_UID: ${JUPYTER_UID} - CHOWN_HOME: "yes" - CHOWN_HOME_OPTS: '-R' - CHOWN_EXTRA: ${JUPYTER_CHOWN_EXTRA} - CHOWN_EXTRA_OPTS: '-R' + - '${POSTGRES_PORT}:${POSTGRES_PORT}' volumes: - - ./:/home/${JUPYTER_USERNAME}/work - - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} + - ./${POSTGRES_STORE}:/var/lib/postgresql/data + mlflow: build: context: ./docker/mlflow args: - MLFLOW_VERSION=${MLFLOW_VERSION} image: ${IMAGE_OWNER}/${REPO_SLUG}/${MLFLOW_IMAGE_NAME}:${VERSION} - expose: - - "${MLFLOW_TRACKING_SERVER_PORT}" + restart: always + expose: + - '${MLFLOW_TRACKING_SERVER_PORT}' ports: - - "${MLFLOW_TRACKING_SERVER_PORT}:${MLFLOW_TRACKING_SERVER_PORT}" - depends_on: + - '${MLFLOW_TRACKING_SERVER_PORT}:${MLFLOW_TRACKING_SERVER_PORT}' + depends_on: - postgres - environment: + environment: MLFLOW_TRACKING_SERVER_HOST: ${MLFLOW_TRACKING_SERVER_HOST} MLFLOW_TRACKING_SERVER_PORT: ${MLFLOW_TRACKING_SERVER_PORT} MLFLOW_ARTIFACT_STORE: ${MLFLOW_ARTIFACT_STORE} @@ -53,16 +39,34 @@ services: WAIT_FOR_IT_TIMEOUT: ${WAIT_FOR_IT_TIMEOUT} volumes: - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} - postgres: - user: "${POSTGRES_UID}:${POSTGRES_GID}" + + jupyter: + user: root build: - context: ./docker/postgres - image: ${IMAGE_OWNER}/${REPO_SLUG}/${POSTGRES_IMAGE_NAME}:${VERSION} + context: . + dockerfile: ./docker/jupyter/Dockerfile + target: ${JUPYTER_TARGET} + args: + - MLFLOW_ARTIFACT_STORE=/${MLFLOW_ARTIFACT_STORE} + - MLFLOW_VERSION=${MLFLOW_VERSION} + - JUPYTER_BASE_IMAGE=${JUPYTER_BASE_IMAGE} + - JUPYTER_BASE_VERSION=${JUPYTER_BASE_VERSION} + - JUPYTER_USERNAME=${JUPYTER_USERNAME} + image: ${IMAGE_OWNER}/${REPO_SLUG}/${JUPYTER_TARGET}:${VERSION} restart: always - environment: - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} - POSTGRES_USER: ${POSTGRES_USER} ports: - - "${POSTGRES_PORT}:${POSTGRES_PORT}" + - '${JUPYTER_PORT}:${JUPYTER_PORT}' + depends_on: + - mlflow + environment: + MLFLOW_TRACKING_URI: ${MLFLOW_TRACKING_URI} + JUPYTER_ENABLE_LAB: ${JUPYTER_ENABLE_LAB} + NB_USER: ${JUPYTER_USERNAME} + NB_UID: ${JUPYTER_UID} + CHOWN_HOME: 'yes' + CHOWN_HOME_OPTS: '-R' + CHOWN_EXTRA: ${JUPYTER_CHOWN_EXTRA} + CHOWN_EXTRA_OPTS: '-R' volumes: - - ./${POSTGRES_STORE}:/var/lib/postgresql/data + - ./:/home/${JUPYTER_USERNAME}/work + - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} diff --git a/Chapter03/gradflow/docker/mlflow/Dockerfile b/Chapter03/gradflow/docker/mlflow/Dockerfile index d7e8c31..966a437 100644 --- a/Chapter03/gradflow/docker/mlflow/Dockerfile +++ b/Chapter03/gradflow/docker/mlflow/Dockerfile @@ -1,11 +1,11 @@ -FROM python:3.7 +FROM python:3.8.10 EXPOSE 5000 ARG MLFLOW_VERSION ARG SERVER_DIR=/server -RUN pip install mlflow==$MLFLOW_VERSION psycopg2==2.8.* && \ +RUN pip install mlflow==$MLFLOW_VERSION psycopg2==2.8.* protobuf==3.20.* && \ mkdir -p ${SERVER_DIR} COPY ./scripts/wait-for-it.sh ${SERVER_DIR}/ From ae55854fb01cec814d0d71fb738ef44b47d622d4 Mon Sep 17 00:00:00 2001 From: Marley Date: Thu, 1 Sep 2022 12:35:05 +0300 Subject: [PATCH 06/30] Update README.md --- README.md | 67 +++++-------------------------------------------------- 1 file changed, 6 insertions(+), 61 deletions(-) diff --git a/README.md b/README.md index 25d0b90..f954557 100644 --- a/README.md +++ b/README.md @@ -1,68 +1,13 @@ # Machine Learning Engineering with MLflow -Machine Learning Engineering with MLflow +
-This is the code repository for [Machine Learning Engineering with MLflow](https://www.packtpub.com/product/Machine-Learning-Engineering-with-MLflow/9781800560796?utm_source=github&utm_medium=repository&utm_campaign=9781800560796), published by Packt. +--- -**Manage the end-to-end machine learning life cycle with MLflow** +
-## What is this book about? -MLflow is a platform for the machine learning life cycle that enables structured development and iteration of machine learning models and a seamless transition into scalable production environments. - -This book will take you through the different features of MLflow and how you can implement them in your ML project. You will begin by framing an ML problem and then transform your solution with MLflow, adding a workbench environment, training infrastructure, data management, model management, experimentation, and state-of-the-art ML deployment techniques on the cloud and premises. The book also explores techniques to scale up your workflow as well as performance monitoring techniques. As you progress, you’ll discover how to create an operational dashboard to manage machine learning systems. Later, you will learn how you can use MLflow in the AutoML, anomaly detection, and deep learning context with the help of use cases. In addition to this, you will understand how to use machine learning platforms for local development as well as for cloud and managed environments. This book will also show you how to use MLflow in non-Python-based languages such as R and Java, along with covering approaches to extend MLflow with Plugins. - -By the end of this machine learning book, you will be able to produce and deploy reliable machine learning algorithms using MLflow in multiple environments. - -This book covers the following exciting features: -* Develop your machine learning project locally with MLflow’s different features -* Set up a centralized MLflow tracking server to manage multiple MLflow experiments -* Create a model life cycle with MLflow by creating custom models -* Use feature streams to log model results with MLflow -* Develop the complete training pipeline infrastructure using MLflow features -* Set up an inference-based API pipeline and batch pipeline in MLflow -* Scale large volumes of data by integrating MLflow with high-performance big data libraries - -If you feel this book is for you, get your [copy](https://www.amazon.com/dp/1800560796) today! - -https://www.packtpub.com/ - -## Instructions and Navigations -All of the code is organized into folders. - -The code will look like the following: -``` -import mlflow -from sklearn.linear_model import LogisticRegression -mlflow.sklearn.autolog() -with mlflow.start_run(): - clf = LogisticRegression() - clf.fit(X_train, y_train) - -``` - -**Following is what you need for this book:** - -This book is geared toward software, machine learning, and data science professionals or enthusiasts who want to explore the engineering side of machine learning systems in production. Machine learning practitioners will be able to put their knowledge to work with this practical guide to MLflow. The book takes a hands-on approach to implementation and associated methodologies that will have you up and running with MLflow in no time. The basic requirements for this book are experience in Python programming and knowledge of the Bash terminal and commands. - -Ideally, before getting started with the book, you should have a good grasp of the Python programming language and should have already created basic machine learning models. One introductory course in machine learning will help contextualize the concepts discussed in the book. - -With the following software and hardware list you can run all code files present in the book (Chapter 1 - 12). - -### Software and Hardware List - -| Chapter | Software required | OS required | -| -------- | -------------------------------------------------------------------------------------| -----------------------------------| -| 1 - 12 | Python 3.7+ (MLflow 1.18), Docker | Windows, Mac OS X, and Linux (Any) | - -We also provide a PDF file that has color images of the screenshots/diagrams used in this book. [Click here to download it]( https://static.packt-cdn.com/downloads/9781800560796_ColorImages.pdf). - - -### Related products -* Automated Machine Learning with AutoKeras [[Packt]](https://www.packtpub.com/product/automated-machine-learning-with-autokeras/9781800567641) [[Amazon]](https://www.amazon.com/dp/B08ZT2SP4J) - -* Distributed Data Systems with Azure Databricks [[Packt]](https://www.packtpub.com/product/distributed-data-systems-with-azure-databricks/9781838647216) [[Amazon]](https://www.amazon.com/dp/183864721X) - -## Get to Know the Author -**Natu Lauchande** is a principal data engineer in the fi ntech space currently tackling problems at the intersection of machine learning, data engineering, and distributed systems. He has worked in diverse industries, including biomedical/pharma research, cloud, fi ntech, and e-commerce/mobile. Along the way, he had the opportunity to be granted a patent (as co-inventor) in distributed systems, publish in a top academic journal, and contribute to open source soft ware. He has also been very active as a speaker at machine learning/tech conferences and meetups. +**Marley** +Запуск примеров разбирался здесь +Любые вопросы на русском: Телеграм чат From 3b938e3163549de40398b567ef4da1b6a2a8bc5a Mon Sep 17 00:00:00 2001 From: webmakaka Date: Thu, 1 Sep 2022 12:39:58 +0300 Subject: [PATCH 07/30] Before we start working with Chapter04 --- Chapter04/gradflow/.dockerignore | 1 + Chapter04/gradflow/.travis.yml | 54 ------------------ Chapter04/gradflow/docker-compose.yml | 82 ++++++++++++++------------- LICENSE | 21 ------- README.md => Readme.md | 0 5 files changed, 43 insertions(+), 115 deletions(-) delete mode 100644 Chapter04/gradflow/.travis.yml delete mode 100644 LICENSE rename README.md => Readme.md (100%) diff --git a/Chapter04/gradflow/.dockerignore b/Chapter04/gradflow/.dockerignore index 9dd1c5a..912b6ff 100644 --- a/Chapter04/gradflow/.dockerignore +++ b/Chapter04/gradflow/.dockerignore @@ -17,6 +17,7 @@ !requirements.*txt !setup.py !src/ +!src/workbench/__init__.py !tox.ini !.pylintrc !docker/jupyter/scripts/*.sh diff --git a/Chapter04/gradflow/.travis.yml b/Chapter04/gradflow/.travis.yml deleted file mode 100644 index 88113e0..0000000 --- a/Chapter04/gradflow/.travis.yml +++ /dev/null @@ -1,54 +0,0 @@ -language: python -os: linux -dist: bionic -jobs: - include: - - name: "docker-compose-build" - if: branch NOT IN (master, dev) # already covered by docker-compose-test - services: docker - script: make build - - name: "docker-compose-test" - if: branch IN (master, dev) - services: docker - script: - - make test - after_script: - - ls -la ./data/ # mlflow artifact & tracking data - - name: "tox" - env: TOX_PYTHON_ENV=py37 - python: 3.7 - before_install: - - pwd - - ls -la - - id - install: - - pip install -U pip - - pip install tox-travis - - pip install codecov - script: - - tox -e $TOX_PYTHON_ENV -e lint - after_success: - - codecov # submit coverage to https://codecov.io/gh/sertansenturk/workbench/ - - name: "documentation" - install: - - pip install sphinx - - pip install sphinx_rtd_theme - before_script: - - cd docs - script: - - make html SPHINXOPTS:="-nWT -b dummy" -before_install: - - pwd - - ls -la - - id - - docker --version -install: - - -before_script: - - -script: - - -after_success: - - -after_script: - - \ No newline at end of file diff --git a/Chapter04/gradflow/docker-compose.yml b/Chapter04/gradflow/docker-compose.yml index 135f6f3..4d9d0c5 100644 --- a/Chapter04/gradflow/docker-compose.yml +++ b/Chapter04/gradflow/docker-compose.yml @@ -1,47 +1,32 @@ version: '3.7' services: - jupyter: - user: root + postgres: + user: '${POSTGRES_UID}:${POSTGRES_GID}' build: - context: . - dockerfile: ./docker/jupyter/Dockerfile - target: ${JUPYTER_TARGET} - args: - - MLFLOW_ARTIFACT_STORE=/${MLFLOW_ARTIFACT_STORE} - - MLFLOW_VERSION=${MLFLOW_VERSION} - - JUPYTER_BASE_IMAGE=${JUPYTER_BASE_IMAGE} - - JUPYTER_BASE_VERSION=${JUPYTER_BASE_VERSION} - - JUPYTER_USERNAME=${JUPYTER_USERNAME} - image: ${IMAGE_OWNER}/${REPO_SLUG}/${JUPYTER_TARGET}:${VERSION} + context: ./docker/postgres + image: ${IMAGE_OWNER}/${REPO_SLUG}/${POSTGRES_IMAGE_NAME}:${VERSION} + restart: always + environment: + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_USER: ${POSTGRES_USER} ports: - - "${JUPYTER_PORT}:${JUPYTER_PORT}" - depends_on: - - mlflow - environment: - MLFLOW_TRACKING_URI: ${MLFLOW_TRACKING_URI} - JUPYTER_ENABLE_LAB: ${JUPYTER_ENABLE_LAB} - NB_USER: ${JUPYTER_USERNAME} - NB_UID: ${JUPYTER_UID} - CHOWN_HOME: "yes" - CHOWN_HOME_OPTS: '-R' - CHOWN_EXTRA: ${JUPYTER_CHOWN_EXTRA} - CHOWN_EXTRA_OPTS: '-R' + - '${POSTGRES_PORT}:${POSTGRES_PORT}' volumes: - - ./:/home/${JUPYTER_USERNAME}/work - - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} + - ./${POSTGRES_STORE}:/var/lib/postgresql/data mlflow: build: context: ./docker/mlflow args: - MLFLOW_VERSION=${MLFLOW_VERSION} image: ${IMAGE_OWNER}/${REPO_SLUG}/${MLFLOW_IMAGE_NAME}:${VERSION} - expose: - - "${MLFLOW_TRACKING_SERVER_PORT}" + restart: always + expose: + - '${MLFLOW_TRACKING_SERVER_PORT}' ports: - - "${MLFLOW_TRACKING_SERVER_PORT}:${MLFLOW_TRACKING_SERVER_PORT}" - depends_on: + - '${MLFLOW_TRACKING_SERVER_PORT}:${MLFLOW_TRACKING_SERVER_PORT}' + depends_on: - postgres - environment: + environment: MLFLOW_TRACKING_SERVER_HOST: ${MLFLOW_TRACKING_SERVER_HOST} MLFLOW_TRACKING_SERVER_PORT: ${MLFLOW_TRACKING_SERVER_PORT} MLFLOW_ARTIFACT_STORE: ${MLFLOW_ARTIFACT_STORE} @@ -53,16 +38,33 @@ services: WAIT_FOR_IT_TIMEOUT: ${WAIT_FOR_IT_TIMEOUT} volumes: - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} - postgres: - user: "${POSTGRES_UID}:${POSTGRES_GID}" + jupyter: + user: root build: - context: ./docker/postgres - image: ${IMAGE_OWNER}/${REPO_SLUG}/${POSTGRES_IMAGE_NAME}:${VERSION} + context: . + dockerfile: ./docker/jupyter/Dockerfile + target: ${JUPYTER_TARGET} + args: + - MLFLOW_ARTIFACT_STORE=/${MLFLOW_ARTIFACT_STORE} + - MLFLOW_VERSION=${MLFLOW_VERSION} + - JUPYTER_BASE_IMAGE=${JUPYTER_BASE_IMAGE} + - JUPYTER_BASE_VERSION=${JUPYTER_BASE_VERSION} + - JUPYTER_USERNAME=${JUPYTER_USERNAME} + image: ${IMAGE_OWNER}/${REPO_SLUG}/${JUPYTER_TARGET}:${VERSION} restart: always - environment: - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} - POSTGRES_USER: ${POSTGRES_USER} ports: - - "${POSTGRES_PORT}:${POSTGRES_PORT}" + - '${JUPYTER_PORT}:${JUPYTER_PORT}' + depends_on: + - mlflow + environment: + MLFLOW_TRACKING_URI: ${MLFLOW_TRACKING_URI} + JUPYTER_ENABLE_LAB: ${JUPYTER_ENABLE_LAB} + NB_USER: ${JUPYTER_USERNAME} + NB_UID: ${JUPYTER_UID} + CHOWN_HOME: 'yes' + CHOWN_HOME_OPTS: '-R' + CHOWN_EXTRA: ${JUPYTER_CHOWN_EXTRA} + CHOWN_EXTRA_OPTS: '-R' volumes: - - ./${POSTGRES_STORE}:/var/lib/postgresql/data + - ./:/home/${JUPYTER_USERNAME}/work + - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 82bafc1..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2020 Packt - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/Readme.md similarity index 100% rename from README.md rename to Readme.md From a5c312246ad5e39136c5930e3ab52fb2bf8621c0 Mon Sep 17 00:00:00 2001 From: Marley Date: Thu, 1 Sep 2022 16:53:12 +0300 Subject: [PATCH 08/30] Update retrieve_training_data.ipynb --- .../gradflow/notebooks/retrieve_training_data.ipynb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Chapter04/gradflow/notebooks/retrieve_training_data.ipynb b/Chapter04/gradflow/notebooks/retrieve_training_data.ipynb index f599a9d..beb76ad 100644 --- a/Chapter04/gradflow/notebooks/retrieve_training_data.ipynb +++ b/Chapter04/gradflow/notebooks/retrieve_training_data.ipynb @@ -440,12 +440,12 @@ "outputs": [], "source": [ "lr = LogisticRegression()\n", - " lr.fit(X,Y)\n", - " score = lr.score(X, y)\n", - " print(\"Score: %s\" % score)\n", - " mlflow.log_metric(\"score\", score)\n", - " mlflow.sklearn.log_model(lr, \"model\")\n", - " print(\"Model saved in run %s\" % mlflow.active_run().info.run_uuid)\n" + "lr.fit(X,Y)\n", + "score = lr.score(X, Y)\n", + "print(\"Score: %s\" % score)\n", + "mlflow.log_metric(\"score\", score)\n", + "mlflow.sklearn.log_model(lr, \"model\")\n", + "print(\"Model saved in run %s\" % mlflow.active_run().info.run_uuid)\n" ] }, { From 03a7c928c05a037843ec7addf9e5661b0301598f Mon Sep 17 00:00:00 2001 From: Marley Date: Thu, 1 Sep 2022 19:48:33 +0300 Subject: [PATCH 09/30] Update requirements.txt --- Chapter04/gradflow/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chapter04/gradflow/requirements.txt b/Chapter04/gradflow/requirements.txt index 0dc4d7d..520925c 100644 --- a/Chapter04/gradflow/requirements.txt +++ b/Chapter04/gradflow/requirements.txt @@ -1,5 +1,5 @@ -xgboost -tensorflow +xgboost==1.4.2 +tensorflow==2.5.1 pandas-datareader hyperopt From b95c1b97d8a86c1aec1cd0c4a05c55b888f19c10 Mon Sep 17 00:00:00 2001 From: Marley Date: Thu, 1 Sep 2022 20:03:48 +0300 Subject: [PATCH 10/30] Update Dockerfile --- Chapter04/gradflow/docker/mlflow/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter04/gradflow/docker/mlflow/Dockerfile b/Chapter04/gradflow/docker/mlflow/Dockerfile index d7e8c31..bf2f784 100644 --- a/Chapter04/gradflow/docker/mlflow/Dockerfile +++ b/Chapter04/gradflow/docker/mlflow/Dockerfile @@ -5,7 +5,7 @@ EXPOSE 5000 ARG MLFLOW_VERSION ARG SERVER_DIR=/server -RUN pip install mlflow==$MLFLOW_VERSION psycopg2==2.8.* && \ +RUN pip install mlflow==$MLFLOW_VERSION psycopg2==2.8.* protobuf==3.20.* && \ mkdir -p ${SERVER_DIR} COPY ./scripts/wait-for-it.sh ${SERVER_DIR}/ From 008fc88e14c93037ece38876c03a686ef6b69b12 Mon Sep 17 00:00:00 2001 From: Marley Date: Thu, 1 Sep 2022 22:04:57 +0300 Subject: [PATCH 11/30] Update requirements.txt --- Chapter04/gradflow/requirements.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Chapter04/gradflow/requirements.txt b/Chapter04/gradflow/requirements.txt index 520925c..28e6b9f 100644 --- a/Chapter04/gradflow/requirements.txt +++ b/Chapter04/gradflow/requirements.txt @@ -1,5 +1,4 @@ xgboost==1.4.2 tensorflow==2.5.1 -pandas-datareader -hyperopt - +pandas-datareader==0.10.0 +hyperopt==0.2.7 From eb3111048e469c022ca50b8537d85202ecf96dd3 Mon Sep 17 00:00:00 2001 From: Marley Date: Thu, 1 Sep 2022 22:05:59 +0300 Subject: [PATCH 12/30] Update requirements.txt --- Chapter05/gradflow/requirements.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Chapter05/gradflow/requirements.txt b/Chapter05/gradflow/requirements.txt index 0dc4d7d..28e6b9f 100644 --- a/Chapter05/gradflow/requirements.txt +++ b/Chapter05/gradflow/requirements.txt @@ -1,5 +1,4 @@ -xgboost -tensorflow -pandas-datareader -hyperopt - +xgboost==1.4.2 +tensorflow==2.5.1 +pandas-datareader==0.10.0 +hyperopt==0.2.7 From bbc929e66ce3ee3fa3a60944cfeb0ad617f0a938 Mon Sep 17 00:00:00 2001 From: webmakaka Date: Sat, 3 Sep 2022 16:09:23 +0300 Subject: [PATCH 13/30] Update package versions --- Chapter03/gradflow/Makefile | 4 - Chapter03/gradflow/requirements.txt | 2 +- Chapter04/gradflow/Makefile | 4 - Chapter05/gradflow/.travis.yml | 54 -------------- Chapter05/gradflow/Makefile | 3 - Chapter05/gradflow/docker-compose.yml | 82 ++++++++++----------- Chapter05/gradflow/docker/mlflow/Dockerfile | 2 +- 7 files changed, 43 insertions(+), 108 deletions(-) delete mode 100644 Chapter05/gradflow/.travis.yml diff --git a/Chapter03/gradflow/Makefile b/Chapter03/gradflow/Makefile index cf76eff..70976f2 100644 --- a/Chapter03/gradflow/Makefile +++ b/Chapter03/gradflow/Makefile @@ -53,10 +53,6 @@ JUPYTER_USERNAME := $(shell id -u -n) POSTGRES_UID := $(shell id -u) POSTGRES_GID := $(shell id -g) -TRAVIS_JOB = -TRAVIS_TOKEN = - - default: clean build up lab: default diff --git a/Chapter03/gradflow/requirements.txt b/Chapter03/gradflow/requirements.txt index cc1a334..39b2678 100644 --- a/Chapter03/gradflow/requirements.txt +++ b/Chapter03/gradflow/requirements.txt @@ -1 +1 @@ -pandas-datareader +pandas-datareader==0.10.0 diff --git a/Chapter04/gradflow/Makefile b/Chapter04/gradflow/Makefile index cf76eff..70976f2 100644 --- a/Chapter04/gradflow/Makefile +++ b/Chapter04/gradflow/Makefile @@ -53,10 +53,6 @@ JUPYTER_USERNAME := $(shell id -u -n) POSTGRES_UID := $(shell id -u) POSTGRES_GID := $(shell id -g) -TRAVIS_JOB = -TRAVIS_TOKEN = - - default: clean build up lab: default diff --git a/Chapter05/gradflow/.travis.yml b/Chapter05/gradflow/.travis.yml deleted file mode 100644 index 88113e0..0000000 --- a/Chapter05/gradflow/.travis.yml +++ /dev/null @@ -1,54 +0,0 @@ -language: python -os: linux -dist: bionic -jobs: - include: - - name: "docker-compose-build" - if: branch NOT IN (master, dev) # already covered by docker-compose-test - services: docker - script: make build - - name: "docker-compose-test" - if: branch IN (master, dev) - services: docker - script: - - make test - after_script: - - ls -la ./data/ # mlflow artifact & tracking data - - name: "tox" - env: TOX_PYTHON_ENV=py37 - python: 3.7 - before_install: - - pwd - - ls -la - - id - install: - - pip install -U pip - - pip install tox-travis - - pip install codecov - script: - - tox -e $TOX_PYTHON_ENV -e lint - after_success: - - codecov # submit coverage to https://codecov.io/gh/sertansenturk/workbench/ - - name: "documentation" - install: - - pip install sphinx - - pip install sphinx_rtd_theme - before_script: - - cd docs - script: - - make html SPHINXOPTS:="-nWT -b dummy" -before_install: - - pwd - - ls -la - - id - - docker --version -install: - - -before_script: - - -script: - - -after_success: - - -after_script: - - \ No newline at end of file diff --git a/Chapter05/gradflow/Makefile b/Chapter05/gradflow/Makefile index cf76eff..2fb7d79 100644 --- a/Chapter05/gradflow/Makefile +++ b/Chapter05/gradflow/Makefile @@ -53,9 +53,6 @@ JUPYTER_USERNAME := $(shell id -u -n) POSTGRES_UID := $(shell id -u) POSTGRES_GID := $(shell id -g) -TRAVIS_JOB = -TRAVIS_TOKEN = - default: clean build up lab: default diff --git a/Chapter05/gradflow/docker-compose.yml b/Chapter05/gradflow/docker-compose.yml index 135f6f3..9a9a560 100644 --- a/Chapter05/gradflow/docker-compose.yml +++ b/Chapter05/gradflow/docker-compose.yml @@ -1,47 +1,31 @@ version: '3.7' services: - jupyter: - user: root + postgres: + user: '${POSTGRES_UID}:${POSTGRES_GID}' build: - context: . - dockerfile: ./docker/jupyter/Dockerfile - target: ${JUPYTER_TARGET} - args: - - MLFLOW_ARTIFACT_STORE=/${MLFLOW_ARTIFACT_STORE} - - MLFLOW_VERSION=${MLFLOW_VERSION} - - JUPYTER_BASE_IMAGE=${JUPYTER_BASE_IMAGE} - - JUPYTER_BASE_VERSION=${JUPYTER_BASE_VERSION} - - JUPYTER_USERNAME=${JUPYTER_USERNAME} - image: ${IMAGE_OWNER}/${REPO_SLUG}/${JUPYTER_TARGET}:${VERSION} + context: ./docker/postgres + image: ${IMAGE_OWNER}/${REPO_SLUG}/${POSTGRES_IMAGE_NAME}:${VERSION} + restart: always + environment: + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_USER: ${POSTGRES_USER} ports: - - "${JUPYTER_PORT}:${JUPYTER_PORT}" - depends_on: - - mlflow - environment: - MLFLOW_TRACKING_URI: ${MLFLOW_TRACKING_URI} - JUPYTER_ENABLE_LAB: ${JUPYTER_ENABLE_LAB} - NB_USER: ${JUPYTER_USERNAME} - NB_UID: ${JUPYTER_UID} - CHOWN_HOME: "yes" - CHOWN_HOME_OPTS: '-R' - CHOWN_EXTRA: ${JUPYTER_CHOWN_EXTRA} - CHOWN_EXTRA_OPTS: '-R' + - '${POSTGRES_PORT}:${POSTGRES_PORT}' volumes: - - ./:/home/${JUPYTER_USERNAME}/work - - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} + - ./${POSTGRES_STORE}:/var/lib/postgresql/data mlflow: build: context: ./docker/mlflow args: - MLFLOW_VERSION=${MLFLOW_VERSION} image: ${IMAGE_OWNER}/${REPO_SLUG}/${MLFLOW_IMAGE_NAME}:${VERSION} - expose: - - "${MLFLOW_TRACKING_SERVER_PORT}" + expose: + - '${MLFLOW_TRACKING_SERVER_PORT}' ports: - - "${MLFLOW_TRACKING_SERVER_PORT}:${MLFLOW_TRACKING_SERVER_PORT}" - depends_on: + - '${MLFLOW_TRACKING_SERVER_PORT}:${MLFLOW_TRACKING_SERVER_PORT}' + depends_on: - postgres - environment: + environment: MLFLOW_TRACKING_SERVER_HOST: ${MLFLOW_TRACKING_SERVER_HOST} MLFLOW_TRACKING_SERVER_PORT: ${MLFLOW_TRACKING_SERVER_PORT} MLFLOW_ARTIFACT_STORE: ${MLFLOW_ARTIFACT_STORE} @@ -53,16 +37,32 @@ services: WAIT_FOR_IT_TIMEOUT: ${WAIT_FOR_IT_TIMEOUT} volumes: - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} - postgres: - user: "${POSTGRES_UID}:${POSTGRES_GID}" + jupyter: + user: root build: - context: ./docker/postgres - image: ${IMAGE_OWNER}/${REPO_SLUG}/${POSTGRES_IMAGE_NAME}:${VERSION} - restart: always - environment: - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} - POSTGRES_USER: ${POSTGRES_USER} + context: . + dockerfile: ./docker/jupyter/Dockerfile + target: ${JUPYTER_TARGET} + args: + - MLFLOW_ARTIFACT_STORE=/${MLFLOW_ARTIFACT_STORE} + - MLFLOW_VERSION=${MLFLOW_VERSION} + - JUPYTER_BASE_IMAGE=${JUPYTER_BASE_IMAGE} + - JUPYTER_BASE_VERSION=${JUPYTER_BASE_VERSION} + - JUPYTER_USERNAME=${JUPYTER_USERNAME} + image: ${IMAGE_OWNER}/${REPO_SLUG}/${JUPYTER_TARGET}:${VERSION} ports: - - "${POSTGRES_PORT}:${POSTGRES_PORT}" + - '${JUPYTER_PORT}:${JUPYTER_PORT}' + depends_on: + - mlflow + environment: + MLFLOW_TRACKING_URI: ${MLFLOW_TRACKING_URI} + JUPYTER_ENABLE_LAB: ${JUPYTER_ENABLE_LAB} + NB_USER: ${JUPYTER_USERNAME} + NB_UID: ${JUPYTER_UID} + CHOWN_HOME: 'yes' + CHOWN_HOME_OPTS: '-R' + CHOWN_EXTRA: ${JUPYTER_CHOWN_EXTRA} + CHOWN_EXTRA_OPTS: '-R' volumes: - - ./${POSTGRES_STORE}:/var/lib/postgresql/data + - ./:/home/${JUPYTER_USERNAME}/work + - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} diff --git a/Chapter05/gradflow/docker/mlflow/Dockerfile b/Chapter05/gradflow/docker/mlflow/Dockerfile index d7e8c31..bf2f784 100644 --- a/Chapter05/gradflow/docker/mlflow/Dockerfile +++ b/Chapter05/gradflow/docker/mlflow/Dockerfile @@ -5,7 +5,7 @@ EXPOSE 5000 ARG MLFLOW_VERSION ARG SERVER_DIR=/server -RUN pip install mlflow==$MLFLOW_VERSION psycopg2==2.8.* && \ +RUN pip install mlflow==$MLFLOW_VERSION psycopg2==2.8.* protobuf==3.20.* && \ mkdir -p ${SERVER_DIR} COPY ./scripts/wait-for-it.sh ${SERVER_DIR}/ From 3b2b1cafbca984354659ea14c72b6a0282f5679a Mon Sep 17 00:00:00 2001 From: Marley Date: Sat, 3 Sep 2022 19:36:08 +0300 Subject: [PATCH 14/30] Update .dockerignore --- Chapter05/gradflow/.dockerignore | 1 + 1 file changed, 1 insertion(+) diff --git a/Chapter05/gradflow/.dockerignore b/Chapter05/gradflow/.dockerignore index 9dd1c5a..912b6ff 100644 --- a/Chapter05/gradflow/.dockerignore +++ b/Chapter05/gradflow/.dockerignore @@ -17,6 +17,7 @@ !requirements.*txt !setup.py !src/ +!src/workbench/__init__.py !tox.ini !.pylintrc !docker/jupyter/scripts/*.sh From aad3a60e5624ca9c01842594447e4a46bf483e12 Mon Sep 17 00:00:00 2001 From: Marley Date: Sun, 4 Sep 2022 00:14:25 +0300 Subject: [PATCH 15/30] Update requirements.txt --- Chapter05/gradflow/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter05/gradflow/requirements.txt b/Chapter05/gradflow/requirements.txt index 28e6b9f..e7b0105 100644 --- a/Chapter05/gradflow/requirements.txt +++ b/Chapter05/gradflow/requirements.txt @@ -1,4 +1,4 @@ xgboost==1.4.2 -tensorflow==2.5.1 +tensorflow==2.9.2 pandas-datareader==0.10.0 hyperopt==0.2.7 From 13b8652d33c4eefd8f480b933fb0ea23a5c9ed87 Mon Sep 17 00:00:00 2001 From: Marley Date: Sun, 4 Sep 2022 00:18:36 +0300 Subject: [PATCH 16/30] Update mlflow_run_keras.ipynb --- Chapter05/gradflow/notebooks/mlflow_run_keras.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter05/gradflow/notebooks/mlflow_run_keras.ipynb b/Chapter05/gradflow/notebooks/mlflow_run_keras.ipynb index d8177ed..fb0822e 100644 --- a/Chapter05/gradflow/notebooks/mlflow_run_keras.ipynb +++ b/Chapter05/gradflow/notebooks/mlflow_run_keras.ipynb @@ -103,7 +103,7 @@ ")\n", "\n", "with mlflow.start_run(run_name='keras_model_baseline') as run:\n", - " model.fit(X_train, y_train, epochs=20, validation_split=0.05, shuffle=True,verbose=)\n" + " model.fit(X_train, y_train, epochs=20, validation_split=0.05, shuffle=True,verbose='1')\n" ] }, { From eb36c567956cba549907df0f7dbd714209aa8d17 Mon Sep 17 00:00:00 2001 From: Marley Date: Fri, 9 Sep 2022 18:21:32 +0300 Subject: [PATCH 17/30] Update conda.yaml --- Chapter07/psystock-data-features-main/conda.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Chapter07/psystock-data-features-main/conda.yaml b/Chapter07/psystock-data-features-main/conda.yaml index 830c2cc..92146a5 100644 --- a/Chapter07/psystock-data-features-main/conda.yaml +++ b/Chapter07/psystock-data-features-main/conda.yaml @@ -8,7 +8,8 @@ dependencies: - pandas - cloudpickle - pip: - - git+git://github.com/mlflow/mlflow - - pandas_datareader + - git+https://github.com/mlflow/mlflow.git + - pandas_datareader==0.10.0 - great-expectations==0.13.15 - - pandas-profiling \ No newline at end of file + - pandas-profiling==3.3.0 + - jinja2==3.0.3 From 486cb5b150412057e84a2fdca1775562fd89eedf Mon Sep 17 00:00:00 2001 From: Marley Date: Fri, 9 Sep 2022 18:24:38 +0300 Subject: [PATCH 18/30] Update feature_set_generation.py --- .../psystock-data-features-main/feature_set_generation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chapter07/psystock-data-features-main/feature_set_generation.py b/Chapter07/psystock-data-features-main/feature_set_generation.py index f13fdfc..435c3d2 100644 --- a/Chapter07/psystock-data-features-main/feature_set_generation.py +++ b/Chapter07/psystock-data-features-main/feature_set_generation.py @@ -27,7 +27,7 @@ def rolling_window(a, window): mlflow.set_tag("mlflow.runName", "feature_set_generation") - raise Exception('x should not exceed 5. The value of x was: {}'.format(x)) + # raise Exception('x should not exceed 5. The value of x was: {}'.format(x)) btc_df = pd.read_csv("data/staging/data.csv") @@ -41,4 +41,4 @@ def rolling_window(a, window): training_data = rolling_window(element, WINDOW_SIZE) - pd.DataFrame(training_data).to_csv("data/training/data.csv") \ No newline at end of file + pd.DataFrame(training_data).to_csv("data/training/data.csv") From adaef5853d18a417ef33ca988d245462e09c4d44 Mon Sep 17 00:00:00 2001 From: Marley Date: Fri, 9 Sep 2022 18:48:48 +0300 Subject: [PATCH 19/30] Update conda.yaml --- Chapter08/psystock-training/conda.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Chapter08/psystock-training/conda.yaml b/Chapter08/psystock-training/conda.yaml index 8c03027..c6b1448 100644 --- a/Chapter08/psystock-training/conda.yaml +++ b/Chapter08/psystock-training/conda.yaml @@ -8,9 +8,10 @@ dependencies: - pandas - cloudpickle - pip: - - git+git://github.com/mlflow/mlflow + - git+https://github.com/mlflow/mlflow.git - sklearn - - pandas_datareader + - pandas_datareader==0.10.0 - great-expectations==0.13.15 - - pandas-profiling - - xgboost \ No newline at end of file + - pandas-profiling==3.3.0 + - jinja2==3.0.3 + - xgboost From 61778f3584816d3378f017e1efa82520b46ea8c9 Mon Sep 17 00:00:00 2001 From: Marley Date: Sat, 10 Sep 2022 05:50:09 +0300 Subject: [PATCH 20/30] Update Dockerfile --- Chapter08/psystock-training-docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter08/psystock-training-docker/Dockerfile b/Chapter08/psystock-training-docker/Dockerfile index b0a9d5e..f03e8e2 100644 --- a/Chapter08/psystock-training-docker/Dockerfile +++ b/Chapter08/psystock-training-docker/Dockerfile @@ -1,6 +1,6 @@ FROM continuumio/miniconda3:4.9.2 -RUN apt-get update && apt-get install build-essential -y +RUN apt-get --allow-releaseinfo-change update && apt-get install build-essential -y RUN pip install \ mlflow==1.18.0 \ From 8dbf1b74f7d4d23e38b7854e2e59b6f8d3377da5 Mon Sep 17 00:00:00 2001 From: Marley Date: Sat, 10 Sep 2022 06:26:22 +0300 Subject: [PATCH 21/30] Update .dockerignore --- Chapter08/gradflow/.dockerignore | 1 + 1 file changed, 1 insertion(+) diff --git a/Chapter08/gradflow/.dockerignore b/Chapter08/gradflow/.dockerignore index 9dd1c5a..912b6ff 100644 --- a/Chapter08/gradflow/.dockerignore +++ b/Chapter08/gradflow/.dockerignore @@ -17,6 +17,7 @@ !requirements.*txt !setup.py !src/ +!src/workbench/__init__.py !tox.ini !.pylintrc !docker/jupyter/scripts/*.sh From b566b16a128a657f94e60587ed7db7bdfc24a07e Mon Sep 17 00:00:00 2001 From: Marley Date: Mon, 12 Sep 2022 01:43:53 +0300 Subject: [PATCH 22/30] Update Dockerfile --- Chapter09/psystock-inference-batch/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Chapter09/psystock-inference-batch/Dockerfile b/Chapter09/psystock-inference-batch/Dockerfile index 2bbd46b..e8e65e1 100644 --- a/Chapter09/psystock-inference-batch/Dockerfile +++ b/Chapter09/psystock-inference-batch/Dockerfile @@ -1,14 +1,12 @@ FROM continuumio/miniconda3 -WORKDIR /batch-scoring/ - -RUN pip install mlflow==1.16.0 +RUN pip install mlflow==1.16.0 pandas==1.2.4 protobuf==3.20.* -RUN pip install pandas==1.2.4 +WORKDIR /batch-scoring/ COPY batch_scoring.py /batch-scoring/ COPY MLproject /batch-scoring/ ENV MLFLOW_TRACKING_URI=http://localhost:5000 -ENTRYPOINT ["mlflow run . --no-conda"] +ENTRYPOINT ["mlflow", "run. ", "--no-conda"] From 8a892e8b554011fe71a91af3569a2ddb24415a74 Mon Sep 17 00:00:00 2001 From: Marley Date: Mon, 12 Sep 2022 01:44:14 +0300 Subject: [PATCH 23/30] Update Dockerfile --- Chapter09/psystock-inference-batch/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter09/psystock-inference-batch/Dockerfile b/Chapter09/psystock-inference-batch/Dockerfile index e8e65e1..4d83f35 100644 --- a/Chapter09/psystock-inference-batch/Dockerfile +++ b/Chapter09/psystock-inference-batch/Dockerfile @@ -9,4 +9,4 @@ COPY MLproject /batch-scoring/ ENV MLFLOW_TRACKING_URI=http://localhost:5000 -ENTRYPOINT ["mlflow", "run. ", "--no-conda"] +ENTRYPOINT ["mlflow", "run . ", "--no-conda"] From 04c3ce4b5a71793ed04a543dd01053a51c699e5a Mon Sep 17 00:00:00 2001 From: Marley Date: Mon, 12 Sep 2022 01:47:09 +0300 Subject: [PATCH 24/30] Update Dockerfile --- Chapter09/psystock-inference-batch/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter09/psystock-inference-batch/Dockerfile b/Chapter09/psystock-inference-batch/Dockerfile index 4d83f35..3dfa68e 100644 --- a/Chapter09/psystock-inference-batch/Dockerfile +++ b/Chapter09/psystock-inference-batch/Dockerfile @@ -9,4 +9,4 @@ COPY MLproject /batch-scoring/ ENV MLFLOW_TRACKING_URI=http://localhost:5000 -ENTRYPOINT ["mlflow", "run . ", "--no-conda"] +ENTRYPOINT ["mlflow", "run", ".", "--no-conda"] From dac198c2c8865c1adf746a5896d4338bbd78a0ee Mon Sep 17 00:00:00 2001 From: Marley Date: Mon, 12 Sep 2022 02:27:09 +0300 Subject: [PATCH 25/30] Update Dockerfile --- Chapter09/psystock-inference-batch/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Chapter09/psystock-inference-batch/Dockerfile b/Chapter09/psystock-inference-batch/Dockerfile index 3dfa68e..800b598 100644 --- a/Chapter09/psystock-inference-batch/Dockerfile +++ b/Chapter09/psystock-inference-batch/Dockerfile @@ -4,6 +4,7 @@ RUN pip install mlflow==1.16.0 pandas==1.2.4 protobuf==3.20.* WORKDIR /batch-scoring/ +COPY ./data /batch-scoring/data COPY batch_scoring.py /batch-scoring/ COPY MLproject /batch-scoring/ From 397c6d6c7db44bb4e25cd4a05501dad5a4d9b291 Mon Sep 17 00:00:00 2001 From: webmakaka Date: Mon, 12 Sep 2022 03:20:48 +0300 Subject: [PATCH 26/30] remove files --- Chapter09/Makefile | 3 --- Chapter09/gradflow/Makefile | 4 ++-- .../artifacts/feature_importance_weight.json | 1 - .../artifacts/feature_importance_weight.png | Bin 16526 -> 0 bytes .../artifacts/model/MLmodel | 20 ------------------ .../artifacts/model/conda.yaml | 10 --------- .../artifacts/model/model.xgb | Bin 16504 -> 0 bytes Chapter09/mlflow_db | Bin 118784 -> 0 bytes .../artifacts/feature_importance_weight.json | 1 - .../artifacts/feature_importance_weight.png | Bin 16526 -> 0 bytes .../artifacts/model/MLmodel | 20 ------------------ .../artifacts/model/conda.yaml | 10 --------- .../artifacts/model/model.xgb | Bin 16504 -> 0 bytes 13 files changed, 2 insertions(+), 67 deletions(-) delete mode 100644 Chapter09/Makefile delete mode 100644 Chapter09/gradflow/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.json delete mode 100644 Chapter09/gradflow/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.png delete mode 100644 Chapter09/gradflow/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/model/MLmodel delete mode 100644 Chapter09/gradflow/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/model/conda.yaml delete mode 100644 Chapter09/gradflow/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/model/model.xgb delete mode 100644 Chapter09/mlflow_db delete mode 100644 Chapter09/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.json delete mode 100644 Chapter09/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.png delete mode 100644 Chapter09/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/model/MLmodel delete mode 100644 Chapter09/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/model/conda.yaml delete mode 100644 Chapter09/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/model/model.xgb diff --git a/Chapter09/Makefile b/Chapter09/Makefile deleted file mode 100644 index 01cd88c..0000000 --- a/Chapter09/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -gradflow-light: - mlflow server --backend-store-uri sqlite:///mlflow_db --default-artifact-root ./tmp/ - diff --git a/Chapter09/gradflow/Makefile b/Chapter09/gradflow/Makefile index 28437de..517a3fa 100644 --- a/Chapter09/gradflow/Makefile +++ b/Chapter09/gradflow/Makefile @@ -1,3 +1,3 @@ -gradflow-tracking: - mlflow server --backend-store-uri sqlite:///mlflow_db --default-artifact-root ./tmp/ +gradflow-light: + mlflow server --backend-store-uri sqlite:///mlflow_db --default-artifact-root ./tmp/ --host 0.0.0.0 diff --git a/Chapter09/gradflow/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.json b/Chapter09/gradflow/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.json deleted file mode 100644 index fcf4250..0000000 --- a/Chapter09/gradflow/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.json +++ /dev/null @@ -1 +0,0 @@ -{"13": 6, "2": 20, "0": 25, "6": 19, "11": 12, "1": 19, "8": 14, "12": 10, "3": 22, "5": 14, "4": 12, "10": 6, "7": 14, "9": 4} \ No newline at end of file diff --git a/Chapter09/gradflow/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.png b/Chapter09/gradflow/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.png deleted file mode 100644 index aabacfb96b3694e80e439260606f42139c168bbb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16526 zcmd6O2UL_<)@^|qQ@5fBA{amk3IZY^(QJW$WF;$-6_6|$yUl?HK@<>Bau8HRk_1IX z$x)E3l7qw|hqo`<)Ao$B-db>WroB8Pii6?G3GMOf4;h z_;&FLY~N^NYinh*hoArKKQ7?2v^M7dSh+G3AF{;i$O#(?W#vioLl-R_WlEt)Pf`!; zRdo#NZ8-0uS~Wd8Fv{UcU3|~;@#&YpyxPna_-^adf>oP0nsHu;rdzOM!J3%p7{jYq z_G(T)e42Lb0mDP}gK^RkSK=AoY0@pA`|ZHT`2wCB>242A?!PCJ!mIO=>|T?O zEy2!4#l~%dy>&Js{sM0o<8D4IX0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k3PO?H3hg zm~95q30jg`{dJ;;@2iA#h&EuCfy}cJY_IWYO z>N1Y@%1l6g{2fK=6869Mu{}sD+AA+7b9}bJx_8LdpK*9@&UBP}AoYjmSRQvPp6z$+ zH|liO7gVPd?S(1nEMHXSB*p`{Qnn7q6aM_-%q=C4ChvQZby)uDBf4ktn%lk(G5&->*i8uRVaK^l(& z9#0t)eeFVdC&f$YTA$;65wj+bXzvA6(uT9#paC42ie#^=9R^j9{D}RRK|D!v#PqKe03H47Mtjtm>(s7_ov07uZ9FaVHEZVgRn>_iyv3u?c diff --git a/Chapter09/mlflow_db b/Chapter09/mlflow_db deleted file mode 100644 index 76297fa2a1dcb44a74ffe89fce1220dbf1419364..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 118784 zcmeI5e{37qeZYCtiN7TB>^KT7D~iulT#3*RlA@>|))a-JC|Qw2*|d}_h`rnK?j*D3 zuiPD#sF}A(wwngUiecEYwP@1~9gtuN`s0sn#fky#(5+ap0R;+oY0(Z%S7ShetwoCl zEs6nq?|zVXM^Q&RcH-J!+9dDZyYKgX-{-#f-uu22-<> zI88eoju?9PqPG{lo#@?%-XwbKFGAlq;5+6RS$wS>9Y9dO#)k!|UkBpuFL+*aecfGY zpZETpJnDVJciMZ!`8n@n#HT$!Cm4b`K;Lg#*7Pw~a4k$Y@+Dq)UV65GSTk%@E-U*? zvCInvW?K-Ye7PhsG4p=c9vO58BN5`tgv{m&f+%d|B^iD3s-V=6@IWe?POhiv_2k@2 znr_IZ2YlWVTNLOgliAeiWOiUQF&?HfYwL7oV`XKC_IWu`U}aGUwK_Nu;L19Hw%KK9gNqO=h2_m(x$v z1K2c0Xd|<9b|bAN_`-W)mpd2^6W5L_7z)S;WKB_!#XKjO_gp3b<~&^c&?R9fRI_q4 z5j9tTn=MoYdSPWPiI5nu;2KLZTdWw6pfjQGnvTs&Oo=Vgb8BlW>14)~C00vJwVLN^ z2E<3rU`HCPS3MHA5*)7Sk8!%zFWVXy*_s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= zOBJfxP~DiM#L}pZPoq0>%Q%{TVr>q8t*oVzD|llgvz%FbDuXw*hiz+twxJAs;%`gv zt{bQhWfj}bp|tspmGnHeU?I7rZ!Kk(&Y>Kfn%&4`mNJWYb9re6AJBMP&xF-9BCY4_ zGo|CF{=m`Z|FOgWf@Eb&6*F^+Y{XKqv zuoo=~-~Ft|?xAp6NX+uZd}%?8L-EhaAI{^?G_T&89*Lkkosnq7PFqBu4v=%es8;kOME;q$TC)o);o{LU!vB@@kklieUv#)K{Yc~^s*Z+4MdS5CA zg#ZB{00e*l5C8%|00;m9AOHk_01yBI9}oe2{~zN24+uUK3j}}w5C8%|00;m9AOHk_ z01yBIK;V5Mfbai113z<6e}q2Z1q6Tq5C8%|00;m9AOHk_01yBIK;WJsuzS?$pC-^k z2#yn%SA!0}EVB7hzO*&0tZ6!2k#;1x%w2M#-_?Kd!Nd4-`JFRjnXjVt_{$}I(F40b zzOVnpKceWhJ03l_ZT{(J3IDVgTh?{i-`q0%ga7%@tDl*2Nw`&$lp^u{e<$@X4(i9~ v171J?2mk>f00e*l5C8%|00;m9AOHk_z+FtBmz*YuW)m6C9&+02ZIb){=)vUP diff --git a/Chapter09/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.json b/Chapter09/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.json deleted file mode 100644 index fcf4250..0000000 --- a/Chapter09/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.json +++ /dev/null @@ -1 +0,0 @@ -{"13": 6, "2": 20, "0": 25, "6": 19, "11": 12, "1": 19, "8": 14, "12": 10, "3": 22, "5": 14, "4": 12, "10": 6, "7": 14, "9": 4} \ No newline at end of file diff --git a/Chapter09/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.png b/Chapter09/tmp/0/31fc9974587243d181fdbebfd4d2b6ad/artifacts/feature_importance_weight.png deleted file mode 100644 index aabacfb96b3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17VgJ8;xI%QMPn{I$Jcw z-LQL*jrOXtp5Ih=B>9keP17IYIwtCqsJ)bvwH6`Ir|wW4Bb;o44KE!V)iy=c32`s2 zbu8(b2(DwzQMUy)xsJ6&x)nB&3!Ra-#&!=j;Sb+on#Pf{yh$Xz*EEf7%K)lHCcOZy zzE6Exw6lo=@1uS%+J|EkxzN3p{pF6I=Tpb3Lmi(ww$awqf%n@KcYEiNdGsBS{XNld zp-;VAe60cTls4GfVv}l{$zPqa+aj&??$Gs`4*dR@^tx_8nn&L$Id0?b^BnjcGwH$S z_u1%s7lEyv6c@h(CcU1eEBNgH1{Ay#+03Gsl-4m1d8W8mB0Jge9-92+_nzyZ`zq&G zerZM9g=*&`sm|t!(aTJHWw9cZpBZgT+XSk3PO?H3hg zm~95q30jg`{dJ;;@2iA#h&EuCfy}cJY_IWYO z>N1Y@%1l6g{2fK=6869Mu{}sD+AA+7b9}bJx_8LdpK*9@&UBP}AoYjmSRQvPp6z$+ zH|liO7gVPd?S(1nEMHXSB*p`{Qnn7q6aM_-%q=C4ChvQZby)uDBf4ktn%lk(G5&->*i8uRVaK^l(& z9#0t)eeFVdC&f$YTA$;65wj+bXzvA6(uT9#paC42ie#^=9R^j9{D}RRK|D!v#PqKe03H47Mtjtm>(s7_ov07uZ9FaVHEZVgRn>_iyv3u?c From ebe252c1adfaf8185a1d5d0b2153ee47589b02f2 Mon Sep 17 00:00:00 2001 From: Marley Date: Mon, 12 Sep 2022 03:24:46 +0300 Subject: [PATCH 27/30] Delete README.md --- Chapter08/psystock-training/README.md | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 Chapter08/psystock-training/README.md diff --git a/Chapter08/psystock-training/README.md b/Chapter08/psystock-training/README.md deleted file mode 100644 index ed02b6c..0000000 --- a/Chapter08/psystock-training/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# psytock-training -psytock-training From 89aa4a0914867e87cda00288232868e885ca0900 Mon Sep 17 00:00:00 2001 From: webmakaka Date: Mon, 12 Sep 2022 03:34:34 +0300 Subject: [PATCH 28/30] Remove files --- Chapter08/gradflow/.dockerignore | 33 - Chapter08/gradflow/.env | 38 - Chapter08/gradflow/.gitignore | 123 ---- Chapter08/gradflow/.pylintrc | 595 ---------------- Chapter08/gradflow/.travis.yml | 54 -- Chapter08/gradflow/LICENSE | 661 ------------------ Chapter08/gradflow/Makefile | 170 ----- Chapter08/gradflow/README.md | 28 - Chapter08/gradflow/docker-compose.yml | 68 -- Chapter08/gradflow/docker/jupyter/Dockerfile | 63 -- .../docker/jupyter/requirements.test.txt | 2 - .../docker/jupyter/scripts/wait-for-it.sh | 183 ----- .../gradflow/docker/mlflow/.dockerignore | 7 - Chapter08/gradflow/docker/mlflow/Dockerfile | 22 - .../docker/mlflow/scripts/wait-for-it.sh | 183 ----- .../gradflow/docker/postgres/.dockerignore | 8 - Chapter08/gradflow/docker/postgres/Dockerfile | 5 - Chapter08/gradflow/docker/postgres/init.sql | 1 - .../gradflow/docker/python-dev/Dockerfile | 15 - .../docker/python-dev/Dockerfile.dockerignore | 20 - .../docker/python-dev/requirements.txt | 8 - Chapter08/gradflow/requirements.txt | 5 - Chapter08/gradflow/setup.py | 77 -- Chapter08/gradflow/src/workbench/__init__.py | 3 - Chapter08/gradflow/tests/docker/__init__.py | 0 .../gradflow/tests/docker/test_mlflow.py | 126 ---- Chapter08/gradflow/tests/python/__init__.py | 0 .../gradflow/tests/python/test_version.py | 4 - Chapter08/gradflow/tests/run_docker_tests.sh | 9 - Chapter08/gradflow/tox.ini | 62 -- Chapter08/psystock-training/LICENSE | 21 - Chapter08/psystock-training/mlflow_db | Bin 118784 -> 0 bytes .../artifacts/feature_importance_weight.json | 1 - .../artifacts/feature_importance_weight.png | Bin 16526 -> 0 bytes .../artifacts/model/MLmodel | 20 - .../artifacts/model/conda.yaml | 10 - .../artifacts/model/model.xgb | Bin 16504 -> 0 bytes 37 files changed, 2625 deletions(-) delete mode 100644 Chapter08/gradflow/.dockerignore delete mode 100644 Chapter08/gradflow/.env delete mode 100644 Chapter08/gradflow/.gitignore delete mode 100644 Chapter08/gradflow/.pylintrc delete mode 100644 Chapter08/gradflow/.travis.yml delete mode 100644 Chapter08/gradflow/LICENSE delete mode 100644 Chapter08/gradflow/Makefile delete mode 100644 Chapter08/gradflow/README.md delete mode 100644 Chapter08/gradflow/docker-compose.yml delete mode 100644 Chapter08/gradflow/docker/jupyter/Dockerfile delete mode 100644 Chapter08/gradflow/docker/jupyter/requirements.test.txt delete mode 100644 Chapter08/gradflow/docker/jupyter/scripts/wait-for-it.sh delete mode 100644 Chapter08/gradflow/docker/mlflow/.dockerignore delete mode 100644 Chapter08/gradflow/docker/mlflow/Dockerfile delete mode 100644 Chapter08/gradflow/docker/mlflow/scripts/wait-for-it.sh delete mode 100644 Chapter08/gradflow/docker/postgres/.dockerignore delete mode 100644 Chapter08/gradflow/docker/postgres/Dockerfile delete mode 100644 Chapter08/gradflow/docker/postgres/init.sql delete mode 100644 Chapter08/gradflow/docker/python-dev/Dockerfile delete mode 100644 Chapter08/gradflow/docker/python-dev/Dockerfile.dockerignore delete mode 100644 Chapter08/gradflow/docker/python-dev/requirements.txt delete mode 100644 Chapter08/gradflow/requirements.txt delete mode 100644 Chapter08/gradflow/setup.py delete mode 100644 Chapter08/gradflow/src/workbench/__init__.py delete mode 100644 Chapter08/gradflow/tests/docker/__init__.py delete mode 100644 Chapter08/gradflow/tests/docker/test_mlflow.py delete mode 100644 Chapter08/gradflow/tests/python/__init__.py delete mode 100644 Chapter08/gradflow/tests/python/test_version.py delete mode 100644 Chapter08/gradflow/tests/run_docker_tests.sh delete mode 100644 Chapter08/gradflow/tox.ini delete mode 100644 Chapter08/psystock-training/LICENSE delete mode 100644 Chapter08/psystock-training/mlflow_db delete mode 100644 Chapter08/psystock-training/tmp/0/ed0a40810bbb44d883b6b7bb54776e12/artifacts/feature_importance_weight.json delete mode 100644 Chapter08/psystock-training/tmp/0/ed0a40810bbb44d883b6b7bb54776e12/artifacts/feature_importance_weight.png delete mode 100644 Chapter08/psystock-training/tmp/0/ed0a40810bbb44d883b6b7bb54776e12/artifacts/model/MLmodel delete mode 100644 Chapter08/psystock-training/tmp/0/ed0a40810bbb44d883b6b7bb54776e12/artifacts/model/conda.yaml delete mode 100644 Chapter08/psystock-training/tmp/0/ed0a40810bbb44d883b6b7bb54776e12/artifacts/model/model.xgb diff --git a/Chapter08/gradflow/.dockerignore b/Chapter08/gradflow/.dockerignore deleted file mode 100644 index 912b6ff..0000000 --- a/Chapter08/gradflow/.dockerignore +++ /dev/null @@ -1,33 +0,0 @@ -########### .dockerignore file for ./docker/jupyter/Dockerfile ########### -# The build context of other services in the docker-compose stack is # -# their base folder, e.g. "./docker/mlflow/". Therefore their .gitignore # -# files are also there. # -# # -# However, the build context of "./docker/jupyter" is "./", which is why # -# we have the .dockerignore here. # -# # -# For more information please refer to the issue below: # -# https://github.com/moby/moby/issues/12886#issuecomment-518843764 # -########################################################################## -# Ignore everything -** - -# Allow files and directories -!tests/ -!requirements.*txt -!setup.py -!src/ -!src/workbench/__init__.py -!tox.ini -!.pylintrc -!docker/jupyter/scripts/*.sh -!docker/jupyter/requirements.test.txt - -# ignore unnecessary files inside the folders -**/*~ -**/*.log -**/.DS_Store -**/Thumbs.Distribution -**/.idea -**/*.pyc -**/.ipynb_checkpoints diff --git a/Chapter08/gradflow/.env b/Chapter08/gradflow/.env deleted file mode 100644 index d2a63fb..0000000 --- a/Chapter08/gradflow/.env +++ /dev/null @@ -1,38 +0,0 @@ -VERSION=0.1.0 - -DATA_DIR=data/ -IMAGE_OWNER=gradflow -REPO_SLUG=workbench -WAIT_FOR_IT_TIMEOUT=60 - -JUPYTER_SCIPY_IMAGE=scipy-notebook -JUPYTER_SCIPY_VERSION=dc9744740e12 -JUPYTER_TENSORFLOW_IMAGE=tensorflow-notebook -JUPYTER_TENSORFLOW_VERSION=dc9744740e12 -JUPYTER_PYSPARK_IMAGE=pyspark-notebook -JUPYTER_PYSPARK_VERSION=dc9744740e12 - -JUPYTER_PORT=8888 -JUPYTER_TARGET=jupyter -JUPYTER_TEST_TARGET=test -JUPYTER_ENABLE_LAB=yes - -MLFLOW_IMAGE_NAME=mlflow -MLFLOW_VERSION=1.18.0 -MLFLOW_ARTIFACT_STORE=data/artifacts -MLFLOW_BACKEND_STORE=postgres -MLFLOW_TRACKING_SERVER_HOST=0.0.0.0 -MLFLOW_TRACKING_SERVER_PORT=5000 -MLFLOW_TRACKING_URI=http://mlflow:5000 - -POSTGRES_IMAGE_NAME=postgres -POSTGRES_STORE=data/db -POSTGRES_USER=admin -POSTGRES_PASSWORD=secret -POSTGRES_PORT=5432 -POSTGRES_DATABASE=mlflow - -PYTHON_DEV_IMAGE_NAME=workbench/python-dev - -SPHINX_IMAGE_NAME=workbench/sphinx -SPHINX_VERSION=3.0.3 diff --git a/Chapter08/gradflow/.gitignore b/Chapter08/gradflow/.gitignore deleted file mode 100644 index 7d224f8..0000000 --- a/Chapter08/gradflow/.gitignore +++ /dev/null @@ -1,123 +0,0 @@ -# latex temporary files -*.aux -*.bbl -*.blg -*.tex.backup -*.synctex.gz - -./data/ -*.pyc -*.*~ -.* -secrets.ini -!src/workbench/data/ -!tests/python/data/ -!.gitignore -!.travis.yml -!.codeclimate.yml -!.env -!.pylintrc -!.github -!*.dockerignore -*.pkl - -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -pip-wheel-metadata/ -share/python-wheels/ -*.egg-info/ -.installed.cfg -*.egg -MANIFEST - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.nox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*.cover -*.py,cover -.hypothesis/ -.pytest_cache/ - -# Translations -*.mo -*.pot - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -# Jupyter Notebook -.ipynb_checkpoints - -# IPython -profile_default/ -ipython_config.py - -# pyenv -.python-version - -# Environments -.venv -env/ -venv/ -ENV/ -env.bak/ -venv.bak/ -venv-dev/ - -# mkdocs documentation -/site - -# mypy -.mypy_cache/ -.dmypy.json -dmypy.json - -# Pyre type checker -.pyre/:q - diff --git a/Chapter08/gradflow/.pylintrc b/Chapter08/gradflow/.pylintrc deleted file mode 100644 index 6783f9e..0000000 --- a/Chapter08/gradflow/.pylintrc +++ /dev/null @@ -1,595 +0,0 @@ -[MASTER] - -# A comma-separated list of package or module names from where C extensions may -# be loaded. Extensions are loading into the active Python interpreter and may -# run arbitrary code. -extension-pkg-whitelist=lxml.etree - -# Add files or directories to the blacklist. They should be base names, not -# paths. -ignore=CVS - -# Add files or directories matching the regex patterns to the blacklist. The -# regex matches against base names, not paths. -ignore-patterns= - -# Python code to execute, usually for sys.path manipulation such as -# pygtk.require(). -#init-hook= - -# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the -# number of processors available to use. -jobs=1 - -# Control the amount of potential inferred values when inferring a single -# object. This can help the performance when dealing with large functions or -# complex, nested conditions. -limit-inference-results=100 - -# List of plugins (as comma separated values of python module names) to load, -# usually to register additional checkers. -load-plugins= - -# Pickle collected data for later comparisons. -persistent=yes - -# Specify a configuration file. -#rcfile= - -# When enabled, pylint would attempt to guess common misconfiguration and emit -# user-friendly hints instead of false-positive error messages. -suggestion-mode=yes - -# Allow loading of arbitrary C extensions. Extensions are imported into the -# active Python interpreter and may run arbitrary code. -unsafe-load-any-extension=no - - -[MESSAGES CONTROL] - -# Only show warnings with the listed confidence levels. Leave empty to show -# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED. -confidence= - -# Disable the message, report, category or checker with the given id(s). You -# can either give multiple identifiers separated by comma (,) or put this -# option multiple times (only on the command line, not in the configuration -# file where it should appear only once). You can also use "--disable=all" to -# disable everything first and then reenable specific checks. For example, if -# you want to run only the similarities checker, you can use "--disable=all -# --enable=similarities". If you want to run only the classes checker, but have -# no Warning level messages displayed, use "--disable=all --enable=classes -# --disable=W". -disable=fixme, - missing-module-docstring, - missing-class-docstring, - missing-function-docstring, - too-few-public-methods, - too-many-arguments, - too-many-locals, - -# disable=missing-module-docstring, -# missing-class-docstring, -# missing-function-docstring, -# print-statement, -# parameter-unpacking, -# unpacking-in-except, -# old-raise-syntax, -# backtick, -# long-suffix, -# old-ne-operator, -# old-octal-literal, -# import-star-module-level, -# non-ascii-bytes-literal, -# raw-checker-failed, -# bad-inline-option, -# locally-disabled, -# file-ignored, -# suppressed-message, -# useless-suppression, -# deprecated-pragma, -# use-symbolic-message-instead, -# too-few-public-methods, -# too-many-arguments, -# too-many-locals, -# apply-builtin, -# basestring-builtin, -# buffer-builtin, -# cmp-builtin, -# coerce-builtin, -# execfile-builtin, -# file-builtin, -# long-builtin, -# raw_input-builtin, -# reduce-builtin, -# standarderror-builtin, -# unicode-builtin, -# xrange-builtin, -# coerce-method, -# delslice-method, -# getslice-method, -# setslice-method, -# no-absolute-import, -# old-division, -# dict-iter-method, -# dict-view-method, -# next-method-called, -# metaclass-assignment, -# indexing-exception, -# raising-string, -# reload-builtin, -# oct-method, -# hex-method, -# nonzero-method, -# cmp-method, -# input-builtin, -# round-builtin, -# intern-builtin, -# unichr-builtin, -# map-builtin-not-iterating, -# zip-builtin-not-iterating, -# range-builtin-not-iterating, -# filter-builtin-not-iterating, -# using-cmp-argument, -# eq-without-hash, -# div-method, -# idiv-method, -# rdiv-method, -# exception-message-attribute, -# invalid-str-codec, -# sys-max-int, -# bad-python3-import, -# deprecated-string-function, -# deprecated-str-translate-call, -# deprecated-itertools-function, -# deprecated-types-field, -# next-method-defined, -# dict-items-not-iterating, -# dict-keys-not-iterating, -# dict-values-not-iterating, -# deprecated-operator-function, -# deprecated-urllib-function, -# xreadlines-attribute, -# deprecated-sys-function, -# exception-escape, -# comprehension-escape - -# Enable the message, report, category or checker with the given id(s). You can -# either give multiple identifier separated by comma (,) or put this option -# multiple time (only on the command line, not in the configuration file where -# it should appear only once). See also the "--disable" option for examples. -enable=c-extension-no-member - - -[REPORTS] - -# Python expression which should return a score less than or equal to 10. You -# have access to the variables 'error', 'warning', 'refactor', and 'convention' -# which contain the number of messages in each category, as well as 'statement' -# which is the total number of statements analyzed. This score is used by the -# global evaluation report (RP0004). -evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) - -# Template used to display messages. This is a python new-style format string -# used to format the message information. See doc for all details. -#msg-template= - -# Set the output format. Available formats are text, parseable, colorized, json -# and msvs (visual studio). You can also give a reporter class, e.g. -# mypackage.mymodule.MyReporterClass. -output-format=text - -# Tells whether to display a full report or only the messages. -reports=no - -# Activate the evaluation score. -score=yes - - -[REFACTORING] - -# Maximum number of nested blocks for function / method body -max-nested-blocks=5 - -# Complete name of functions that never returns. When checking for -# inconsistent-return-statements if a never returning function is called then -# it will be considered as an explicit return statement and no message will be -# printed. -never-returning-functions=sys.exit - - -[LOGGING] - -# Format style used to check logging format string. `old` means using % -# formatting, `new` is for `{}` formatting,and `fstr` is for f-strings. -logging-format-style=old - -# Logging modules to check that the string format arguments are in logging -# function parameter format. -logging-modules=logging - - -[VARIABLES] - -# List of additional names supposed to be defined in builtins. Remember that -# you should avoid defining new builtins when possible. -additional-builtins= - -# Tells whether unused global variables should be treated as a violation. -allow-global-unused-variables=yes - -# List of strings which can identify a callback function by name. A callback -# name must start or end with one of those strings. -callbacks=cb_, - _cb - -# A regular expression matching the name of dummy variables (i.e. expected to -# not be used). -dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_ - -# Argument names that match this expression will be ignored. Default to name -# with leading underscore. -ignored-argument-names=_.*|^ignored_|^unused_ - -# Tells whether we should check for unused import in __init__ files. -init-import=no - -# List of qualified module names which can have objects that can redefine -# builtins. -redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io - - -[MISCELLANEOUS] - -# List of note tags to take in consideration, separated by a comma. -notes=FIXME, - XXX, - TODO - - -[STRING] - -# This flag controls whether the implicit-str-concat-in-sequence should -# generate a warning on implicit string concatenation in sequences defined over -# several lines. -check-str-concat-over-line-jumps=no - - -[SPELLING] - -# Limits count of emitted suggestions for spelling mistakes. -max-spelling-suggestions=4 - -# Spelling dictionary name. Available dictionaries: none. To make it work, -# install the python-enchant package. -spelling-dict= - -# List of comma separated words that should not be checked. -spelling-ignore-words= - -# A path to a file that contains the private dictionary; one word per line. -spelling-private-dict-file= - -# Tells whether to store unknown words to the private dictionary (see the -# --spelling-private-dict-file option) instead of raising a message. -spelling-store-unknown-words=no - - -[BASIC] - -# Naming style matching correct argument names. -argument-naming-style=snake_case - -# Regular expression matching correct argument names. Overrides argument- -# naming-style. -argument-rgx=^([a-z]|([a-z][a-z0-9])|([a-z_][a-z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$ - -# Naming style matching correct attribute names. -attr-naming-style=snake_case - -# Regular expression matching correct attribute names. Overrides attr-naming- -# style. -attr-rgx=^([a-z]|([a-z][a-z0-9])|([a-z_][a-z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$ - -# Bad variable names which should always be refused, separated by a comma. -bad-names=foo, - bar, - baz, - toto, - tutu, - tata - -# Naming style matching correct class attribute names. -class-attribute-naming-style=any - -# Regular expression matching correct class attribute names. Overrides class- -# attribute-naming-style. -#class-attribute-rgx= - -# Naming style matching correct class names. -class-naming-style=PascalCase - -# Regular expression matching correct class names. Overrides class-naming- -# style. -#class-rgx= - -# Naming style matching correct constant names. -const-naming-style=UPPER_CASE - -# Regular expression matching correct constant names. Overrides const-naming- -# style. -#const-rgx= - -# Minimum line length for functions/classes that require docstrings, shorter -# ones are exempt. -docstring-min-length=-1 - -# Naming style matching correct function names. -function-naming-style=snake_case - -# Regular expression matching correct function names. Overrides function- -# naming-style. -#function-rgx= - -# Good variable names which should always be accepted, separated by a comma. -good-names=i, - j, - k, - ex, - Run, - _ - -# Include a hint for the correct naming format with invalid-name. -include-naming-hint=no - -# Naming style matching correct inline iteration names. -inlinevar-naming-style=any - -# Regular expression matching correct inline iteration names. Overrides -# inlinevar-naming-style. -#inlinevar-rgx= - -# Naming style matching correct method names. -method-naming-style=snake_case - -# Regular expression matching correct method names. Overrides method-naming- -# style. -#method-rgx= - -# Naming style matching correct module names. -module-naming-style=snake_case - -# Regular expression matching correct module names. Overrides module-naming- -# style. -#module-rgx= - -# Colon-delimited sets of names that determine each other's naming style when -# the name regexes allow several styles. -name-group= - -# Regular expression which should only match function or class names that do -# not require a docstring. -no-docstring-rgx=^_ - -# List of decorators that produce properties, such as abc.abstractproperty. Add -# to this list to register other decorators that produce valid properties. -# These decorators are taken in consideration only for invalid-name. -property-classes=abc.abstractproperty - -# Naming style matching correct variable names. -variable-naming-style=snake_case - -# Regular expression matching correct variable names. Overrides variable- -# naming-style. -variable-rgx=^([a-z]|([a-z][a-z0-9])|([a-z_][a-z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$ - - -[SIMILARITIES] - -# Ignore comments when computing similarities. -ignore-comments=yes - -# Ignore docstrings when computing similarities. -ignore-docstrings=yes - -# Ignore imports when computing similarities. -ignore-imports=no - -# Minimum lines number of a similarity. -min-similarity-lines=4 - - -[TYPECHECK] - -# List of decorators that produce context managers, such as -# contextlib.contextmanager. Add to this list to register other decorators that -# produce valid context managers. -contextmanager-decorators=contextlib.contextmanager - -# List of members which are set dynamically and missed by pylint inference -# system, and so shouldn't trigger E1101 when accessed. Python regular -# expressions are accepted. -generated-members= - -# Tells whether missing members accessed in mixin class should be ignored. A -# mixin class is detected if its name ends with "mixin" (case insensitive). -ignore-mixin-members=yes - -# Tells whether to warn about missing members when the owner of the attribute -# is inferred to be None. -ignore-none=yes - -# This flag controls whether pylint should warn about no-member and similar -# checks whenever an opaque object is returned when inferring. The inference -# can return multiple potential results while evaluating a Python object, but -# some branches might not be evaluated, which results in partial inference. In -# that case, it might be useful to still emit no-member and other checks for -# the rest of the inferred objects. -ignore-on-opaque-inference=yes - -# List of class names for which member attributes should not be checked (useful -# for classes with dynamically set attributes). This supports the use of -# qualified names. -ignored-classes=optparse.Values,thread._local,_thread._local - -# List of module names for which member attributes should not be checked -# (useful for modules/projects where namespaces are manipulated during runtime -# and thus existing member attributes cannot be deduced by static analysis). It -# supports qualified module names, as well as Unix pattern matching. -ignored-modules= - -# Show a hint with possible names when a member name was not found. The aspect -# of finding the hint is based on edit distance. -missing-member-hint=yes - -# The minimum edit distance a name should have in order to be considered a -# similar match for a missing member name. -missing-member-hint-distance=1 - -# The total number of similar names that should be taken in consideration when -# showing a hint for a missing member. -missing-member-max-choices=1 - -# List of decorators that change the signature of a decorated function. -signature-mutators= - - -[FORMAT] - -# Expected format of line ending, e.g. empty (any line ending), LF or CRLF. -expected-line-ending-format= - -# Regexp for a line that is allowed to be longer than the limit. -ignore-long-lines=^\s*(# )??$ - -# Number of spaces of indent required inside a hanging or continued line. -indent-after-paren=4 - -# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 -# tab). -indent-string=' ' - -# Maximum number of characters on a single line. -max-line-length=100 - -# Maximum number of lines in a module. -max-module-lines=1000 - -# List of optional constructs for which whitespace checking is disabled. `dict- -# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. -# `trailing-comma` allows a space between comma and closing bracket: (a, ). -# `empty-line` allows space-only lines. -no-space-check=trailing-comma, - dict-separator - -# Allow the body of a class to be on the same line as the declaration if body -# contains single statement. -single-line-class-stmt=no - -# Allow the body of an if to be on the same line as the test if there is no -# else. -single-line-if-stmt=no - - -[DESIGN] - -# Maximum number of arguments for function / method. -max-args=5 - -# Maximum number of attributes for a class (see R0902). -max-attributes=7 - -# Maximum number of boolean expressions in an if statement (see R0916). -max-bool-expr=5 - -# Maximum number of branch for function / method body. -max-branches=12 - -# Maximum number of locals for function / method body. -max-locals=15 - -# Maximum number of parents for a class (see R0901). -max-parents=7 - -# Maximum number of public methods for a class (see R0904). -max-public-methods=20 - -# Maximum number of return / yield for function / method body. -max-returns=6 - -# Maximum number of statements in function / method body. -max-statements=50 - -# Minimum number of public methods for a class (see R0903). -min-public-methods=2 - - -[IMPORTS] - -# List of modules that can be imported at any level, not just the top level -# one. -allow-any-import-level= - -# Allow wildcard imports from modules that define __all__. -allow-wildcard-with-all=no - -# Analyse import fallback blocks. This can be used to support both Python 2 and -# 3 compatible code, which means that the block might have code that exists -# only in one or another interpreter, leading to false positives when analysed. -analyse-fallback-blocks=no - -# Deprecated modules which should not be used, separated by a comma. -deprecated-modules=optparse,tkinter.tix - -# Create a graph of external dependencies in the given file (report RP0402 must -# not be disabled). -ext-import-graph= - -# Create a graph of every (i.e. internal and external) dependencies in the -# given file (report RP0402 must not be disabled). -import-graph= - -# Create a graph of internal dependencies in the given file (report RP0402 must -# not be disabled). -int-import-graph= - -# Force import order to recognize a module as part of the standard -# compatibility libraries. -known-standard-library= - -# Force import order to recognize a module as part of a third party library. -known-third-party=enchant - -# Couples of modules and preferred modules, separated by a comma. -preferred-modules= - - -[CLASSES] - -# List of method names used to declare (i.e. assign) instance attributes. -defining-attr-methods=__init__, - __new__, - setUp, - __post_init__ - -# List of member names, which should be excluded from the protected access -# warning. -exclude-protected=_asdict, - _fields, - _replace, - _source, - _make - -# List of valid names for the first argument in a class method. -valid-classmethod-first-arg=cls - -# List of valid names for the first argument in a metaclass class method. -valid-metaclass-classmethod-first-arg=cls - - -[EXCEPTIONS] - -# Exceptions that will emit a warning when being caught. Defaults to -# "BaseException, Exception". -overgeneral-exceptions=BaseException, - Exception diff --git a/Chapter08/gradflow/.travis.yml b/Chapter08/gradflow/.travis.yml deleted file mode 100644 index 88113e0..0000000 --- a/Chapter08/gradflow/.travis.yml +++ /dev/null @@ -1,54 +0,0 @@ -language: python -os: linux -dist: bionic -jobs: - include: - - name: "docker-compose-build" - if: branch NOT IN (master, dev) # already covered by docker-compose-test - services: docker - script: make build - - name: "docker-compose-test" - if: branch IN (master, dev) - services: docker - script: - - make test - after_script: - - ls -la ./data/ # mlflow artifact & tracking data - - name: "tox" - env: TOX_PYTHON_ENV=py37 - python: 3.7 - before_install: - - pwd - - ls -la - - id - install: - - pip install -U pip - - pip install tox-travis - - pip install codecov - script: - - tox -e $TOX_PYTHON_ENV -e lint - after_success: - - codecov # submit coverage to https://codecov.io/gh/sertansenturk/workbench/ - - name: "documentation" - install: - - pip install sphinx - - pip install sphinx_rtd_theme - before_script: - - cd docs - script: - - make html SPHINXOPTS:="-nWT -b dummy" -before_install: - - pwd - - ls -la - - id - - docker --version -install: - - -before_script: - - -script: - - -after_success: - - -after_script: - - \ No newline at end of file diff --git a/Chapter08/gradflow/LICENSE b/Chapter08/gradflow/LICENSE deleted file mode 100644 index 0ad25db..0000000 --- a/Chapter08/gradflow/LICENSE +++ /dev/null @@ -1,661 +0,0 @@ - GNU AFFERO GENERAL PUBLIC LICENSE - Version 3, 19 November 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU Affero General Public License is a free, copyleft license for -software and other kinds of works, specifically designed to ensure -cooperation with the community in the case of network server software. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -our General Public Licenses are intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - Developers that use our General Public Licenses protect your rights -with two steps: (1) assert copyright on the software, and (2) offer -you this License which gives you legal permission to copy, distribute -and/or modify the software. - - A secondary benefit of defending all users' freedom is that -improvements made in alternate versions of the program, if they -receive widespread use, become available for other developers to -incorporate. Many developers of free software are heartened and -encouraged by the resulting cooperation. However, in the case of -software used on network servers, this result may fail to come about. -The GNU General Public License permits making a modified version and -letting the public access it on a server without ever releasing its -source code to the public. - - The GNU Affero General Public License is designed specifically to -ensure that, in such cases, the modified source code becomes available -to the community. It requires the operator of a network server to -provide the source code of the modified version running there to the -users of that server. Therefore, public use of a modified version, on -a publicly accessible server, gives the public access to the source -code of the modified version. - - An older license, called the Affero General Public License and -published by Affero, was designed to accomplish similar goals. This is -a different license, not a version of the Affero GPL, but Affero has -released a new version of the Affero GPL which permits relicensing under -this license. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU Affero General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Remote Network Interaction; Use with the GNU General Public License. - - Notwithstanding any other provision of this License, if you modify the -Program, your modified version must prominently offer all users -interacting with it remotely through a computer network (if your version -supports such interaction) an opportunity to receive the Corresponding -Source of your version by providing access to the Corresponding Source -from a network server at no charge, through some standard or customary -means of facilitating copying of software. This Corresponding Source -shall include the Corresponding Source for any work covered by version 3 -of the GNU General Public License that is incorporated pursuant to the -following paragraph. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the work with which it is combined will remain governed by version -3 of the GNU General Public License. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU Affero General Public License from time to time. Such new versions -will be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU Affero General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU Affero General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU Affero General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If your software can interact with users remotely through a computer -network, you should also make sure that it provides a way for users to -get its source. For example, if your program is a web application, its -interface could display a "Source" link that leads users to an archive -of the code. There are many ways you could offer source, and different -solutions will be better for different programs; see section 13 for the -specific requirements. - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU AGPL, see -. diff --git a/Chapter08/gradflow/Makefile b/Chapter08/gradflow/Makefile deleted file mode 100644 index 010080c..0000000 --- a/Chapter08/gradflow/Makefile +++ /dev/null @@ -1,170 +0,0 @@ -SHELL := /bin/bash -.DEFAULT_GOAL := default -.PHONY: \ - help default lab notebook \ - scipy tensorflow pyspark \ - test test-store-permissions all \ - purge clean clean-all clean-stores clean-python \ - prune build \ - up run down down-all \ - python-dev-build tox \ - sphinx-build sphinx-clean sphinx-apidoc sphinx-html sphinx-html-test \ - free-port debug-travis - -HELP_PADDING = 28 -bold := $(shell tput bold) -sgr0 := $(shell tput sgr0) -padded_str := %-$(HELP_PADDING)s -pretty_command := $(bold)$(padded_str)$(sgr0) - -include .env # environment variables used in docker-compose stack - -MAKEFILE_DIR = $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) - -PRUNE_OPTS = -f - -BUILDKIT = 1 -BUILD_OPTS = - -DOWN_OPTS = --remove-orphans -DOWN_ALL_OPTS = ${DOWN_OPTS} --rmi all -v - -UP_OPTS = -RUN_OPTS = - -PYTHON_DEV_CMD = - -DOCS_FOLDER = docs -SPHINX_OPTS := -nWT -b linkcheck --keep-going - -PORT = ${POSTGRES_PORT} - -HOST_USERNAME := $(shell id -u -n) - -JUPYTER_BASE_IMAGE := ${JUPYTER_SCIPY_IMAGE} -JUPYTER_BASE_VERSION := ${JUPYTER_SCIPY_VERSION} - -JUPYTER_CHOWN_EXTRA := "/${DATA_DIR}" -JUPYTER_UID := $(shell id -u) -JUPYTER_USERNAME := $(shell id -u -n) - -POSTGRES_UID := $(shell id -u) -POSTGRES_GID := $(shell id -g) - -TRAVIS_JOB = -TRAVIS_TOKEN = - - -default: clean build up -lab: default - -notebook: JUPYTER_ENABLE_LAB:= -notebook: default - -scipy: JUPYTER_BASE_IMAGE=${JUPYTER_SCIPY_IMAGE} -scipy: JUPYTER_BASE_VERSION=${JUPYTER_SCIPY_VERSION} -scipy: default - -tensorflow: JUPYTER_BASE_IMAGE=${JUPYTER_TENSORFLOW_IMAGE} -tensorflow: JUPYTER_BASE_VERSION=${JUPYTER_TENSORFLOW_VERSION} -tensorflow: default - -pyspark: JUPYTER_BASE_IMAGE=${JUPYTER_PYSPARK_IMAGE} -pyspark: JUPYTER_BASE_VERSION=${JUPYTER_PYSPARK_VERSION} -pyspark: default - -test: JUPYTER_TARGET:=${JUPYTER_TEST_TARGET} -test: RUN_OPTS:=jupyter start.sh ./run_docker_tests.sh ${MLFLOW_IMAGE_NAME} ${MLFLOW_TRACKING_SERVER_PORT} ${WAIT_FOR_IT_TIMEOUT} -test: JUPYTER_CHOWN_EXTRA:="/${DATA_DIR},/tests" -test: clean build run test-store-permissions - $(MAKE) down -# NOTE: above, `clean` had already called `down` so we had to make -# an explicit recursive call by `$(MAKE) down` - -test-store-permissions: - @if [ $(shell find data ! -user ${HOST_USERNAME} | wc -l) -gt 0 ]; then \ - echo "Found files and/or folders with wrong permission: " ; \ - echo "=> $(shell find data ! -user ${HOST_USERNAME} -printf '%p (%u) ')" ; \ - exit 1 ; \ - else \ - exit 0 ; \ - fi - -all: clean clean-stores build up - -purge: clean-all -clean-all: down-all prune clean-stores clean-python -clean: down prune -clean-stores: - rm -rf ./${MLFLOW_ARTIFACT_STORE} ./${POSTGRES_STORE} - -clean-python: - find . -name '*.pyc' -exec rm -f {} + - find . -name '*.pyo' -exec rm -f {} + - find . -name '*~' -exec rm -f {} + - find . -name '__pycache__' -exec rm -fr {} + - find . -name '.ipynb_checkpoints' -exec rm -fr {} + - rm -rf build/ - rm -rf dist/ - rm -rf .eggs/ - rm -rf .pytest_cache - find . -name '.eggs' -type d -exec rm -rf {} + - find . -name '*.egg-info' -exec rm -rf {} + - find . -name '*.egg' -exec rm -f {} + - rm -fr .tox/ - rm -f .coverage - rm -fr htmlcov/ - -prune: - docker system prune ${PRUNE_OPTS} - -build: - DOCKER_BUILDKIT=${BUILDKIT} COMPOSE_DOCKER_CLI_BUILD=${BUILDKIT} \ - JUPYTER_BASE_IMAGE=${JUPYTER_BASE_IMAGE} JUPYTER_BASE_VERSION=${JUPYTER_BASE_VERSION} \ - JUPYTER_TARGET=${JUPYTER_TARGET} JUPYTER_USERNAME=${JUPYTER_USERNAME} \ - MLFLOW_VERSION=${MLFLOW_VERSION} \ - POSTGRES_UID=${POSTGRES_UID} POSTGRES_GID=${POSTGRES_GID} \ - docker-compose build ${BUILD_OPTS} - -${MLFLOW_ARTIFACT_STORE}: - mkdir -p ${MLFLOW_ARTIFACT_STORE} - -${POSTGRES_STORE}: - mkdir -p ${POSTGRES_STORE} - -up: ${MLFLOW_ARTIFACT_STORE} ${POSTGRES_STORE} - JUPYTER_BASE_IMAGE=${JUPYTER_BASE_IMAGE} JUPYTER_BASE_VERSION=${JUPYTER_BASE_VERSION} \ - JUPYTER_TARGET=${JUPYTER_TARGET} \ - JUPYTER_CHOWN_EXTRA=${JUPYTER_CHOWN_EXTRA} \ - JUPYTER_UID=${JUPYTER_UID} JUPYTER_USERNAME=${JUPYTER_USERNAME} \ - JUPYTER_ENABLE_LAB=${JUPYTER_ENABLE_LAB} \ - POSTGRES_UID=${POSTGRES_UID} POSTGRES_GID=${POSTGRES_GID} \ - docker-compose up ${UP_OPTS} - -run: ${MLFLOW_ARTIFACT_STORE} ${POSTGRES_STORE} - JUPYTER_BASE_IMAGE=${JUPYTER_BASE_IMAGE} JUPYTER_BASE_VERSION=${JUPYTER_BASE_VERSION} \ - JUPYTER_TARGET=${JUPYTER_TARGET} \ - JUPYTER_CHOWN_EXTRA=${JUPYTER_CHOWN_EXTRA} \ - JUPYTER_UID=${JUPYTER_UID} JUPYTER_USERNAME=${JUPYTER_USERNAME} \ - JUPYTER_ENABLE_LAB=${JUPYTER_ENABLE_LAB} \ - POSTGRES_UID=${POSTGRES_UID} POSTGRES_GID=${POSTGRES_GID} \ - docker-compose run ${RUN_OPTS} - -down: - docker-compose down ${DOWN_OPTS} -down-all: DOWN_OPTS:=${DOWN_ALL_OPTS} -down-all: down - -python-dev-build: - DOCKER_BUILDKIT=${BUILDKIT} \ - docker build . \ - -f ./docker/python-dev/Dockerfile \ - -t ${IMAGE_OWNER}/${PYTHON_DEV_IMAGE_NAME}:${VERSION} \ - ${BUILD_OPTS} - -tox: PYTHON_DEV_CMD := tox -tox: python-dev-build - docker run -it ${IMAGE_OWNER}/${PYTHON_DEV_IMAGE_NAME}:${VERSION} ${PYTHON_DEV_CMD} - - - diff --git a/Chapter08/gradflow/README.md b/Chapter08/gradflow/README.md deleted file mode 100644 index c121e39..0000000 --- a/Chapter08/gradflow/README.md +++ /dev/null @@ -1,28 +0,0 @@ -# workbench - -A template workbench. - -This workbench is based on a "cut" from [sertansenturk/cookiecutter-ds-docker](https://github.com/sertansenturk/cookiecutter-ds-docker). - - -## 1. Introduction - - -It consists of a docker-compose stack with the services below (See Sections [Setup](#setup) and [Running the Services](#running-the-services)): - -1. A [Jupyter](https://jupyter.org/) service with minimal customization -2. An [mlflow](https://mlflow.org/) tracking server to store experiments -3. A [postgresql](https://www.postgresql.org/) database, which stores mlflow tracking information - -`workbench` also comes with two standalone *Docker* image below for local usage: - -1. *Python* test and development -2. Building *Sphinx* documentation - - -## 3. Quickstart - -To build and start the Docker stack, run: - -```bash -make diff --git a/Chapter08/gradflow/docker-compose.yml b/Chapter08/gradflow/docker-compose.yml deleted file mode 100644 index 135f6f3..0000000 --- a/Chapter08/gradflow/docker-compose.yml +++ /dev/null @@ -1,68 +0,0 @@ -version: '3.7' -services: - jupyter: - user: root - build: - context: . - dockerfile: ./docker/jupyter/Dockerfile - target: ${JUPYTER_TARGET} - args: - - MLFLOW_ARTIFACT_STORE=/${MLFLOW_ARTIFACT_STORE} - - MLFLOW_VERSION=${MLFLOW_VERSION} - - JUPYTER_BASE_IMAGE=${JUPYTER_BASE_IMAGE} - - JUPYTER_BASE_VERSION=${JUPYTER_BASE_VERSION} - - JUPYTER_USERNAME=${JUPYTER_USERNAME} - image: ${IMAGE_OWNER}/${REPO_SLUG}/${JUPYTER_TARGET}:${VERSION} - ports: - - "${JUPYTER_PORT}:${JUPYTER_PORT}" - depends_on: - - mlflow - environment: - MLFLOW_TRACKING_URI: ${MLFLOW_TRACKING_URI} - JUPYTER_ENABLE_LAB: ${JUPYTER_ENABLE_LAB} - NB_USER: ${JUPYTER_USERNAME} - NB_UID: ${JUPYTER_UID} - CHOWN_HOME: "yes" - CHOWN_HOME_OPTS: '-R' - CHOWN_EXTRA: ${JUPYTER_CHOWN_EXTRA} - CHOWN_EXTRA_OPTS: '-R' - volumes: - - ./:/home/${JUPYTER_USERNAME}/work - - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} - mlflow: - build: - context: ./docker/mlflow - args: - - MLFLOW_VERSION=${MLFLOW_VERSION} - image: ${IMAGE_OWNER}/${REPO_SLUG}/${MLFLOW_IMAGE_NAME}:${VERSION} - expose: - - "${MLFLOW_TRACKING_SERVER_PORT}" - ports: - - "${MLFLOW_TRACKING_SERVER_PORT}:${MLFLOW_TRACKING_SERVER_PORT}" - depends_on: - - postgres - environment: - MLFLOW_TRACKING_SERVER_HOST: ${MLFLOW_TRACKING_SERVER_HOST} - MLFLOW_TRACKING_SERVER_PORT: ${MLFLOW_TRACKING_SERVER_PORT} - MLFLOW_ARTIFACT_STORE: ${MLFLOW_ARTIFACT_STORE} - MLFLOW_BACKEND_STORE: ${MLFLOW_BACKEND_STORE} - POSTGRES_USER: ${POSTGRES_USER} - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} - POSTGRES_DATABASE: ${POSTGRES_DATABASE} - POSTGRES_PORT: ${POSTGRES_PORT} - WAIT_FOR_IT_TIMEOUT: ${WAIT_FOR_IT_TIMEOUT} - volumes: - - ./${MLFLOW_ARTIFACT_STORE}:/${MLFLOW_ARTIFACT_STORE} - postgres: - user: "${POSTGRES_UID}:${POSTGRES_GID}" - build: - context: ./docker/postgres - image: ${IMAGE_OWNER}/${REPO_SLUG}/${POSTGRES_IMAGE_NAME}:${VERSION} - restart: always - environment: - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} - POSTGRES_USER: ${POSTGRES_USER} - ports: - - "${POSTGRES_PORT}:${POSTGRES_PORT}" - volumes: - - ./${POSTGRES_STORE}:/var/lib/postgresql/data diff --git a/Chapter08/gradflow/docker/jupyter/Dockerfile b/Chapter08/gradflow/docker/jupyter/Dockerfile deleted file mode 100644 index 12e002e..0000000 --- a/Chapter08/gradflow/docker/jupyter/Dockerfile +++ /dev/null @@ -1,63 +0,0 @@ -############## custom jupyter image ############### -ARG JUPYTER_BASE_IMAGE -ARG JUPYTER_BASE_VERSION -FROM jupyter/${JUPYTER_BASE_IMAGE}:${JUPYTER_BASE_VERSION} AS jupyter - -ARG MLFLOW_ARTIFACT_STORE -ARG MLFLOW_VERSION -ARG JUPYTER_USERNAME -ENV HOME_DIR=/home/$JUPYTER_USERNAME -ENV WORK_DIR=$HOME_DIR/work - -RUN conda install --quiet --yes \ - 'mlflow='$MLFLOW_VERSION \ - 'psycopg2=2.8.*' \ - 'conda-build' \ - 'tqdm' \ - 'jupyter_contrib_nbextensions' \ - 'jupyter_nbextensions_configurator' && \ - conda build purge-all && \ - fix-permissions $CONDA_DIR - -USER root -RUN ldconfig && \ - jupyter nbextension enable toc2/main --sys-prefix && \ - jupyter nbextension enable collapsible_headings/main --sys-prefix && \ - mkdir -p $MLFLOW_ARTIFACT_STORE - -USER $NB_UID - -# Install Python dependencies from requirements.txt in advance -# Useful for development since changes in code will not trigger a layer re-build -WORKDIR $WORK_DIR -COPY ./requirements.txt ./ -RUN pip install --upgrade pip && \ - pip install -r ./requirements.txt && \ - fix-permissions $HOME_DIR - -# install experiment code in editable mode -COPY ./setup.py ./ -COPY ./src/ ./src/ - -USER root -RUN chown -R $NB_UID:$NB_GID ./src/ -USER $NB_UID - -RUN pip install -e . - -################## test image ################### -FROM jupyter AS test - -ARG TEST_DIR=/tests - -COPY ./docker/jupyter/requirements.test.txt ${TEST_DIR}/ -RUN pip install -r ${TEST_DIR}/requirements.test.txt - -COPY ./tests/docker ${TEST_DIR}/docker -COPY ./tests/run_docker_tests.sh ${TEST_DIR}/ -COPY ./docker/jupyter/scripts/wait-for-it.sh ${TEST_DIR}/ -USER root -RUN chmod +x ${TEST_DIR}/wait-for-it.sh -USER $NB_UID - -WORKDIR ${TEST_DIR} diff --git a/Chapter08/gradflow/docker/jupyter/requirements.test.txt b/Chapter08/gradflow/docker/jupyter/requirements.test.txt deleted file mode 100644 index 7ca991a..0000000 --- a/Chapter08/gradflow/docker/jupyter/requirements.test.txt +++ /dev/null @@ -1,2 +0,0 @@ -pytest -pytest-dependency \ No newline at end of file diff --git a/Chapter08/gradflow/docker/jupyter/scripts/wait-for-it.sh b/Chapter08/gradflow/docker/jupyter/scripts/wait-for-it.sh deleted file mode 100644 index f6cbe95..0000000 --- a/Chapter08/gradflow/docker/jupyter/scripts/wait-for-it.sh +++ /dev/null @@ -1,183 +0,0 @@ -#!/usr/bin/env bash -# Use this script to test if a given TCP host/port are available -# Script fetched as is from https://github.com/vishnubob/wait-for-it/blob/ed77b63706ea721766a62ff22d3a251d8b4a6a30/wait-for-it.sh - -WAITFORIT_cmdname=${0##*/} - -echoerr() { if [[ $WAITFORIT_QUIET -ne 1 ]]; then echo "$@" 1>&2; fi } - -usage() -{ - cat << USAGE >&2 -Usage: - $WAITFORIT_cmdname host:port [-s] [-t timeout] [-- command args] - -h HOST | --host=HOST Host or IP under test - -p PORT | --port=PORT TCP port under test - Alternatively, you specify the host and port as host:port - -s | --strict Only execute subcommand if the test succeeds - -q | --quiet Don't output any status messages - -t TIMEOUT | --timeout=TIMEOUT - Timeout in seconds, zero for no timeout - -- COMMAND ARGS Execute command with args after the test finishes -USAGE - exit 1 -} - -wait_for() -{ - if [[ $WAITFORIT_TIMEOUT -gt 0 ]]; then - echoerr "$WAITFORIT_cmdname: waiting $WAITFORIT_TIMEOUT seconds for $WAITFORIT_HOST:$WAITFORIT_PORT" - else - echoerr "$WAITFORIT_cmdname: waiting for $WAITFORIT_HOST:$WAITFORIT_PORT without a timeout" - fi - WAITFORIT_start_ts=$(date +%s) - while : - do - if [[ $WAITFORIT_ISBUSY -eq 1 ]]; then - nc -z $WAITFORIT_HOST $WAITFORIT_PORT - WAITFORIT_result=$? - else - (echo > /dev/tcp/$WAITFORIT_HOST/$WAITFORIT_PORT) >/dev/null 2>&1 - WAITFORIT_result=$? - fi - if [[ $WAITFORIT_result -eq 0 ]]; then - WAITFORIT_end_ts=$(date +%s) - echoerr "$WAITFORIT_cmdname: $WAITFORIT_HOST:$WAITFORIT_PORT is available after $((WAITFORIT_end_ts - WAITFORIT_start_ts)) seconds" - break - fi - sleep 1 - done - return $WAITFORIT_result -} - -wait_for_wrapper() -{ - # In order to support SIGINT during timeout: http://unix.stackexchange.com/a/57692 - if [[ $WAITFORIT_QUIET -eq 1 ]]; then - timeout $WAITFORIT_BUSYTIMEFLAG $WAITFORIT_TIMEOUT $0 --quiet --child --host=$WAITFORIT_HOST --port=$WAITFORIT_PORT --timeout=$WAITFORIT_TIMEOUT & - else - timeout $WAITFORIT_BUSYTIMEFLAG $WAITFORIT_TIMEOUT $0 --child --host=$WAITFORIT_HOST --port=$WAITFORIT_PORT --timeout=$WAITFORIT_TIMEOUT & - fi - WAITFORIT_PID=$! - trap "kill -INT -$WAITFORIT_PID" INT - wait $WAITFORIT_PID - WAITFORIT_RESULT=$? - if [[ $WAITFORIT_RESULT -ne 0 ]]; then - echoerr "$WAITFORIT_cmdname: timeout occurred after waiting $WAITFORIT_TIMEOUT seconds for $WAITFORIT_HOST:$WAITFORIT_PORT" - fi - return $WAITFORIT_RESULT -} - -# process arguments -while [[ $# -gt 0 ]] -do - case "$1" in - *:* ) - WAITFORIT_hostport=(${1//:/ }) - WAITFORIT_HOST=${WAITFORIT_hostport[0]} - WAITFORIT_PORT=${WAITFORIT_hostport[1]} - shift 1 - ;; - --child) - WAITFORIT_CHILD=1 - shift 1 - ;; - -q | --quiet) - WAITFORIT_QUIET=1 - shift 1 - ;; - -s | --strict) - WAITFORIT_STRICT=1 - shift 1 - ;; - -h) - WAITFORIT_HOST="$2" - if [[ $WAITFORIT_HOST == "" ]]; then break; fi - shift 2 - ;; - --host=*) - WAITFORIT_HOST="${1#*=}" - shift 1 - ;; - -p) - WAITFORIT_PORT="$2" - if [[ $WAITFORIT_PORT == "" ]]; then break; fi - shift 2 - ;; - --port=*) - WAITFORIT_PORT="${1#*=}" - shift 1 - ;; - -t) - WAITFORIT_TIMEOUT="$2" - if [[ $WAITFORIT_TIMEOUT == "" ]]; then break; fi - shift 2 - ;; - --timeout=*) - WAITFORIT_TIMEOUT="${1#*=}" - shift 1 - ;; - --) - shift - WAITFORIT_CLI=("$@") - break - ;; - --help) - usage - ;; - *) - echoerr "Unknown argument: $1" - usage - ;; - esac -done - -if [[ "$WAITFORIT_HOST" == "" || "$WAITFORIT_PORT" == "" ]]; then - echoerr "Error: you need to provide a host and port to test." - usage -fi - -WAITFORIT_TIMEOUT=${WAITFORIT_TIMEOUT:-15} -WAITFORIT_STRICT=${WAITFORIT_STRICT:-0} -WAITFORIT_CHILD=${WAITFORIT_CHILD:-0} -WAITFORIT_QUIET=${WAITFORIT_QUIET:-0} - -# Check to see if timeout is from busybox? -WAITFORIT_TIMEOUT_PATH=$(type -p timeout) -WAITFORIT_TIMEOUT_PATH=$(realpath $WAITFORIT_TIMEOUT_PATH 2>/dev/null || readlink -f $WAITFORIT_TIMEOUT_PATH) - -WAITFORIT_BUSYTIMEFLAG="" -if [[ $WAITFORIT_TIMEOUT_PATH =~ "busybox" ]]; then - WAITFORIT_ISBUSY=1 - # Check if busybox timeout uses -t flag - # (recent Alpine versions don't support -t anymore) - if timeout &>/dev/stdout | grep -q -e '-t '; then - WAITFORIT_BUSYTIMEFLAG="-t" - fi -else - WAITFORIT_ISBUSY=0 -fi - -if [[ $WAITFORIT_CHILD -gt 0 ]]; then - wait_for - WAITFORIT_RESULT=$? - exit $WAITFORIT_RESULT -else - if [[ $WAITFORIT_TIMEOUT -gt 0 ]]; then - wait_for_wrapper - WAITFORIT_RESULT=$? - else - wait_for - WAITFORIT_RESULT=$? - fi -fi - -if [[ $WAITFORIT_CLI != "" ]]; then - if [[ $WAITFORIT_RESULT -ne 0 && $WAITFORIT_STRICT -eq 1 ]]; then - echoerr "$WAITFORIT_cmdname: strict mode, refusing to execute subprocess" - exit $WAITFORIT_RESULT - fi - exec "${WAITFORIT_CLI[@]}" -else - exit $WAITFORIT_RESULT -fi diff --git a/Chapter08/gradflow/docker/mlflow/.dockerignore b/Chapter08/gradflow/docker/mlflow/.dockerignore deleted file mode 100644 index 54aea40..0000000 --- a/Chapter08/gradflow/docker/mlflow/.dockerignore +++ /dev/null @@ -1,7 +0,0 @@ -# Ignore everything -** - -# Allow files and directories -!./scripts/*.sh - -# ignore unnecessary files inside the folders diff --git a/Chapter08/gradflow/docker/mlflow/Dockerfile b/Chapter08/gradflow/docker/mlflow/Dockerfile deleted file mode 100644 index d7e8c31..0000000 --- a/Chapter08/gradflow/docker/mlflow/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -FROM python:3.7 - -EXPOSE 5000 - -ARG MLFLOW_VERSION -ARG SERVER_DIR=/server - -RUN pip install mlflow==$MLFLOW_VERSION psycopg2==2.8.* && \ - mkdir -p ${SERVER_DIR} - -COPY ./scripts/wait-for-it.sh ${SERVER_DIR}/ -RUN chmod +x ${SERVER_DIR}/wait-for-it.sh - -WORKDIR ${SERVER_DIR} - -# wait as long as 60 seconds for posgres to init db, which takes a lot of time particularly in mac osx -CMD ./wait-for-it.sh ${MLFLOW_BACKEND_STORE}:${POSTGRES_PORT} -t ${WAIT_FOR_IT_TIMEOUT} -- \ - mlflow server \ - --backend-store-uri postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${MLFLOW_BACKEND_STORE}:${POSTGRES_PORT}/${POSTGRES_DATABASE} \ - --default-artifact-root /${MLFLOW_ARTIFACT_STORE} \ - --host ${MLFLOW_TRACKING_SERVER_HOST} \ - --port ${MLFLOW_TRACKING_SERVER_PORT} diff --git a/Chapter08/gradflow/docker/mlflow/scripts/wait-for-it.sh b/Chapter08/gradflow/docker/mlflow/scripts/wait-for-it.sh deleted file mode 100644 index f6cbe95..0000000 --- a/Chapter08/gradflow/docker/mlflow/scripts/wait-for-it.sh +++ /dev/null @@ -1,183 +0,0 @@ -#!/usr/bin/env bash -# Use this script to test if a given TCP host/port are available -# Script fetched as is from https://github.com/vishnubob/wait-for-it/blob/ed77b63706ea721766a62ff22d3a251d8b4a6a30/wait-for-it.sh - -WAITFORIT_cmdname=${0##*/} - -echoerr() { if [[ $WAITFORIT_QUIET -ne 1 ]]; then echo "$@" 1>&2; fi } - -usage() -{ - cat << USAGE >&2 -Usage: - $WAITFORIT_cmdname host:port [-s] [-t timeout] [-- command args] - -h HOST | --host=HOST Host or IP under test - -p PORT | --port=PORT TCP port under test - Alternatively, you specify the host and port as host:port - -s | --strict Only execute subcommand if the test succeeds - -q | --quiet Don't output any status messages - -t TIMEOUT | --timeout=TIMEOUT - Timeout in seconds, zero for no timeout - -- COMMAND ARGS Execute command with args after the test finishes -USAGE - exit 1 -} - -wait_for() -{ - if [[ $WAITFORIT_TIMEOUT -gt 0 ]]; then - echoerr "$WAITFORIT_cmdname: waiting $WAITFORIT_TIMEOUT seconds for $WAITFORIT_HOST:$WAITFORIT_PORT" - else - echoerr "$WAITFORIT_cmdname: waiting for $WAITFORIT_HOST:$WAITFORIT_PORT without a timeout" - fi - WAITFORIT_start_ts=$(date +%s) - while : - do - if [[ $WAITFORIT_ISBUSY -eq 1 ]]; then - nc -z $WAITFORIT_HOST $WAITFORIT_PORT - WAITFORIT_result=$? - else - (echo > /dev/tcp/$WAITFORIT_HOST/$WAITFORIT_PORT) >/dev/null 2>&1 - WAITFORIT_result=$? - fi - if [[ $WAITFORIT_result -eq 0 ]]; then - WAITFORIT_end_ts=$(date +%s) - echoerr "$WAITFORIT_cmdname: $WAITFORIT_HOST:$WAITFORIT_PORT is available after $((WAITFORIT_end_ts - WAITFORIT_start_ts)) seconds" - break - fi - sleep 1 - done - return $WAITFORIT_result -} - -wait_for_wrapper() -{ - # In order to support SIGINT during timeout: http://unix.stackexchange.com/a/57692 - if [[ $WAITFORIT_QUIET -eq 1 ]]; then - timeout $WAITFORIT_BUSYTIMEFLAG $WAITFORIT_TIMEOUT $0 --quiet --child --host=$WAITFORIT_HOST --port=$WAITFORIT_PORT --timeout=$WAITFORIT_TIMEOUT & - else - timeout $WAITFORIT_BUSYTIMEFLAG $WAITFORIT_TIMEOUT $0 --child --host=$WAITFORIT_HOST --port=$WAITFORIT_PORT --timeout=$WAITFORIT_TIMEOUT & - fi - WAITFORIT_PID=$! - trap "kill -INT -$WAITFORIT_PID" INT - wait $WAITFORIT_PID - WAITFORIT_RESULT=$? - if [[ $WAITFORIT_RESULT -ne 0 ]]; then - echoerr "$WAITFORIT_cmdname: timeout occurred after waiting $WAITFORIT_TIMEOUT seconds for $WAITFORIT_HOST:$WAITFORIT_PORT" - fi - return $WAITFORIT_RESULT -} - -# process arguments -while [[ $# -gt 0 ]] -do - case "$1" in - *:* ) - WAITFORIT_hostport=(${1//:/ }) - WAITFORIT_HOST=${WAITFORIT_hostport[0]} - WAITFORIT_PORT=${WAITFORIT_hostport[1]} - shift 1 - ;; - --child) - WAITFORIT_CHILD=1 - shift 1 - ;; - -q | --quiet) - WAITFORIT_QUIET=1 - shift 1 - ;; - -s | --strict) - WAITFORIT_STRICT=1 - shift 1 - ;; - -h) - WAITFORIT_HOST="$2" - if [[ $WAITFORIT_HOST == "" ]]; then break; fi - shift 2 - ;; - --host=*) - WAITFORIT_HOST="${1#*=}" - shift 1 - ;; - -p) - WAITFORIT_PORT="$2" - if [[ $WAITFORIT_PORT == "" ]]; then break; fi - shift 2 - ;; - --port=*) - WAITFORIT_PORT="${1#*=}" - shift 1 - ;; - -t) - WAITFORIT_TIMEOUT="$2" - if [[ $WAITFORIT_TIMEOUT == "" ]]; then break; fi - shift 2 - ;; - --timeout=*) - WAITFORIT_TIMEOUT="${1#*=}" - shift 1 - ;; - --) - shift - WAITFORIT_CLI=("$@") - break - ;; - --help) - usage - ;; - *) - echoerr "Unknown argument: $1" - usage - ;; - esac -done - -if [[ "$WAITFORIT_HOST" == "" || "$WAITFORIT_PORT" == "" ]]; then - echoerr "Error: you need to provide a host and port to test." - usage -fi - -WAITFORIT_TIMEOUT=${WAITFORIT_TIMEOUT:-15} -WAITFORIT_STRICT=${WAITFORIT_STRICT:-0} -WAITFORIT_CHILD=${WAITFORIT_CHILD:-0} -WAITFORIT_QUIET=${WAITFORIT_QUIET:-0} - -# Check to see if timeout is from busybox? -WAITFORIT_TIMEOUT_PATH=$(type -p timeout) -WAITFORIT_TIMEOUT_PATH=$(realpath $WAITFORIT_TIMEOUT_PATH 2>/dev/null || readlink -f $WAITFORIT_TIMEOUT_PATH) - -WAITFORIT_BUSYTIMEFLAG="" -if [[ $WAITFORIT_TIMEOUT_PATH =~ "busybox" ]]; then - WAITFORIT_ISBUSY=1 - # Check if busybox timeout uses -t flag - # (recent Alpine versions don't support -t anymore) - if timeout &>/dev/stdout | grep -q -e '-t '; then - WAITFORIT_BUSYTIMEFLAG="-t" - fi -else - WAITFORIT_ISBUSY=0 -fi - -if [[ $WAITFORIT_CHILD -gt 0 ]]; then - wait_for - WAITFORIT_RESULT=$? - exit $WAITFORIT_RESULT -else - if [[ $WAITFORIT_TIMEOUT -gt 0 ]]; then - wait_for_wrapper - WAITFORIT_RESULT=$? - else - wait_for - WAITFORIT_RESULT=$? - fi -fi - -if [[ $WAITFORIT_CLI != "" ]]; then - if [[ $WAITFORIT_RESULT -ne 0 && $WAITFORIT_STRICT -eq 1 ]]; then - echoerr "$WAITFORIT_cmdname: strict mode, refusing to execute subprocess" - exit $WAITFORIT_RESULT - fi - exec "${WAITFORIT_CLI[@]}" -else - exit $WAITFORIT_RESULT -fi diff --git a/Chapter08/gradflow/docker/postgres/.dockerignore b/Chapter08/gradflow/docker/postgres/.dockerignore deleted file mode 100644 index b9991c7..0000000 --- a/Chapter08/gradflow/docker/postgres/.dockerignore +++ /dev/null @@ -1,8 +0,0 @@ -# Ignore everything -** - -# Allow files and directories -!init.sql - -# ignore unnecessary files inside the folders - diff --git a/Chapter08/gradflow/docker/postgres/Dockerfile b/Chapter08/gradflow/docker/postgres/Dockerfile deleted file mode 100644 index 56cc427..0000000 --- a/Chapter08/gradflow/docker/postgres/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM postgres:12.2 -# use the Debian variant (not the Alpine) to "fake" /etc/passwd contents for initdb -# see: https://github.com/docker-library/docs/tree/master/postgres#arbitrary---user-notes - -COPY init.sql /docker-entrypoint-initdb.d/ diff --git a/Chapter08/gradflow/docker/postgres/init.sql b/Chapter08/gradflow/docker/postgres/init.sql deleted file mode 100644 index d5d491c..0000000 --- a/Chapter08/gradflow/docker/postgres/init.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE DATABASE mlflow; \ No newline at end of file diff --git a/Chapter08/gradflow/docker/python-dev/Dockerfile b/Chapter08/gradflow/docker/python-dev/Dockerfile deleted file mode 100644 index 9019cd3..0000000 --- a/Chapter08/gradflow/docker/python-dev/Dockerfile +++ /dev/null @@ -1,15 +0,0 @@ -FROM python:3.7-slim - -# install git; needed for pip if the repo has git dependencies -RUN apt-get update && \ - apt-get install -y --no-install-recommends git && \ - apt-get purge -y --auto-remove && \ - rm -rf /var/lib/apt/lists/* - -COPY docker/python-dev/requirements.txt /install/ -RUN pip install -r /install/requirements.txt && \ - rm -rf /install - -COPY ./ /repo/ -WORKDIR /repo/ -CMD ["tox"] diff --git a/Chapter08/gradflow/docker/python-dev/Dockerfile.dockerignore b/Chapter08/gradflow/docker/python-dev/Dockerfile.dockerignore deleted file mode 100644 index 99bd147..0000000 --- a/Chapter08/gradflow/docker/python-dev/Dockerfile.dockerignore +++ /dev/null @@ -1,20 +0,0 @@ -# Ignore everything -** - -# Allow files and directories -!tests/python -!requirements.*txt -!docker/python-dev/requirements.txt -!setup.py -!src -!tox.ini -!.pylintrc - -# ignore unnecessary files inside the folders -**/*~ -**/*.log -**/.DS_Store -**/Thumbs.Distribution -**/.idea -**/*.pyc -**/.ipynb_checkpoints diff --git a/Chapter08/gradflow/docker/python-dev/requirements.txt b/Chapter08/gradflow/docker/python-dev/requirements.txt deleted file mode 100644 index 167709c..0000000 --- a/Chapter08/gradflow/docker/python-dev/requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -black -flake8 -pylint -pylint-fail-under -pytest -pytest-dependency -rope -tox \ No newline at end of file diff --git a/Chapter08/gradflow/requirements.txt b/Chapter08/gradflow/requirements.txt deleted file mode 100644 index 0dc4d7d..0000000 --- a/Chapter08/gradflow/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -xgboost -tensorflow -pandas-datareader -hyperopt - diff --git a/Chapter08/gradflow/setup.py b/Chapter08/gradflow/setup.py deleted file mode 100644 index 019790a..0000000 --- a/Chapter08/gradflow/setup.py +++ /dev/null @@ -1,77 +0,0 @@ -import os -import re - -from setuptools import find_packages, setup - -HERE = os.path.abspath(os.path.dirname(__file__)) -EXP_DIR = "src" - - -def get_version(): - """ Read version from __init__.py - - Raises: - ValueError: if __init__ is not read, or __version__ is not in __init__ - - Returns: - str -- value of __version__ as defined in __init__.py - """ - version_file2 = os.path.join( - HERE, EXP_DIR, "workbench", "__init__.py") - with open(version_file2) as f: - init_contents = f.read().strip() - - exp = r"^__version__ = ['\"]([^'\"]*)['\"]" - mo = re.search(exp, init_contents, re.M) - if mo: - return mo.group(1) - - raise ValueError("Unable to find version string in %s." % (f,)) - - -def get_long_description(): - """Get the long description from the README file - - Returns: - str -- the README content in the markdown format - """ - try: - with open(os.path.join(HERE, "README.md"), encoding="utf-8") as f: - return f.read() - except FileNotFoundError: # not necessary, e.g. in Docker - return "" - - -setup( - name="workbench", - version=get_version(), - url="", - description="A simple workbench", - long_description=get_long_description(), - long_description_content_type="text/markdown", - platforms="Linux", - license="agpl 3.0", - keywords=( - "docker " - "jupyter " - "mlflow " - "data-science " - ), - packages=find_packages(EXP_DIR), - package_dir={"": EXP_DIR}, - include_package_data=True, - python_requires="==3.7.*", - install_requires=[ - ], - extras_require={ - "development": [ - "black", - "flake8", - "pylint", - "pylint-fail-under", - "pytest", - "rope", - "tox" - ] - } -) diff --git a/Chapter08/gradflow/src/workbench/__init__.py b/Chapter08/gradflow/src/workbench/__init__.py deleted file mode 100644 index eb1acd2..0000000 --- a/Chapter08/gradflow/src/workbench/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -"""Python package for \"workbench\" -""" -__version__ = "0.1.0.dev0" diff --git a/Chapter08/gradflow/tests/docker/__init__.py b/Chapter08/gradflow/tests/docker/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/Chapter08/gradflow/tests/docker/test_mlflow.py b/Chapter08/gradflow/tests/docker/test_mlflow.py deleted file mode 100644 index 549f2d7..0000000 --- a/Chapter08/gradflow/tests/docker/test_mlflow.py +++ /dev/null @@ -1,126 +0,0 @@ -import mlflow -import pytest -import os - - -RUN_IDS = {} - - -@pytest.fixture(scope="module") -def logs(): - parameters = { - "param1": "param1_val", - "param2": "param2_val" - } - metric = { - "key": "metric1", - "step": list(range(10)), - "val": [i**2 for i in range(10)] - } - tag = { - "key": "tag_key1", - "val": "tag_val1" - } - - return { - "parameters": parameters, - "metric": metric, - "tag": tag - } - - -@pytest.fixture(scope="module") -def artifact(): - artifact_file = "dummy.txt" - with open(artifact_file, 'w'): - pass # create an empty file - - return artifact_file - - -def mlflow_start_run(commands): - experiment_name = 'test_experiment' - run_name = "test_run" - - mlflow.set_experiment(experiment_name) - with mlflow.start_run(run_name=run_name) as run: - commands() - return run.info.run_id - - -def mlflow_client(): - return mlflow.tracking.MlflowClient() - - -def mlflow_get_run(run_id): - return mlflow_client().get_run(run_id) - - -@pytest.mark.dependency() -def test_mlflow_log_to_backend(logs): - # GIVEN - def mlflow_commands(): - mlflow.log_params(logs["parameters"]) - - for ss, vv in zip(logs["metric"]["step"], logs["metric"]["val"]): - mlflow.log_metric(logs["metric"]["key"], vv, step=ss) - - mlflow.set_tag(logs["tag"]["key"], logs["tag"]["val"]) - - # WHEN - RUN_IDS["test_mlflow_log_to_backend"] = mlflow_start_run(mlflow_commands) - - # THEN - assert True # logging succeeded - - -@pytest.mark.dependency(depends=["test_mlflow_log_to_backend"]) -def test_mlflow_get_params(logs): - # GIVEN - run_id = RUN_IDS["test_mlflow_log_to_backend"] - - # WHEN - data = mlflow_get_run(run_id).data - - #THEN - assert data.params == logs["parameters"] - - -@pytest.mark.dependency(depends=["test_mlflow_log_to_backend"]) -def test_mlflow_get_metric(logs): - # GIVEN - run_id = RUN_IDS["test_mlflow_log_to_backend"] - - # WHEN - metric = mlflow_client().get_metric_history(run_id, logs["metric"]["key"]) - metric_vals = [mm.value for mm in metric] - metric_steps = [mm.step for mm in metric] - - #THEN - assert (metric_vals == logs["metric"]["val"]) and (metric_steps == logs["metric"]["step"]) - - -@pytest.mark.dependency() -def test_mlflow_log_artifact(artifact): - # GIVEN - def mlflow_commands(): - mlflow.log_artifact(artifact) - - # WHEN - RUN_IDS["test_mlflow_log_artifact"] = mlflow_start_run(mlflow_commands) - - # THEN - assert True # logging succeeded - - -@pytest.mark.dependency(depends=["test_mlflow_log_artifact"]) -def test_mlflow_get_artifact(artifact): - # GIVEN - run_id = RUN_IDS["test_mlflow_log_artifact"] - - # WHEN - artifact_dir = mlflow_get_run(run_id).info.artifact_uri - artifact_file = os.path.join(artifact_dir, artifact) - - #THEN - assert os.path.isfile(artifact_file) diff --git a/Chapter08/gradflow/tests/python/__init__.py b/Chapter08/gradflow/tests/python/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/Chapter08/gradflow/tests/python/test_version.py b/Chapter08/gradflow/tests/python/test_version.py deleted file mode 100644 index e16dcac..0000000 --- a/Chapter08/gradflow/tests/python/test_version.py +++ /dev/null @@ -1,4 +0,0 @@ -import workbench - -def test_version(): - assert workbench.__version__, "version not found" diff --git a/Chapter08/gradflow/tests/run_docker_tests.sh b/Chapter08/gradflow/tests/run_docker_tests.sh deleted file mode 100644 index 91ace66..0000000 --- a/Chapter08/gradflow/tests/run_docker_tests.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -set -e - -echo "Testing if workbench is installed in editable mode" -ls /opt/conda/lib/python3.7/site-packages/workbench.egg-link - -./wait-for-it.sh $1:$2 -t $3 -- \ - echo "Running pytest as $USER with uid $UID" && \ - pytest -vv "$(pwd)/docker" diff --git a/Chapter08/gradflow/tox.ini b/Chapter08/gradflow/tox.ini deleted file mode 100644 index 6e820dd..0000000 --- a/Chapter08/gradflow/tox.ini +++ /dev/null @@ -1,62 +0,0 @@ -# Tox (https://tox.readthedocs.io/) is a tool for running tests -# in multiple virtualenvs. This configuration file will run the -# test suite on all supported python versions. To use it, "pip install tox" -# and then run "tox" from this directory. -# -# See also https://tox.readthedocs.io/en/latest/config.html for more -# configuration options. - -[tox] -# Choose your Python versions. They have to be available -# on the system the tests are run on. -envlist = py37, lint -skip_missing_interpreters = true - -[testenv] -commands = - python --version - python -c "from workbench import __version__; print(__version__)" - pytest ./tests/python -m "not smoke" --cov=workbench --cov-report term --cov-append -description = run unittests -deps = - pytest - pytest-cov -depends = - py37: clean - report: py37 - -[testenv:report] -commands = - coverage report - coverage html -deps = coverage -skip_install = true - -[testenv:clean] -commands = coverage erase -deps = coverage -skip_install = true - -[testenv:flake8] -commands = - flake8 ./src/workbench - flake8 setup.py -deps = - flake8 -skip_install = true - -[testenv:pylint] -commands = - pylint-fail-under --fail_under 9.80 workbench setup.py -deps = - -rrequirements.txt - pylint - pylint-fail-under - -[testenv:lint] -deps = - {[testenv:flake8]deps} - {[testenv:pylint]deps} -commands = - {[testenv:flake8]commands} - {[testenv:pylint]commands} diff --git a/Chapter08/psystock-training/LICENSE b/Chapter08/psystock-training/LICENSE deleted file mode 100644 index 30e8c41..0000000 --- a/Chapter08/psystock-training/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Natu Lauchande - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Chapter08/psystock-training/mlflow_db b/Chapter08/psystock-training/mlflow_db deleted file mode 100644 index d266d84de7cecae18a51e62ae7623fbc2fb6a057..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 118784 zcmeI5e{37qeZYAX#a|M6b{vI~6~`AUu0-euNlDa?Xo^Bnl&qMdY+6bd#NO?AJjty2 zD|bgFO5kmh?WRGnVkow3E!uQL2P9aB1^r`Nv0^|oWGGr}K!L(tTC`i!)fkYXYtf=< zi(`>X2xxYY!qdC zjA3jxTNu5Mp|=OU?daW)-VXHEUzEPF&v)21y8L=4I)I{ogAWVPzwwW|-f+L}e9Kko zT=e|halhwpy(c}F?VtBNN`1!tbBd+dee~UKS+hr-fwd52%a?M(bJ8;f#G2)*a#`7D zi{+e9V7CQP%9l$L8#V9u>^TCiKsZcYo|3t2K@f$lyd9AwUXmxRJbKCCrG@QuVAs7;#edS31Pv+TKepICXUoJn8Q{sGN&^utMSZJ%&Fv4 z%pf*R5!y(voY_cf3Et42*y9R>Le$mc3WfqQ0$EcOWHHZ6<~^qgfH@D>K6p{s3D&F} zi$%=U-{uNcfmuqe#Ssz%7F=UV=86>q5_Bf?UDL67i7jy@W?^kDm5irNSz@)sR;&43 z&4BSSbNL2ZCfgfODfJj;bcHJFlgY#>W>71CCCv;*hM8zc$y-{>Bv+QxnDbywh{+_E zl9^;WkvxkvNlZNpK@S~v1%`&GD;@>9@LWX@5rvY>%G{P@+4Y;STQb|`u6t$8c?^mW zG~`3c$Tmu?&u8~hY2Vtu3ut*7Fb%}Nb`ueD=XB1YNXKG(= z6Puux8f=>i*&9tn^t0R2$Bcfvm|Ti)q}G{%$bd+Py#x7&0+ESdPMXw5NOsuo*9 z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2ZRihPKmZ5;0U!VbfB+Bx0zd!= W00AHX1c1P8OrXy(>+!UhO!$B2WUG<@ diff --git a/Chapter08/psystock-training/tmp/0/ed0a40810bbb44d883b6b7bb54776e12/artifacts/feature_importance_weight.json b/Chapter08/psystock-training/tmp/0/ed0a40810bbb44d883b6b7bb54776e12/artifacts/feature_importance_weight.json deleted file mode 100644 index fcf4250..0000000 --- a/Chapter08/psystock-training/tmp/0/ed0a40810bbb44d883b6b7bb54776e12/artifacts/feature_importance_weight.json +++ /dev/null @@ -1 +0,0 @@ -{"13": 6, "2": 20, "0": 25, "6": 19, "11": 12, "1": 19, "8": 14, "12": 10, "3": 22, "5": 14, "4": 12, "10": 6, "7": 14, "9": 4} \ No newline at end of file diff --git a/Chapter08/psystock-training/tmp/0/ed0a40810bbb44d883b6b7bb54776e12/artifacts/feature_importance_weight.png b/Chapter08/psystock-training/tmp/0/ed0a40810bbb44d883b6b7bb54776e12/artifacts/feature_importance_weight.png deleted file mode 100644 index aabacfb96b3694e80e439260606f42139c168bbb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16526 zcmd6O2UL_<)@^|qQ@5fBA{amk3IZY^(QJW$WF;$-6_6|$yUl?HK@<>Bau8HRk_1IX z$x)E3l7qw|hqo`<)Ao$B-db>WroB8Pii6?G3GMOf4;h z_;&FLY~N^NYinh*hoArKKQ7?2v^M7dSh+G3AF{;i$O#(?W#vioLl-R_WlEt)Pf`!; zRdo#NZ8-0uS~Wd8Fv{UcU3|~;@#&YpyxPna_-^adf>oP0nsHu;rdzOM!J3%p7{jYq z_G(T)e42Lb0mDP}gK^RkSK=AoY0@pA`|ZHT`2wCB>242A?!PCJ!mIO=>|T?O zEy2!4#l~%dy>&Js{sM0o<8D4IX0WBhpH^$>exXou1n0}(F9p9)@Vo8%Df20m$IJeM z7anUH8Aa~fzn}JgTZrgxqbP;@l`$$&O;fdpZn8`#3{29xqgq;8nrLh?Ck|2O^M#&B zGJ4-?y(V2^sy~8C68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Pd?S(1nEMHXSB*p`{Qnn7q6aM_-%q=C4ChvQZby)uDBf4ktn%lk(G5&->*i8uRVaK^l(& z9#0t)eeFVdC&f$YTA$;65wj+bXzvA6(uT9#paC42ie#^=9R^j9{D}RRK|D!v#PqKe03H47Mtjtm>(s7_ov07uZ9FaVHEZVgRn>_iyv3u?c From 3244ead101b315ae4d368705fca62d8d073d22e5 Mon Sep 17 00:00:00 2001 From: Marley Date: Mon, 12 Sep 2022 04:38:15 +0300 Subject: [PATCH 29/30] Update Dockerfile --- Chapter08/psystock-training-docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Chapter08/psystock-training-docker/Dockerfile b/Chapter08/psystock-training-docker/Dockerfile index f03e8e2..708f03c 100644 --- a/Chapter08/psystock-training-docker/Dockerfile +++ b/Chapter08/psystock-training-docker/Dockerfile @@ -5,6 +5,7 @@ RUN apt-get --allow-releaseinfo-change update && apt-get install build-essential RUN pip install \ mlflow==1.18.0 \ pymysql==1.0.2 \ + protobuf==3.20.* \ boto3 COPY ./training_project /src From 4c5ebfacd90cfb4e00bf5e1be543f86ed622aa9f Mon Sep 17 00:00:00 2001 From: Marley Date: Thu, 4 Jul 2024 04:22:08 +0300 Subject: [PATCH 30/30] Update Readme.md --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index f954557..2a90964 100644 --- a/Readme.md +++ b/Readme.md @@ -9,5 +9,5 @@ **Marley** -Запуск примеров разбирался здесь -Любые вопросы на русском: Телеграм чат +Запуск примеров разбирался здесь +Любые вопросы на русском: Телеграм чат