Cheatsheet supervised learning (Khái niệm cơ bản trong học có giám sát) - Afshine Amidi and Shervine Amidi
正在生成预览...
Cheatsheet tổng hợp các khái niệm cơ bản trong học có giám sát, bao gồm hàm mất mát, gradient descent, các mô hình phân loại, GLM.
描述
https://stanford.edu/~shervine CS 229 – Machine Learning VIP Cheatsheet: Supervised Learning r Cost function – The cost function J is commonly used to assess the performance of a model, and is defined with the loss function L as follows: J(θ) = Afshine Amidi and Shervine Amidi m X L(hθ (x(i) ), y (i) ) i=1 August 23, 2018 r Gradient descent – By noting α ∈ R the learning rate, the update rule for gradient descent is expressed with the learning rate and the cost function J as follows: θ ←− θ − α∇J(θ) Introduction to Supervised Learning Given a set of data points {x(1) , ..., x(m) } associated to a set of outcomes {y (1) , ..., y (m) }, we want to build a classifier that learns how to predict y from x. r Type of prediction – The different types of predictive models are summed up in the table below: Model Outcome Examples Regression Continuous Linear regression Classifier Class Logistic regression, SVM, Naive Bayes Remark: Stochastic gradient descent (SGD) is updating the parameter based on each training example, and batch gradient descent is on a batch of training examples. r Type of model – The different models are summed up in the table below: Model Goal Examples Discriminative Estimate P (y|x) Regressions, SVMs Generative Estimate P (x|y) Used to deduce P (y|x) GDA, Naive Bayes r Likelihood – The likelihood of a model L(θ) given parameters θ is used to find the optimal parameters θ through maximizing the likelihood. In practice, we use the log-likelihood `(θ) = log(L(θ)) which is easier to optimize. We have: θopt = arg max L(θ) θ r Newton’s algorithm – The Newton’s algorithm is a numerical method that finds θ such that `0 (θ) = 0. Its update rule is as follows: Notations and general concepts r Hypothesis – The hypothesis is noted hθ and is the model that we choose. For a given input data x(i) , the model prediction output is hθ (x(i) ). θ←θ− r Loss function – A loss function is a function L : (z,y) ∈ R × Y 7−→ L(z,y) ∈ R that takes a
AI 摘要
- 文档名称
- Cheatsheet supervised learning (Khái niệm cơ bản trong học có giám sát) - Afshine Amidi and Shervine Amidi
- 学校 / 课程
- Stanford University · Machine learning
- 作者(文档中)
- Afshine Amidi and Shervine Amidi
- 内容
- Tài liệu cung cấp một cái nhìn tổng quan về học có giám sát, bao gồm các khái niệm, công thức và các loại mô hình chính. Nó là một tài liệu tham khảo nhanh cho các thuật toán và định nghĩa quan trọng.
- 目录
- Notations and general concepts
- Introduction to Supervised Learning
- Type of prediction
- Type of model
- Likelihood
- Loss function
- Gradient descent
- Newton’s algorithm
- Normal equations
- LMS algorithm
- LWR
- Assumptions of GLMs
- Sigmoid function
- 页数
- 4 页
- 上传者
- Uni24h
常见问题
此文档免费吗?
是的。“Cheatsheet supervised learning (Khái niệm cơ bản trong học có giám sát) - Afshine Amidi and Shervine Amidi”是免费的 — 只需登录并点击“下载”即可获取原始文件。
这份文档有多少页?
该文档共有 4 页,适用于课程 Machine learning。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。
Cheatsheet supervised learning (Khái niệm cơ bản trong học có giám sát) - Afshine Amidi and Shervine Amidi
正在生成预览...
https://stanford.edu/~shervine CS 229 – Machine Learning VIP Cheatsheet: Supervised Learning r Cost function – The cost function J is commonly used to assess the performance of a model, and is defined with the loss function L as follows: J(θ) = Afshine Amidi and Shervine Amidi m X L(hθ (x(i) ), y (i) ) i=1 August 23, 2018 r Gradient descent – By noting α ∈ R the learning rate, the update rule for gradient descent is expressed with the learning rate and the cost function J as follows: θ ←− θ − α∇J(θ) Introduction to Supervised Learning Given a set of data points {x(1) , ..., x(m) } associated to a set of outcomes {y (1) , ..., y (m) }, we want to build a classifier that learns how to predict y from x. r Type of prediction – The different types of predictive models are summed up in the table below: Model Outcome Examples Regression Continuous Linear regression Classifier Class Logistic regression, SVM, Naive Bayes Remark: Stochastic gradient descent (SGD) is updating the parameter based on each training example, and batch gradient descent is on a batch of training examples. r Type of model – The different models are summed up in the table below: Model Goal Examples Discriminative Estimate P (y|x) Regressions, SVMs Generative Estimate P (x|y) Used to deduce P (y|x) GDA, Naive Bayes r Likelihood – The likelihood of a model L(θ) given parameters θ is used to find the optimal parameters θ through maximizing the likelihood. In practice, we use the log-likelihood `(θ) = log(L(θ)) which is easier to optimize. We have: θopt = arg max L(θ) θ r Newton’s algorithm – The Newton’s algorithm is a numerical method that finds θ such that `0 (θ) = 0. Its update rule is as follows: Notations and general concepts r Hypothesis – The hypothesis is noted hθ and is the model that we choose. For a given input data x(i) , the model prediction output is hθ (x(i) ). θ←θ− r Loss function – A loss function is a function L : (z,y) ∈ R × Y 7−→ L(z,y) ∈ R that takes a
阅读全文
- 文档名称
- Cheatsheet supervised learning (Khái niệm cơ bản trong học có giám sát) - Afshine Amidi and Shervine Amidi
- 学校 / 课程
- Stanford University · Machine learning
- 作者(文档中)
- Afshine Amidi and Shervine Amidi
- 内容
- Tài liệu cung cấp một cái nhìn tổng quan về học có giám sát, bao gồm các khái niệm, công thức và các loại mô hình chính. Nó là một tài liệu tham khảo nhanh cho các thuật toán và định nghĩa quan trọng.
- 目录
- Notations and general concepts
- Introduction to Supervised Learning
- Type of prediction
- Type of model
- Likelihood
- Loss function
- Gradient descent
- Newton’s algorithm
- Normal equations
- LMS algorithm
- LWR
- Assumptions of GLMs
- Sigmoid function
- 页数
- 4 页
- 上传者
- Uni24h
评论 (0)
暂无评论。快来抢沙发吧!
Eval algo notes (11) (Các kiểm định thống kê và so sánh thuật toán) - Sebastian Raschka
Refresher probabilities statistics (Xác suất và thống kê cho Machine Learning) - Afshine Amidi and Shervine Amidi
Ensembles notes (07) (Các phương pháp học ensemble) - Sebastian Raschka
Super cheatsheet machine learning (Khái niệm và công thức chính trong học máy) - Afshine Amidi and Shervine Amidi
Cheatsheet Deep Learning (Khái niệm chính về học sâu) - Afshine Amidi and Shervine Amidi
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 5.Thuyết tương đối - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 4. Tán xạ ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 3.Phân cực ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
评论 (0)
暂无评论。快来抢沙发吧!