링크 : Seaborn regplot
feature 값에 대한 target의 예측 값을 그래프로 그려 볼 수 있다.
# feature 와 target 을 설정 한후 feature 들의 선형 예측
import seaborn as sns
import matplotlib.pyplot as plt
plt.title('Coef')
sns.regplot(x=feature, y=target, color = 'skyblue', line_kws={"color": "red"});
train을 통한 예측 범위를 그려볼수 있다.
import seaborn as sns
sns.regplot(x=train['GrLivArea'], y=train['SalePrice']).set_title('Housing Prices');