2019年12月28日

第五周 第二部分

摘要: Theta1,2,3 和D1,2,3都是系数矩阵 thetaVec = [Theta1(:); Theta2(:);Theta3(:) ]; 里面:外面; 会把Theta1 ,Theta2,Theta3中的所有元素展开,形成一个向量thetaVec reshape 会把向量在恢复到矩阵Theta1, 阅读全文

posted @ 2019-12-28 21:51 cltt 阅读(178) 评论(0) 推荐(0) 编辑

BP算法

摘要: 反向传播算法 解释算法流程 阅读全文

posted @ 2019-12-28 17:09 cltt 阅读(144) 评论(0) 推荐(0) 编辑

第三次作业

摘要: function [J, grad] = lrCostFunction(theta, X, y, lambda) %LRCOSTFUNCTION Compute cost and gradient for logistic regression with %regularization % J = 阅读全文

posted @ 2019-12-28 16:52 cltt 阅读(161) 评论(0) 推荐(0) 编辑

导航