Gradient Descent for Multiple Variables 【1】多变量线性模型 代价函数 Answer:AB 【2】Feature Scaling 特征缩放 Answer:D 【3】学习速率 α Answer: B ...
Question Consider the problem of predicting how well a student does in her second year of college university, given how well she did in her first year. Specifically, let x be equal to the number of A ...
2018-10-28 15:41 0 1396 推荐指数:
Gradient Descent for Multiple Variables 【1】多变量线性模型 代价函数 Answer:AB 【2】Feature Scaling 特征缩放 Answer:D 【3】学习速率 α Answer: B ...
Lecture2 Linear regression with one variable 单变量线性回归 2.1 模型表示 Model Representation 2.1.1 线性回归 Linear regression 2.1.2 单变量线性回归 Linear ...
课上习题 【1】线性回归 Answer: D A 特征缩放不起作用,B for all 不对,C zero error不对 【2】概率 Answer:A 【3】预测图形 Answer:A 5 - x1 ≥ 0时,y = 1。即x1 ≤ 5时,y ...
1. 模型表达(Model Representation) 我们的第一个学习算法是线性回归算法,让我们通过一个例子来开始。这个例子用来预测住房价格,我们使用一个数据集,该数据集包含俄勒冈州波特兰市的住房价格。在这里,我要根据不同房屋尺寸所售出的价格,画出我的数据集: 我们来看这个数 ...
1. The Problem of Overfitting 1 还是来看预测房价的这个例子,我们先对该数据做线性回归,也就是左边第一张图。 如果这么做,我们可以获得拟合数据的这样一条直线,但是,实际上这并不是一个很好的模型。我们看看这些数据,很明显,随着房子面积增大,住房价格的变化 ...
1. 模型表达(Model Representation) 我们的第一个学习算法是线性回归算法,让我们通过一个例子来开始。这个例子用来预测住房价格,我们使用一个数据集,该数据集包含俄勒冈州波特兰市的住房价格。在这里,我要根据不同房屋尺寸所售出的价格,画出我的数据集: 我们来看这个数 ...
* plotData.m * computeCost.m * gradientDescent.m * featureNormaliz ...
课上习题 【1】代价函数 【2】代价函数计算 【3】 【4】矩阵的向量化 【5】梯度校验 Answer:(1.013 -0.993) / 0.02 = 3.001 【6】梯度校验 Answer:学习的时候要去掉梯度校验,不然会特别慢 【7】随机 ...