摘要: 题目地址: http://openclassroom.stanford.edu/MainFolder/DocumentPage.php?course=DeepLearning&doc=exercises/ex2/ex2.html题目给出的数据是一组2-8岁男童的身高。x是年龄,y是身高。样本数m=50.使用gradient descent来做线性回归。step1:数据准备。加载数据:>> x=load('ex2x.dat');>> y=load('ex2y.dat');可视化数据:figure % open a new figur 阅读全文
posted @ 2013-05-21 14:42 elar 阅读(1091) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示