Software Engineering for Machine Learning are techniques and guidelines for building ML applications that do not concern the core ML problem -- e.g. the development of new algorithms -- but rather the surrounding activities like data ingestion, coding, testing, versioning, deployment, quality control, and team collaboration. Good software engineering practices enhance development, deployment and maintenance of production level applications using machine learning components.
β Must-read
π Scientific publication
Based on this literature, we compiled a survey on the adoption of software engineering practices for applications with machine learning components.
Feel free to take and share the survey and to read more!
- Broad Overviews
- Data Management
- Model Training
- Deployment and Operation
- Social Aspects
- Governance
- Tooling
These resources cover all aspects.
- AI Engineering: 11 Foundational Practices β
- Best Practices for Machine Learning Applications
- Engineering Best Practices for Machine Learning β
- Hidden Technical Debt in Machine Learning Systems πβ
- Rules of Machine Learning: Best Practices for ML Engineering β
- Software Engineering for Machine Learning: A Case Study πβ
How to manage the data sets you use in machine learning.
- A Survey on Data Collection for Machine Learning A Big Data - AI Integration Perspective_2019 π
- Automating Large-Scale Data Quality Verification π
- Data management challenges in production machine learning
- Data Validation for Machine Learning π
- How to organize data labelling for ML
- The curse of big data labeling and three ways to solve it
- The Data Linter: Lightweight, Automated Sanity Checking for ML Data Sets π
- The ultimate guide to data labeling for ML
How to organize your model training experiments.
- 10 Best Practices for Deep Learning
- Apples-to-apples in cross-validation studies: pitfalls in classifier performance measurement π
- How do you manage your Machine Learning Experiments?
- Machine Learning Testing: Survey, Landscapes and Horizons π
- Nitpicking Machine Learning Technical Debt
- On Comparing Classifiers: Pitfalls to Avoid and a Recommended Approach πβ
- On human intellect and machine failures: Troubleshooting integrative machine learning systems π
- Pitfalls and Best Practices in Algorithm Configuration π
- Pitfalls of supervised feature selection π
- Preparing and Architecting for Machine Learning
- Preliminary Systematic Literature Review of Machine Learning System Development Process π
- Software development best practices in a deep learning environment
- Testing and Debugging in Machine Learning
- What Went Wrong and Why? Diagnosing Situated Interaction Failures in the Wild π
How to deploy and operate your models in a production environment.
- Best Practices in Machine Learning Infrastructure
- Continuous Delivery for Machine Learning β
- Continuous Training for Production ML in the TensorFlow Extended (TFX) Platform π
- Fairness Indicators: Scalable Infrastructure for Fair ML Systems π
- Machine Learning Logistics
- Machine learning: Moving from experiments to production
- ML Ops: Machine Learning as an engineered disciplined
- Model Governance Reducing the Anarchy of Production π
- ModelOps: Cloud-based lifecycle management for reliable and trusted AI
- Operational Machine Learning
- Scaling Machine Learning as a Serviceπ
- TFX: A tensorflow-based Production-Scale ML Platform π
- The ML Test Score: A Rubric for ML Production Readiness and Technical Debt Reduction π
- Underspecification Presents Challenges for Credibility in Modern Machine Learning π
- Versioning for end-to-end machine learning pipelines π
How to organize teams and projects to ensure effective collaboration and accountability.
- Data Scientists in Software Teams: State of the Art and Challenges π
- Machine Learning Interviews
- Managing Machine Learning Projects
- Principled Machine Learning: Practices and Tools for Efficient Collaboration
- An Architectural Risk Analysis Of Machine Learning Systems
- Closing the AI Accountability Gap: Defining an End-to-End Framework for Internal Algorithmic Auditing π
- Inherent trade-offs in the fair determination of risk scores π
- Responsible AI practices β
- Toward Trustworthy AI Development: Mechanisms for Supporting Verifiable Claims
Tooling can make your life easier.
We only share open source tools, or commercial platforms that offer substantial free packages for research.
- Airflow - Programmatically author, schedule and monitor workflows.
- Archai - Neural architecture search.
- Data Version Control (DVC) - DVC is a data and ML experiments management tool.
- Facets Overview / Facets Dive - Robust visualizations to aid in understanding machine learning datasets.
- FairLearn - A toolkit to assess and improve the fairness of machine learning models.
- Git Large File System (LFS) - Replaces large files such as datasets with text pointers inside Git.
- Great Expectations - Data validation and testing with integration in pipelines.
- HParams - A thoughtful approach to configuration management for machine learning projects.
- Kubeflow - A platform for data scientists who want to build and experiment with ML pipelines.
- Label Studio - A multi-type data labeling and annotation tool with standardized output format.
- LiFT - Linkedin fairness toolkit.
- MLFlow - Manage the ML lifecycle, including experimentation, deployment, and a central model registry.
- Model Card Toolkit - Streamlines and automates the generation of model cards; for model documentation.
- Neptune.ai - Experiment tracking tool bringing organization and collaboration to data science projects.
- Neuraxle - Sklearn-like framework for hyperparameter tuning and AutoML in deep learning projects.
- OpenML - An inclusive movement to build an open, organized, online ecosystem for machine learning.
- Robustness Metrics - Lghtweight modules to evaluate the robustness of classification models.
- Spark Machine Learning - Sparkβs ML library consisting of common learning algorithms and utilities.
- TensorBoard - TensorFlow's Visualization Toolkit.
- Tensorflow Extended (TFX) - An end-to-end platform for deploying production ML pipelines.
- Weights & Biases - Experiment tracking, model optimization, and dataset versioning.
Contributions welcomed! Read the contribution guidelines first