Cheatsheet supervised learning (Khái niệm cơ bản trong học có giám sát) - Afshine Amidi and Shervine Amidi
Generating preview...
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.
Description
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 summary
- Document name
- Cheatsheet supervised learning (Khái niệm cơ bản trong học có giám sát) - Afshine Amidi and Shervine Amidi
- School / Course
- Stanford University · Machine learning
- Author (in document)
- Afshine Amidi and Shervine Amidi
- Content
- 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.
- Table of contents
- 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
- Pages
- 4 pages
- Uploaded by
- Uni24h
Frequently asked questions
Is this document free?
Yes. “Cheatsheet supervised learning (Khái niệm cơ bản trong học có giám sát) - Afshine Amidi and Shervine Amidi” is free — just sign in and click Download to get the original file.
How many pages is this document?
The document has 4 pages, for the course Machine learning. You can preview it online before downloading.
Can I preview before downloading?
Yes. You can preview this document right on this page with the online reader, then decide whether to download.
Cheatsheet supervised learning (Khái niệm cơ bản trong học có giám sát) - Afshine Amidi and Shervine Amidi
Generating preview...
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
Read full document
- Document name
- Cheatsheet supervised learning (Khái niệm cơ bản trong học có giám sát) - Afshine Amidi and Shervine Amidi
- School / Course
- Stanford University · Machine learning
- Author (in document)
- Afshine Amidi and Shervine Amidi
- Content
- 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.
- Table of contents
- 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
- Pages
- 4 pages
- Uploaded by
- Uni24h
Comments (0)
No comments yet. Be the first!
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
Comments (0)
No comments yet. Be the first!