pyearchs专题

鸢尾花的可视化(散点图、小提琴图、以及pyearchs平行坐标图)

一、鸢尾花散点图 import matplotlib.pyplot as pltimport numpy as npimport pandas as pd# 数据准备from sklearn import datasetsiris = datasets.load_iris()x, y = iris.data, iris.targetpd_iris = pd.DataFrame(np.h