Using Scikit-Learn's Interface for Turning Spaghetti Data Science into Maintainable Software
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Learn how to transform messy data science code into maintainable software using Scikit-Learn's interface in this EuroPython conference talk. Explore techniques for structuring number-crunching code, especially for data processing, cleanup, and feature construction. Discover how to leverage Scikit-Learn's estimator and composite classes to encapsulate complex machine learning models into a manageable tree of objects. Gain insights into simplifying model development, testing, and validation while combining best practices from software engineering and data science. Follow along with examples demonstrating how to use pipelines for chained transformations, apply the single-responsibility principle to estimators, and create serializable trained models. No prior knowledge of Scikit-Learn is required to benefit from this presentation on improving code structure and maintainability in data science projects.
Syllabus
Intro
Supervised Machine Learning
Training a Machine Learning Model
Training a model
Preparing data for the estimator
Testing out transformer
Composition using Pipelines: Chained transformations
Scikit-Learn offers transformers data preparation
Conclusions Use fit/predict and fit/transform interfaces. • Apply single-responsibility principle to estimators. - Think in small, testable units Have your complete trained model in a serialisable object.
Taught by
EuroPython Conference
Related Courses
Intro to Computer ScienceUniversity of Virginia via Udacity Software Engineering for SaaS
University of California, Berkeley via Coursera CS50's Introduction to Computer Science
Harvard University via edX UNSW Computing 1 - The Art of Programming
OpenLearning Mobile Robotics
Open2Study