ML学习笔记第二周(三):编程作业

1 关键代码 warmUpExercise.m(热身练习) A=eye(5); plotData.m(绘图) plot(x, y,'rx','MarkerSize',10); xlabel('Profit in $10,000s'); ylabel('Population of City in 10,000s'); computeCost.m(计算代价函数) h=X*theta; J=1/(2
相关文章
相关标签/搜索