Supervised Learning Flashcards
What is machine learning in simple terms?
What are the two main types of machine learning algorithms?
What is Supervised Learning, and what are some common tasks it is used for?
What is linear regression, and what is the goal of this algorithm?
What is the linear regression function definition?
What are other names for the variables w and b in linear regression?
What is the cost function formula for a simple linear function.
How is the cost function used to measure the difference between the predicted value and actual label for each training example?
How is the cost function used to aggregate the error across all examples in the training set?
What is the regularization term used in the cost function for linear regression, and why is it helpful for gradient computation?
What is the goal of gradient descent in machine learning, and how is the gradient used in this process?
How does the learning rate affect the efficiency of the gradient descent algorithm?
What is the consequence of using a learning rate that is too small in gradient descent?
What is the consequence of using a learning rate that is too large in gradient descent?
How is the gradient used to update the values of the parameters during optimization process in gradient descent.
How is the choice of learning rate related to the convergence rate of the gradient descent algorithm?
What is the equation for the model’s prediction with multiple variables give by the linear model?
What is vectorization, and why is it useful?