Coursera Machine Learning 第六周 Programming Exercise 5: Regularized Linear Regression and Bias
linearRegCostFunction.mfunction[J,grad]=linearRegCostFunction(X,y,theta,lambda)%LINEARREGCOSTFUNCTIONComputecostandgradientforregularizedlinear%regressionwithmultiplevariables%[J,grad]=LINEARREGCOSTFU