资源简介
吴恩达机器学习编程题
代码片段和文件信息
function J = computeCost(X y theta)
%COMPUTECOST Compute cost for linear regression
% J = COMPUTECOST(X y theta) computes the cost of using theta as the
% parameter for linear regression to fit the data points in X and y
% Initialize some useful values
m = length(y); % number of training examples
% You need to return the following variables correctly
J = 0;
% ====================== YOUR CODE HERE ======================
% Instructions: Compute the cost of a particular choice of theta
% You should set J to the cost.
J = sum((X * theta - y).^2) / (2*m); % X(792) theta(21)
% =========================================================================
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 35993725 2018-07-30 10:22 练习\Ang Machine Learning.rar
文件 695 2017-10-10 08:08 练习\mlclass-ex1-jin\computeCost.m
文件 711 2017-10-10 08:08 练习\mlclass-ex1-jin\computeCostMulti.m
文件 3805 2018-08-03 11:27 练习\mlclass-ex1-jin\ex1.m
文件 1359 2017-10-10 08:08 练习\mlclass-ex1-jin\ex1data1.txt
文件 657 2017-10-10 08:08 练习\mlclass-ex1-jin\ex1data2.txt
文件 4485 2018-05-06 11:19 练习\mlclass-ex1-jin\ex1_multi.m
文件 1474 2018-05-06 10:27 练习\mlclass-ex1-jin\featureNormalize.m
文件 1173 2018-08-03 10:37 练习\mlclass-ex1-jin\gradientDescent.m
文件 979 2017-10-10 08:08 练习\mlclass-ex1-jin\gradientDescentMulti.m
文件 253 2018-08-03 22:07 练习\mlclass-ex1-jin\hello.mat
文件 253 2018-08-03 22:08 练习\mlclass-ex1-jin\hello.txt
文件 162 2018-08-03 22:10 练习\mlclass-ex1-jin\hello1.txt
文件 180 2018-08-03 22:11 练习\mlclass-ex1-jin\hello2.txt
文件 222 2018-05-01 11:32 练习\mlclass-ex1-jin\ml_login_data.mat
文件 677 2017-10-10 08:08 练习\mlclass-ex1-jin\normalEqn.m
文件 0 2017-10-10 08:08 练习\mlclass-ex1-jin\OGLdpf.log
文件 1051 2018-08-02 20:50 练习\mlclass-ex1-jin\plotData.m
文件 15590 2017-10-10 08:08 练习\mlclass-ex1-jin\submit.m
文件 10724 2017-10-10 08:08 练习\mlclass-ex1-jin\submitWeb.m
文件 520 2017-10-10 08:08 练习\mlclass-ex1-jin\warmUpExercise.m
文件 1045 2017-10-10 08:08 练习\mlclass-ex2-jin\costFunction.m
文件 1163 2018-05-25 17:07 练习\mlclass-ex2-jin\costFunctionReg.m
文件 3745 2018-08-06 20:13 练习\mlclass-ex2-jin\ex2.m
文件 192780 2017-10-10 08:08 练习\mlclass-ex2-jin\ex2.pdf
文件 3775 2017-10-10 08:08 练习\mlclass-ex2-jin\ex2data1.txt
文件 2233 2017-10-10 08:08 练习\mlclass-ex2-jin\ex2data2.txt
文件 2975 2018-05-26 22:06 练习\mlclass-ex2-jin\ex2_reg.m
文件 508 2018-05-25 18:38 练习\mlclass-ex2-jin\mapFeature.m
文件 1152 2018-08-06 22:08 练习\mlclass-ex2-jin\plotData.m
............此处省略132个文件信息
相关资源
- titanic_dataset.csv泰坦尼克数据集
- TensorFlow Machine Learning Cookbook+无码高清
- Hands-On Machine Learning with Scikit-Learn an
- Big Data and Machine Learning in Quantitative
- master_machine_learning_algorithms285570
- machine-learning-ex4
- 斯坦福大学 2014 机器学习教程中文笔
- 吴恩达机器学习课件
- TensorFlow Machine Learning Cookbook
- Introduction to Machine Learning Ethem ALPAYDI
- Mastering Machine Learning with R - Second Edi
- 《Hands-On Machine Learning with Scikit-Learn
- Pattern Recognition and Machine Learning(完整
- Machine Learning_Algorithms and Applications (
- Numerical Algorithms Methods for Computer Visi
- Building Machine Learning Projects with Tensor
- Mastering Machine Learning for Penetration Tes
- Scala for Machine Learning(2nd)_Code 源码
- Mastering Machine Learning with R(2nd) 无水
- 吴恩达”Deep Learning.ai“第三课《Str
- 模式识别与机器学习马春鹏, Patter
- 吴恩达 Machine Learning Yearning 完整版 中
- Statistical Foundations of Machine Learning
- Gaussian Processes for Machine Learning
- Foundations of Machine Learning 2nd Edition
- Boosting :Foundations and Algorithms
- Packt.TensorFlow.Machine.Learning.Cookbook.201
- Machine Learning The Art and Science of Algori
- Kernel Methods and Machine Learning
- 数据挖掘实用机器学习技术Data Minin
评论
共有 条评论