# #10 Machine Learning Specialization [Course 1, Week 1, Lesson 3] | Summary and Q&A

37.2K views
December 1, 2022
by
DeepLearningAI
#10 Machine Learning Specialization [Course 1, Week 1, Lesson 3]

## TL;DR

This video explains the process of supervised learning, focusing on linear regression as an example.

## Key Insights

• 😫 Supervised learning involves training a model using a training set of input features and output targets.
• 🌚 The model, represented by the function f, makes predictions based on new input.
• 🫥 Linear regression is a type of supervised learning that uses a straight line function to make predictions.
• 🤙 Linear regression with one variable is called univariate linear regression.
• 🏛️ Complex non-linear models can be built based on the foundation of linear regression.
• 🇨🇷 A cost function is used to measure the performance of the model and optimize its parameters.
• 🛟 Linear regression is commonly used in machine learning and serves as the basis for more advanced AI models.

## Transcript

let's look in this video at the process of how supervised Learning Works supervised learning algorithm will input the data set and then what exactly does it do and what does it output let's find out in this video recall that a training set in supervised learning includes both the input features such as the size of the house and also the output targ... Read More

### Q: What is supervised learning?

Supervised learning is a machine learning technique where a model is trained using a training set that includes input features and output targets. The model learns to make predictions based on the given inputs.

### Q: What is the function f in supervised learning?

The function f represents the model in supervised learning. It takes an input X and produces an estimate or prediction Y hat. The values of the function depend on the chosen parameters.

### Q: Why is linear regression used in supervised learning?

Linear regression is a simple and easy-to-work-with model in supervised learning. It uses a straight line function to make predictions, which serves as a foundation for more complex non-linear models in the future.

### Q: What is a cost function in machine learning?

A cost function is a crucial component of machine learning algorithms, including linear regression. It measures the difference between the predicted values and the actual target values, allowing the model to be trained and optimized.

## Summary & Key Takeaways

• Supervised learning involves using a training set that includes input features and output targets to train a model.

• The model, represented by a function f, takes an input X and produces an estimate or prediction Y hat.

• Linear regression is a type of supervised learning that uses a straight line function to make predictions.