Book Image

Comet for Data Science

By : Angelica Lo Duca
Book Image

Comet for Data Science

By: Angelica Lo Duca

Overview of this book

This book provides concepts and practical use cases which can be used to quickly build, monitor, and optimize data science projects. Using Comet, you will learn how to manage almost every step of the data science process from data collection through to creating, deploying, and monitoring a machine learning model. The book starts by explaining the features of Comet, along with exploratory data analysis and model evaluation in Comet. You’ll see how Comet gives you the freedom to choose from a selection of programming languages, depending on which is best suited to your needs. Next, you will focus on workspaces, projects, experiments, and models. You will also learn how to build a narrative from your data, using the features provided by Comet. Later, you will review the basic concepts behind DevOps and how to extend the GitLab DevOps platform with Comet, further enhancing your ability to deploy your data science projects. Finally, you will cover various use cases of Comet in machine learning, NLP, deep learning, and time series analysis, gaining hands-on experience with some of the most interesting and valuable data science techniques available. By the end of this book, you will be able to confidently build data science pipelines according to bespoke specifications and manage them through Comet.
Table of Contents (16 chapters)
1
Section 1 – Getting Started with Comet
5
Section 2 – A Deep Dive into Comet
10
Section 3 – Examples and Use Cases

Combining Comet and DevOps/MLOps

You can integrate Comet with the deployment process to monitor and keep track of your experiments. In addition to the techniques described in the previous chapters, Comet also provides a REST API service to access your projects, workspaces, experiments, and assets. You can easily integrate the REST API service with the other services provided by DevOps and MLOps platforms, as you will see later in this chapter.

The section is organized as follows:

  • Comet in the DevOps life cycle
  • Setting up the Comet REST API
  • Using the Comet REST API

Let’s start with the first point, Comet in the DevOps life cycle.

Comet in the DevOps life cycle

Let’s suppose that you have already built a model and now you want to refine it, to improve its performance. If you do not use any tracking system, it becomes very easy to lose changes in your code, which are the hyperparameters for your model, and even the final artifacts.

A very...