【吴恩达机器学习】ex3 - 一些记录
这节课的exam主要就是神经网络的训练和使用前馈神经网络进行手写数字的预测,代码部分借鉴了很多博客,最后慢慢钻研,记录一些心得体会。
第一部分 多类分类器
1.lrCostFunction.m
function [J, grad] = lrCostFunction(theta, X, y, lambda)
%LRCOSTFUNCTION Compute cost and gradient for ...
原创
2019-09-15 20:04:27 ·
1004 阅读 ·
1 评论