随笔分类 - Machine Learning
摘要:机器学习定义: A computer program is said to leran from experience E with respect to some task T and some performance measure P, if it's performance on T, as
阅读全文
摘要:使hypotheses hθ(x) to satisfy 0≤hθ(x)≤1. z > 0,g(z) > 0.5 ,y=1; z< 0,g(z) < 0.5 ,y=0; Cost Function: When y = 1, we get the following plot for J(θ) vs
阅读全文
摘要:1 == 2 % false 1 ~=2 % true % 隐藏版本,只显示>> . PS1('>> '); % 输出两位小数格式 disp(sprintf('2 decimals: %0.2f',a)) % 转换数字格式 format long format short v = 1:0.1:2 %
阅读全文