LoslegenKostenlos loslegen

Exploring a multivariate normal distribution

In this exercise, you'll be working with a DataFrame called house_price_size, which contains two columns called price and size, representing the price and size of houses, respectively.

You'll first explore the data to gain some understanding of the distribution and relationship of the two variables price and size, and then you will obtain a covariance matrix for these two variables.

The following packages have been imported for you: seaborn as sns, pandas as pd, and matplotlib.pyplot as plt.

Diese Übung ist Teil des Kurses

Monte Carlo Simulations in Python

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Generate a pairplot of the data
____
plt.show()
Code bearbeiten und ausführen