Flashcard Deck · 25 cards · Public

Stanford CS229 - Machine Learning & Supervised Learning Foundations

Master the core principles of supervised machine learning with this comprehensive flashcard deck, covering linear models, SVMs, and crucial concepts like gradient descent and the bias-variance tradeoff from Stanford CS229.

Cards in this deck

(25 cards)

Preview terms and definitions before starting your study session.

#1
Term
What is Machine Learning (ML)?
Definition
ML is a field of AI that enables systems to learn from data, identify patterns, and make decisions with minimal human intervention. It's broadly categorized into Supervised, Unsupervised, and Reinforcement Learning.
#2
Term
Define Supervised Learning.
Definition
A type of ML where the model learns from a labeled dataset, meaning each training example includes both input features () and the corresponding correct output label (). The goal is to learn a mapping function from input to output.
#3
Term
What is a hypothesis function in machine learning?
Definition
The hypothesis function is the model's learned mapping from input features () to predicted output. It represents the function that the learning algorithm has chosen to best approximate the target function, parameterized by .
#4
Term
What is the purpose of a Loss Function (or Cost Function) ?
Definition
A loss function quantifies the error between the predicted output of a model and the true output for a given set of parameters . The goal of a learning algorithm is to find the parameters that minimize this function, thereby minimizing the prediction error.
#5
Term
Explain the Gradient Descent algorithm.
Definition
Gradient Descent is an iterative optimization algorithm used to find the minimum of a function (typically the cost function). It works by repeatedly adjusting the model's parameters in the direction opposite to the gradient of the cost function with respect to .
#6
Term
Provide the general update rule for Gradient Descent.
Definition
For each parameter , the update rule is:

where is the learning rate, controlling the step size, and is the partial derivative of the cost function with respect to .
#7
Term
What is the hypothesis function for Linear Regression?
Definition
In linear regression, the hypothesis function predicts a continuous output based on a linear combination of input features:

where are the parameters (weights) and are the input features (with ).
#8
Term
What is the Cost Function for Linear Regression?
Definition
The cost function for linear regression is typically the Mean Squared Error (MSE), which measures the average squared difference between predicted and actual values:

where is the number of training examples.
Showing 8 of 25 cards in this deck.
Study All Now

Related Flashcard Sets

Explore similar study materials created by the community

Browse community decks