摘要: 本代码参考自:https://github.com/lawlite19/MachineLearning_Python/blob/master/LogisticRegression/LogisticRegression.py 1. 读取数据集 2. 查看原始数据的分布 结果: 3. 将数据映射为多项式 阅读全文
posted @ 2019-10-30 18:46 RamboBai 阅读(3312) 评论(0) 推荐(0) 编辑
摘要: 本代码参考自:https://github.com/lawlite19/MachineLearning_Python#%E4%B8%80%E7%BA%BF%E6%80%A7%E5%9B%9E%E5%BD%92 首先,线性回归公式:y = X*W +b 其中X是m行n列的数据集,m代表样本的个数,n代 阅读全文
posted @ 2019-10-30 13:45 RamboBai 阅读(2162) 评论(0) 推荐(0) 编辑