Week 3 - Supervised Learning Flashcards
What is classification supervised learning?
A function is created that has 2 possible outputs.
What is regression supervised learning?
A function is created that outputs a real number.
What form does the data need to be in for supervised learning?
Input-output pairs
How do you split up your data for supervised learning?
You use most of the data as training data, where you give the algorithm both the input and output. You then use a small amount of the data as test data, where you give the test algorithm an input and see what output it gives you.
What is square loss?
The difference between a predicted output and the actual output, squared.
What is a lost/cost function?
A function that when given a linear regression line and a set of data points, will output how well the line fits the data points.