
机器学习
文章平均质量分 81
逍遥扇
这个作者很懒,什么都没留下…
展开
-
Machine Learning in Action | ApacheCN(apache中文网)
Machine Learning Machine Leaning in Action (python) | ApacheCN(apache中文网) github地址:https://github.com/apachecn/MachineLearning 第一部分 分类 机器学习基础 机器学习基础 k-近邻算法 k-近邻算法 决策树 决策转载 2017-04-11 10:37:40 · 700 阅读 · 0 评论 -
机器学习实战:单变量线性回归的实现
一、算法实现 由前面的理论,我们知道了用梯度下降解决线性回归的公式: 梯度下降解决线性回归思路: 算法实现: ComputeCost函数: [plain] view plain copy function J = computeCost(X,转载 2017-04-18 13:34:47 · 359 阅读 · 0 评论 -
Cousera-stanford-机器学习练习-第二周-Linear Regression with Multiple Variables
Linear Regression with Multiple Variables 1 Suppose m=4 students have taken some class, and the class had a midterm exam and a final exam. You have collected a dataset of their scores on the two exa转载 2017-04-17 09:09:20 · 5047 阅读 · 0 评论 -
机器学习实战--KNN代码解析
''' kNN: K近邻算法 Input: inX: 要判断的数据 dataSet: 训练数据集 labels: 数据分类 k: 输出结果的个数 Output: 输出欧氏距离最小的k个数 这个KNN算法的主程序 ''' from numpy import * import ope原创 2017-04-17 09:12:17 · 636 阅读 · 0 评论