data_analysis.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:-Python-Analysis_of_wine_quality 作者: ekolik 项目源码 文件源码
def pearson(wine_set):
    scat1 = seaborn.regplot(x="density", y="residual_sugar", fit_reg=True, data=wine_set)
    plt.xlabel("Density of wine")
    plt.ylabel("Residual sugar in wine, gram")
    plt.title("Association between wine's density and residual sugar")
    plt.show()

    print(scipy.stats.pearsonr(wine_set['density'], wine_set["residual_sugar"]))

# print('----------------Pearson Correlation------------------------')
# call(pearson)


# -----------------------------------------Exploring Statistical Interactions------------------
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号