Plotting model residuals
seaborn components used: set_theme(), residplot()
import numpy as np
import seaborn as sns
sns.set_theme(style="whitegrid")
# Make an example dataset with y ~ x
seaborn components used: set_theme(), residplot()
import numpy as np
import seaborn as sns
sns.set_theme(style="whitegrid")
# Make an example dataset with y ~ x