Book Image

Reproducible Data Science with Pachyderm

By : Svetlana Karslioglu
Book Image

Reproducible Data Science with Pachyderm

By: Svetlana Karslioglu

Overview of this book

Pachyderm is an open source project that enables data scientists to run reproducible data pipelines and scale them to an enterprise level. This book will teach you how to implement Pachyderm to create collaborative data science workflows and reproduce your ML experiments at scale. You’ll begin your journey by exploring the importance of data reproducibility and comparing different data science platforms. Next, you’ll explore how Pachyderm fits into the picture and its significance, followed by learning how to install Pachyderm locally on your computer or a cloud platform of your choice. You’ll then discover the architectural components and Pachyderm's main pipeline principles and concepts. The book demonstrates how to use Pachyderm components to create your first data pipeline and advances to cover common operations involving data, such as uploading data to and from Pachyderm to create more complex pipelines. Based on what you've learned, you'll develop an end-to-end ML workflow, before trying out the hyperparameter tuning technique and the different supported Pachyderm language clients. Finally, you’ll learn how to use a SaaS version of Pachyderm with Pachyderm Notebooks. By the end of this book, you will learn all aspects of running your data pipelines in Pachyderm and manage them on a day-to-day basis.
Table of Contents (16 chapters)
1
Section 1: Introduction to Pachyderm and Reproducible Data Science
5
Section 2:Getting Started with Pachyderm
12
Section 3:Pachyderm Clients and Tools

Creating a hyperparameter tuning pipeline in Pachyderm

In this section, we will explore our hyperparameter tuning pipeline and will create all the required attributes in Pachyderm to run our example.

Example overview

The house price prediction challenge is one of the classic ML examples of hyperparameter tunning optimization. It might not sound that complicated and may even be easy to predict based on your empirical experience. Likely, you know the area where you live pretty well and can estimate the price of houses based on square footage, number of rooms, adjacent land plot, and other parameters.

This information can be represented in a form of a two-dimensional (2D) array or a table with mentioned parameters. Here is an example of such a table:

Figure 9.4 – Sample housing data

Based on this information, you can predict the price of a house with similar characteristics without using any ML model and just by looking at these numbers.

But...