


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
improve your deep learning skills from reading this assingment
Typology: Exercises
1 / 4
This page cannot be seen from the preview
Don't miss anything!



tips = sns.load_dataset("tips")
sns.relplot(x="total_bill", y="tip", data=tips);
sns.relplot(x="total_bill", y="tip", hue="smoker", data=tips);
sns.relplot(x="total_bill", y="tip", hue="smoker", style="smoker",data=tips);
sns.relplot(x="total_bill", y="tip", hue="smoker", style="time", data=tips);
sns.relplot(x="total_bill", y="tip", hue="size", data=tips);
sns.relplot(x="total_bill", y="tip", hue="size", palette="ch:r=-.5,l=.75", data=tips);
import seaborn as sns
import matplotlib.pyplot as plt
sns.set(style="ticks", color_codes= True )
tips = sns.load_dataset("tips")
sns.catplot(x="color", y="price", kind="boxen", data=diamonds.sort_values("color"));
data = np.random.multivariate_normal([0, 0], [[5, 2], [2, 2]], size=2000)
data = pd.DataFrame(data, columns=['x', 'y'])
plt.hist(data[col], normed=True, alpha=0.5)
sns.kdeplot(data[col], shade=True)
sns.distplot(data['x'])
sns.distplot(data['y']);
sns.kdeplot(data);
1.sns.catplot(x="total_bill", y="day", hue="time", kind="violin", data=tips); 2.sns.catplot(x="total_bill",y="day", hue="time", kind="violin",bw=.15, cut=0,data=tips)
iris = sns.load_dataset("iris")
iris.head()
sns.pairplot(iris, hue='species', size=2.5);