Andrew Ng机器学习week4(Neural Networks: Representation)编程习题
*lrCostFunction.mfunction[J,grad]=lrCostFunction(theta,X,y,lambda)%LRCOSTFUNCTIONComputecostandgradientforlogisticregressionwith%regularization%J=LRCOSTFUNCTION(theta,X,y,lambda)computesthecostofusing