网站大量收购独家精品文档,联系QQ:2885784924

斯坦福大学机器学习课程讲义—— 多变量的线性回归模型表达.pptx

斯坦福大学机器学习课程讲义—— 多变量的线性回归模型表达.pptx

  1. 1、本文档共39页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
斯坦福大学机器学习课程讲义—— 多变量的线性回归模型表达会计学第2页/共40页Multiple features (variables).Size (feet2)Number of bedroomsNumber of floorsAge of home (years)Price ($1000)2104514546014163240232153432303158522136178……………第3页/共40页Multiple features (variables).Size (feet2)Number of bedroomsNumber of floorsAge of home (years)Price ($1000)2104514546014163240232153432303158522136178……………Notation:= number of features= input (features) of training example.= value of feature in training example.第4页/共40页Hypothesis: Previously:第5页/共40页For convenience of notation, define .Multivariate linear regression.第6页/共40页第7页/共40页Linear Regression with multiple variablesGradient descent for multiple variablesMachine Learning第8页/共40页Hypothesis:Parameters:Cost function:Gradient descent:Repeat(simultaneously update for every )第9页/共40页New algorithm :Gradient DescentRepeatPreviously (n=1):Repeat(simultaneously update for )(simultaneously update )第10页/共40页第11页/共40页Linear Regression with multiple variablesGradient descent in practice I: Feature ScalingMachine Learning第12页/共40页Feature ScalingIdea: Make sure features are on a similar scale.size (feet2)E.g.= size (0-2000 feet2) = number of bedrooms (1-5)number of bedrooms第13页/共40页Feature ScalingGet every feature into approximately a range.第14页/共40页Mean normalizationReplace with to make features have approximately zero mean (Do not apply to ).E.g. 第15页/共40页第16页/共40页Linear Regression with multiple variablesGradient descent in practice II: Learning rateMachine Learning第17页/共40页Gradient descent“Debugging”: How to make sure gradient descent is working correctly.How to choose learning rate .第18页/共40页Making sure gradient descent is working correctly.Example automatic convergence test:Declare convergence if decreases by less than in one iteration.No. of iterations第19页/共40页Making sure gradient descent is working correctly.Gradient descent not worki

文档评论(0)

kuailelaifenxian + 关注
官方认证
内容提供者

该用户很懒,什么也没介绍

认证主体太仓市沙溪镇牛文库商务信息咨询服务部
IP属地上海
统一社会信用代码/组织机构代码
92320585MA1WRHUU8N

1亿VIP精品文档

相关文档