摘要: 1.SVM 是监督学习的一种 回顾逻辑回归: if y=1, then hθ(x)≈1 and ΘTx≫0 if y=0, then hθ(x)≈0 and ΘTx≪0 cost function: 为了做出支持向量机,改变逻辑回归中的以下两项: , 使得ΘTx>1或ΘTx<-1时,值为0 设ΘTx 阅读全文
posted @ 2016-10-11 08:21 cherry_yue 阅读(201) 评论(0) 推荐(0)
摘要: 1.解决机器学习问题的方法 收集大量数据 开发复杂的特征 (for example: using email header data in spam emails) 开发算法去用不同的方式处理输入 (recognizing misspellings in spam). 哪种方法有用视情况而定 2.误 阅读全文
posted @ 2016-09-26 14:40 cherry_yue 阅读(416) 评论(0) 推荐(0)
摘要: 1.预测中的错误解决方法 Getting more training examples Trying smaller sets of features Trying additional features Trying polynomial features Increasing or decrea 阅读全文
posted @ 2016-09-25 09:55 cherry_yue 阅读(213) 评论(0) 推荐(0)
摘要: 神经网络-representation 1.在参数很多时,非线性假说有弊端。 eg: 假设有3个特征值,含所有二次项的h为h=(θ0+θ1*x1^2+θ2*x1x2+θ3*x1x3+θ4*x2^2+θ5*x2x3+θ6*x3^2) 假设有n个特征值,若h含所有二次项,那么h的项数可近似为Ο(n^2 阅读全文
posted @ 2016-08-18 18:38 cherry_yue 阅读(275) 评论(0) 推荐(0)
摘要: quick reference:http://10.236.6.14/enacit1.epfl.ch/octave_doc/refcard/refcard-a4.pdf 1.算术运算: a+b, a-b, a*b, a/b, a^b 逻辑运算: a==b, a~=b(不等于), a&&b, a||b 阅读全文
posted @ 2016-08-12 20:24 cherry_yue 阅读(461) 评论(0) 推荐(0)
摘要: 逻辑回归(logistic regression) 1.用来解决归类问题(只是由于历史上的原因取了回归的名字) 2.二分归类(binary classification) 定义:对于输入,输出值不连续,而是两个离散的值,eg:{0,1} 方法:利用线性回归,将大于0.5的输出预测值设为1,小于0.5 阅读全文
posted @ 2016-08-12 15:48 cherry_yue 阅读(1951) 评论(0) 推荐(0)
摘要: 一、绪论 1.概念: the field of study that gives computers the ability to learn without being explicitly programmed. ——an older, informal definition by Arthur 阅读全文
posted @ 2016-08-01 17:15 cherry_yue 阅读(731) 评论(0) 推荐(0)