Technical requirements
The examples illustrated in this book use Python 3.8. You can download it from the official website at https://www.python.org/downloads/ and choose version 3.8.
The examples described in this chapter use the following Python packages:
comet-ml 3.23.0
matplotlib 3.4.3
numpy 1.19.5
pandas 1.3.4
scikit-learn 1.0
comet-ml
comet-ml
is the main package to interact with Comet in Python. You can follow the official procedure to install the package, as explained at this link: https://www.comet.ml/docs/quick-start/.
Alternatively, you can install the package with pip
in the command line, as follows:
pip install comet-ml==3.23.0
matplotlib
matplotlib
is a very popular package for data visualization in Python. You can install it by following the official documentation, found at this link: https://matplotlib.org/stable/users/getting_started/index.html.
In pip
, you can easily install matplotlib
, as follows:
pip install matplotlib== 3.4.3
numpy
numpy
is a package that provides useful functions on arrays and linear algebra. You can follow the official procedure, found at https://numpy.org/install/, to install numpy
, or you can simply install it through pip
, as follows:
pip install numpy==1.19.5
pandas
pandas
is a very popular package for loading, cleaning, exploring, and managing datasets. You can install it by following the official procedure as explained at this link: https://pandas.pydata.org/getting_started.html.
Alternatively, you can install the pandas
package through pip
, as follows:
pip install pandas==1.3.4
scikit-learn
scikit-learn
is a Python package for machine learning. It provides different machine learning algorithms, as well as functions and methods for data wrangling and model evaluation. You can install scikit-learn
by following the official documentation, as explained at this link: https://scikit-learn.org/stable/install.html.
Alternatively, you can install scikit-learn
through pip
, as follows:
pip install scikit-learn==1.0
Now that we have installed all the required libraries, we can move on to how to get started with Comet, starting from the beginning. We will cover the motivation, purpose, and first access to the Comet platform.