text_plain_output_1.png
import matplotlib.pyplot as plt

import numpy as np

import pandas as pd

import seaborn as sns

concat_california_array = np.concatenate((california.data, np.reshape(california.target, (california.target.shape[0], 1))), axis=1)
california_df = pd.DataFrame(concat_california_array, columns=california.feature_names + ['price'])

plt.colorbar()

plt.figure(figsize=(11, 7))
sns.heatmap(cbar=False, annot=True, data=california_df.corr() * 100, cmap='coolwarm')
plt.title('% Corelation Matrix')
plt.show()