Skip to main content

An opinionated, pedagogical guide on software engineering best practices for those of us in machine learning.

Project description

build

Software Engineering Best Practices, a Machine Learners Perspective

This repository is meant to serve as an opinionated, pedagogical guide on software engineering best practices for those of us in machine learning.

What is this guide NOT?

It is NOT a comprehensive overview of best practices in software engineering. It is a highly opinionated sampling of tools and ideas that are important for writing good code in a machine learning project. This includes linting, formatting and testing.

Who is this guide for?

Machine learners who are not currently following software engineering best practices in their projects but would like to.

What is machine learning specific about this guide?

In truth, nothing important. We use Python as the language of choice as it is popular in machine learning, and we write some machine learning specific tests. Otherwise, this guide could apply to (almost) any python project.

What tools will this guide cover?

  • Poetry, for managing virtual environments and package dependencies.
  • flake8, for linting.
  • black, for formatting.
  • pytest, for testing.
  • GitHub Actions, for continous integration / continous development (CI/CD).

Follow along with the guide here: https://johngiorgi.github.io/se_best_practices_ml_perspective/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file se_best_practices_ml_perspective-0.1.1.tar.gz.

File metadata

File hashes

Hashes for se_best_practices_ml_perspective-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9b2899306412762afd5a5fcb5ceb89508d814cb4d72573c2e72fee0dbfa36eab
MD5 6b427f72d1327aed327dfbcab398ec10
BLAKE2b-256 08effd68477761ff3005cffc47958318ddc17d78324a4362ed5745130ae233ca

See more details on using hashes here.

File details

Details for the file se_best_practices_ml_perspective-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for se_best_practices_ml_perspective-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e0d53651068d87b2fd459d3fa1d5a0f36ca79c571d51608929053378ff2665d
MD5 5738e8ca00eaeb2bfe63ff657e94dcdc
BLAKE2b-256 411fb1857bb77955dec40931ac913ab34be1b994c3111a7988d6571c2f5b4e66

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page