Skip to content
Snippets Groups Projects
Commit 2f7f499c authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

Add scatter plot matrix script and image

parent 4526a6d2
Branches
No related tags found
No related merge requests found
#%% imports
import pandas as pd
import seaborn as sns
from sklearn.datasets import load_iris
# %% load data
data = pd.concat(load_iris(return_X_y=True, as_frame=True), axis='columns')
# %% scatter plot matrix
sns.pairplot(data, hue='target', plot_kws=dict(alpha=0.8))
images/scatterplot-matrix.png

261 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment