From d2cc230eb92bfd309d6ac76abef350ee9fcad140 Mon Sep 17 00:00:00 2001 From: Jonatan Emil Svendsen <153636466+JohnBBB42@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:00:19 +0100 Subject: [PATCH 1/5] Fixed spelling mistakes (#307) Co-authored-by: Nicki Skafte Detlefsen --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc7884fa5..44bc4dbff 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ The lifecycle of production ML can largely be divided into three phases: our model is generalizing well. 3. Operations: Based on the model development phase, we now have a model that we want to use. The operations are where - create an automatic pipeline that makes sure that whenever we make changes to our codebase they get automatically + we create an automatic pipeline that makes sure that whenever we make changes to our codebase they get automatically incorporated into our model, such that we do not slow down production. Equally important is the ongoing monitoring of already deployed models to make sure that they behave exactly as we specified them. @@ -114,7 +114,7 @@ production setting. General course objective -> Introduce the student to a number of coding practices that will help them organization, scale, +> Introduce the student to a number of coding practices that will help them organize, scale, > monitor and deploy machine learning models either in a research or production setting. To provide > hands-on experience with a number of frameworks, both local and in the cloud, for doing large > scale machine learning models. From a1b7fa236945c0c96adcde07de0078078aad9bfc Mon Sep 17 00:00:00 2001 From: "Anton M. Storgaard" <93330365+osquera@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:00:34 +0100 Subject: [PATCH 2/5] bugfix: wrong package name (#310) Co-authored-by: Nicki Skafte Detlefsen From a2366c14d3c1c2034e19e8d8d13fd42a8bb80160 Mon Sep 17 00:00:00 2001 From: CalleRC <65073381+CalleRC@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:02:21 +0100 Subject: [PATCH 3/5] Update cli.md (#313) Changes typo from "hello" to "python" in invoke command Co-authored-by: Nicki Skafte Detlefsen --- s2_organisation_and_version_control/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s2_organisation_and_version_control/cli.md b/s2_organisation_and_version_control/cli.md index 7c2168f29..15324d5f2 100644 --- a/s2_organisation_and_version_control/cli.md +++ b/s2_organisation_and_version_control/cli.md @@ -321,7 +321,7 @@ easier. returns the current Python interpreter but it works for all operating systems. Check that it works by running: ```bash - invoke hello + invoke python ``` 4. Lets try to create a task that simplifies the process of `git add`, `git commit`, `git push`. Create a task such From 2d1806be2408a1304a893ce04f6d51ae9cc26317 Mon Sep 17 00:00:00 2001 From: HarrisNH <114136788+HarrisNH@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:06:23 +0100 Subject: [PATCH 4/5] Spelling error in title of day 3. (#314) Co-authored-by: HarrisNH Co-authored-by: Nicki Skafte Detlefsen --- mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index d90332e36..8193b5034 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -105,7 +105,7 @@ nav: - M7 - Good coding practice: s2_organisation_and_version_control/good_coding_practice.md - M8 - Data version control: s2_organisation_and_version_control/dvc.md - M9 - Command Line Interfaces: s2_organisation_and_version_control/cli.md - - S3 - Reproduceability ♻️: + - S3 - Reproducibility ♻️: - s3_reproducibility/README.md - M10 - Docker: s3_reproducibility/docker.md - M11 - Config Files: s3_reproducibility/config_files.md From af242e89f7674201a4554f8d6b933a2ea2bc8f10 Mon Sep 17 00:00:00 2001 From: martin5709 Date: Mon, 6 Jan 2025 21:10:12 +0100 Subject: [PATCH 5/5] Fix small typos (#315) Co-authored-by: Nicki Skafte Detlefsen --- s2_organisation_and_version_control/cli.md | 2 +- s2_organisation_and_version_control/code_structure.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/s2_organisation_and_version_control/cli.md b/s2_organisation_and_version_control/cli.md index 15324d5f2..2ea5b29a3 100644 --- a/s2_organisation_and_version_control/cli.md +++ b/s2_organisation_and_version_control/cli.md @@ -113,7 +113,7 @@ argument here is to give users of our code a single entrypoint to interact with multiple scripts. As long as all subcommands are proper documented, then our interface should be simple to interact with (again think `git` where each subcommand can be given the `-h` arg to get specific help). -Instead of using `argparse` we are here going to look at the [yyper](https://typer.tiangolo.com/) package. `typer` +Instead of using `argparse` we are here going to look at the [typer](https://typer.tiangolo.com/) package. `typer` extends the functionalities of `argparse` to allow for easy definition of subcommands and many other things, which we are not going to touch upon in this module. For completeness we should also mention that `typer` is not the only package for doing this, and of other excellent frameworks for creating command line interfaces easily we can mention diff --git a/s2_organisation_and_version_control/code_structure.md b/s2_organisation_and_version_control/code_structure.md index 400da2571..82dcd4346 100644 --- a/s2_organisation_and_version_control/code_structure.md +++ b/s2_organisation_and_version_control/code_structure.md @@ -109,7 +109,7 @@ a lot of projects using `setup.py + setup.cfg`, so it is good to at least know a ``` the `[build-system]` informs `pip`/`python` that to build this Python project it needs the two packages - `setuptools` and `wheels` and that it should call the + `setuptools` and `wheel` and that it should call the [setuptools.build_meta](https://setuptools.pypa.io/en/latest/build_meta.html) function to actually build the project. The `[project]` section essentially contains metadata regarding the package, what its called etc. if we ever want to publish it to [PyPI](https://pypi.org/).