机器学习笔记1-Supervised learning
来源:互联网 发布:独立域名 编辑:程序博客网 时间:2024/06/06 02:22
1.1 Classification and logistic regression
classification problem is just like the regression problem, except that the values y we now want to predict take on only a small number of discrete values. For now, we will focus on the binary classification problem in which y can take on only two values, 0 and 1. For instance, if we are trying to build a spam classifier for email, then x(i) may be some features of a piece of email, and y may be 1 if it is a piece of spam mail, and 0 otherwise. 0 is also called the negative class, and 1 the positive class, and they are sometimes also denoted by the symbols “-” and “+.” Given x(i), the corresponding y(i) is also called the label for the training example.
1.2 Logistic regression
logistic function
where
useful property
given the logistic regression model, how do we fit θ for it?
Let us assume that:
written more compactly as:
maximize the log likelihood
maximize the likelihood
This therefore gives us the stochastic gradient ascent rule:
1.3 Digression: The perceptron learning algorithm
Consider modifying the logistic regression method to “force” it to output values that are either 0 or 1 or exactly. To do so, it seems natural to change the definition of g to be the threshold function:
If we then let
then we have the perceptron learning algorithm.
- 机器学习笔记1-Supervised learning
- 机器学习笔记1-Supervised learning
- 机器学习笔记1-Supervised learning
- 机器学习笔记1-Supervised learning
- 机器学习笔记2-Supervised learning
- 【机器学习】Supervised Learning
- Coursera机器学习课程笔记(1) Supervised Learning and Unsupervised Learning
- 【机器学习笔记】一、Supervised learning监督学习
- Stanford机器学习Prolem Set#1:Supervised Learning
- [机器学习入门] 李宏毅机器学习笔记-13 (Semi-supervised Learning ;半监督学习)
- Machine Learning机器学习 - Supervised Learning监督学习 - Native Bayes
- [机器学习] Coursera ML笔记 - 监督学习(Supervised Learning) - Representation
- [机器学习02]supervised learning and unsupervised learning
- 斯坦福大学机器学习作业题Problem Set #1: Supervised Learning Logistic regression
- 学习笔记1 Supervised Learning and Optimization 之 Linear and Logistic Regression
- 学习笔记2 Supervised Learning and Optimization 之 Softmax Regression
- Machine Learning机器学习 - Supervised Learning监督学习 - SVM(Support Vector Machine)
- 机器学习【machine learning】学习笔记【1】
- 笔记本电脑配置要什么样的才算好
- iOS开发-从app跳转到第三方应用和调用系统功能
- 搭建集群后再namenode上查看进程发现除了三个基本进程还可能有别的进程,例如本来在子节点出现的进程出现在了主节点上
- Tomcat 8.0简易发布网站方法
- 2004年分区联赛普级组之三 FBI树
- 机器学习笔记1-Supervised learning
- 程序员必读诗
- 统计分析——数据的预处理
- Hibernate二级缓存详解
- 解决集群搭建找不到datanode的问题
- php 网页发送post请求
- 域内socket
- NHibernate使用入门(十四)
- 设计模式之装饰者模式