You are on page 1of 2

3/13/24, 3:49 PM Data Visualization Cheat Sheet for Basic Machine Learning Algorithms | by Boriharn K | Mar, 2024 | Tow

s | by Boriharn K | Mar, 2024 | Tow ards Data Science

Basic machine learning data visualization cheat sheet — Created by author.

https://tow ardsdatascience.com/data-visualization-cheat-sheet-for-basic-machine-learning-algorithms-770c8e61729d 4/12


3/13/24, 3:49 PM Data Visualization Cheat Sheet for Basic Machine Learning Algorithms | by Boriharn K | Mar, 2024 | Tow ards Data Science

Before continuing, please take into account that the data visualizations
recommended in the cheat sheet are just some quick initial ideas. There may
be cases where these charts are unsuitable to use. Next, I will guide you with
examples of how to plot the charts using Python.

Let's get started.

Getting data
Start with importing libraries:

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline

This article is going to use the iris dataset, which can be directly downloaded
from the Sklearn library. The dataset can also be found on the UCI ML iris
data and is licensed under a CC BY 4.0 license.

https://tow ardsdatascience.com/data-visualization-cheat-sheet-for-basic-machine-learning-algorithms-770c8e61729d 5/12

You might also like