course机器学习第一周第二节试题整理

本文整理了机器学习课程中关于线性回归的习题解答,包括预测学生第二年成绩、线性回归模型参数、计算h_θ(6)、梯度下降特性和训练集完美拟合的情况分析。
摘要由CSDN通过智能技术生成

这些是我自己做题的思路,但是吧,本人能力和水平有限,存在理解有问题却不自知的情况,望大家帮忙指正,思路仅供参考哈

第一题
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” grades (including A-. A and A+ grades) that a student receives in their first year of college (freshmen year). We would like to predict the value of y, which we define as the number of “A” grades they get in their second year (sophomore year).

Here each row is one training example. Recall that in linear regression, our hypothesis is h_θ(x)=θ_0 +θ_1x, and we use m to denote the number of training examples.
在这里插入图片描述
For the training set given above (note that this training set may also be referenced in other questions in this quiz), wha

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值