![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MATLAB
暂时不用了的id
以后应该不会更新了,这些博文是我大二的时候写的,现在看来感觉很是幼稚。。
展开
-
【题解】编程作业ex5: Regularized Linear Regression and Bias/Variance (Machine Learning)
吐槽:这个作业用了几个小时,,光是复习前面的就整了半天=。=不过问题不大,也就debug了好久,虽然最后我还是编出来了+_+以后一定要一鼓作气完成某个课程。。。题目:If you are using the MATLAB Online access provided for this course (recommended), or if you have an existing installation of MATLAB (>= R2019b), follow the instructio原创 2020-10-09 23:51:15 · 2732 阅读 · 0 评论 -
【题解】编程作业ex4: Neural Network Learning (Machine Learning)
吐槽:最近事情有点多,居然鸽到了下一周orz。。咳咳终于写完了= =顺便反向传播原理目前还不是非常理解,所以笔记也要鸽一阵orz。。。题目:Download the programming assignmenthere. This ZIP file contains the instructions in a PDF and the starter code. You may use either MATLAB or Octave (>= 3.8.0).To submit this ass.原创 2020-07-28 21:01:23 · 431 阅读 · 1 评论 -
【题解】编程作业ex3: Multi-class Classification and Neural Networks (Machine Learning)
吐槽:题目:Download the programming assignmenthere.This ZIP file contains the instructions in a PDF and the starter code. You may use either MATLAB or Octave (>= 3.8.0). To submit this assignment, call the included submit function from MATLAB / Octave..原创 2020-07-19 12:22:15 · 613 阅读 · 2 评论 -
【笔记】Week4:神经网络的模型表示及背景,应用,多类分类问题 (Machine Learning)
吐槽:有个quiz的题目还挺坑的,记录一下哈。。顺便笔记。。正文:1,神经网络的模型表示及背景背景:脑中的一个神经元是一个计算单元。神经元的dendrite(树突(位于神经元末端的细分支,接收其他神经元传来的信号))是输入电线,axon(轴突(神经细胞的突起,将信号发送到其他细胞))是输出电线。单一神经元的模型:逻辑单元,也就是h(x) = 1 / (1+e^(-thetaTx))(h(x)称sigmoid(logistic)激活函数)。神经网络模型:举例的是层次为3的神经网络,其中la原创 2020-07-18 23:08:12 · 243 阅读 · 0 评论 -
【题解】编程作业ex2: Logistic Regression (Machine Learning)
吐槽:没看完pdf的要求就去写plot的代码的后果就是写完发现后面有标答且比自己的简练= =然后也就不献丑了。。说一下predict和costFunctionReg吧,其他也不难。题目:Download the programming assignmenthere. This ZIP file contains the instructions in a PDF and the starter code. You may use either MATLAB or Octave (>= 3.8.原创 2020-07-15 01:54:40 · 218 阅读 · 0 评论 -
【笔记】Week3:分类问题及其表示,逻辑回归模型,正则化 (Machine Learning)
吐槽:并不是非常连贯的听完了这周的课程,于是记个笔记捋一下思路,顺便记录一个quiz的题目,做错两遍都不造为什么,,最后还是查了一下才发觉的。。太值得记一下= =正文:1,Classification and Representation(分类问题及其表示)分类问题的例子:邮件是垃圾还是非垃圾,在线交易是欺诈的还是非欺诈的,肿瘤是良性的还是恶性的。如果y只有0或1,0则为negative class(比如恶性肿瘤),1则为positive class(良性肿瘤)为什么不用线性回归解决分类问题原创 2020-07-14 23:12:45 · 189 阅读 · 0 评论 -
【题解】编程作业ex1: Linear Regression (Machine Learning)
吐槽:刚学的话gradient descent感觉不是那么轻易能编出来,不过感谢助教在总结上说了维度分析很重要,用维度分析果然很快调试好了程序。。于是值得一记。。题目:Download the programming assignmenthere. This ZIP file contains the instructions in a PDF and the starter code. You may use either MATLAB or Octave (>= 3.8.0).To sub.原创 2020-07-10 12:15:19 · 343 阅读 · 0 评论 -
【笔记】Week2:多元线性回归,解析计算参数,Octave/Matlab教程 (Machine Learning)
吐槽:week2主要是接着week1讲的,主要在于说明如何实现线性回归。因为都涉及公式复制不太好我就都用自己话说了。。还是一样的,有错评论一下,谢谢啦。正文:1,Multivariate Linear Regression(多元线性回归)记号:n表示特征数量,x^(i)表示第i个训练样本(列向量 [x^(i)_(0); ...; x^(i)_(n)]),x^(i)_(j)表示第i个训练样本的第j个特征的值。假设函数:h(x) = theta0*x0+theta1*x1+theta2*x2+.原创 2020-07-09 12:23:04 · 384 阅读 · 0 评论