text_html_output_1.png
import numpy as np

import seaborn as sns

dataset.columns

df = dataset.drop(columns=['date', 'id'])
df1 = df.dropna()

with sns.plotting_context("notebook",font_scale=2.5):
    g = sns.pairplot(dataset[['sqft_lot','sqft_above','price','sqft_living','bedrooms']], 
                 hue='bedrooms', palette='tab20',height=6)
g.set(xticklabels=[]);

df.columns

X = df.drop(columns=['price'])[:10]
y = df['price'][:10]

X_test = df.drop(columns=['price'])[:10]
X_test

X = df.drop(columns=['price'])[:10]
y = df['price'][:10]

X = df.drop(columns=['price'])[:10]
y = df['price'][:10]
X_b = np.c_[np.ones((10, 1)), X]
X = X.to_numpy()
y = y.to_numpy()

sns.lmplot(x='sqft_living', y='price', data=df, ci=None)