Linear regression Flashcards
1
Q
What is linear regression?
A
2
Q
What is the most popular loss function in regression?
A
The squared error
3
Q
what is gradient descent?
A
4
Q
what is used to iterate through the dataset using PyTorch?
A
a data loader
5
Q
why are is the gradient stored with the weights when using PyTorch?
A
so they can be easily accessed and used to update the weights after calculating the loss