随笔分类 -  机器学习

最小二乘法应用:用直线或曲线模型拟合散点
摘要:记录下用最小二乘法拟合线性模型的代码实现: 1、应用正规方程(Normal Equation)求解最小二乘法举例: 最简单的y关于x的线性方程\(y=\beta_0+\beta_1x\) 预测值和观察值: 写成矩阵形式: \(X\beta=y\),其中\(X=\begin{bmatrix} 1& x 阅读全文
posted @ 2021-02-10 09:11 DavidXu2014 阅读(1179) 评论(0) 推荐(0)
《Hands-On Maching Learning with Scikit-Learn and TensorFow》第一章 机器学习的景观
摘要:1.How would you define Machine Learning?(你怎么定义机器学习?) Machine Learning is the science (and art) of programming computers so they can learn from data. A 阅读全文
posted @ 2018-12-16 19:46 DavidXu2014 阅读(242) 评论(0) 推荐(0)