Machine Learning Linear Regression
This quiz covers the fundamental concepts and techniques of Machine Learning Linear Regression, a widely used supervised learning algorithm for predicting continuous outcomes based on a set of input features.
Questions
What is the primary goal of Machine Learning Linear Regression?
- To classify data points into distinct categories
- To identify patterns and relationships in data
- To predict continuous values based on input features
- To reduce the dimensionality of data
What is the mathematical equation that represents a linear regression model?
- y = mx + b
- y = mx^2 + b
- y = mx^3 + b
- y = mx^4 + b
What is the purpose of the slope (m) in a linear regression model?
- To determine the direction of the relationship between variables
- To calculate the y-intercept of the line
- To predict the value of the dependent variable for a given value of the independent variable
- To measure the strength of the relationship between variables
What is the purpose of the y-intercept (b) in a linear regression model?
- To determine the direction of the relationship between variables
- To calculate the slope of the line
- To predict the value of the dependent variable for a given value of the independent variable
- To measure the strength of the relationship between variables
What is the least squares method used for in linear regression?
- To find the best-fit line that minimizes the sum of squared errors
- To calculate the slope and y-intercept of the line
- To predict the value of the dependent variable for a given value of the independent variable
- To measure the strength of the relationship between variables
What is the coefficient of determination (R^2) in linear regression?
- A measure of the goodness of fit of the model
- The slope of the line
- The y-intercept of the line
- The strength of the relationship between variables
What is the purpose of regularization in linear regression?
- To prevent overfitting and improve the generalization performance of the model
- To calculate the slope and y-intercept of the line
- To predict the value of the dependent variable for a given value of the independent variable
- To measure the strength of the relationship between variables
Which of the following is a common regularization technique used in linear regression?
- L1 regularization (Lasso)
- L2 regularization (Ridge)
- Elastic Net regularization
- All of the above
What is the purpose of cross-validation in linear regression?
- To evaluate the performance of the model on unseen data
- To calculate the slope and y-intercept of the line
- To predict the value of the dependent variable for a given value of the independent variable
- To measure the strength of the relationship between variables
Which of the following is a common cross-validation technique used in linear regression?
- K-fold cross-validation
- Leave-one-out cross-validation
- Stratified cross-validation
- All of the above
What is the purpose of feature scaling in linear regression?
- To improve the numerical stability of the model
- To calculate the slope and y-intercept of the line
- To predict the value of the dependent variable for a given value of the independent variable
- To measure the strength of the relationship between variables
Which of the following is a common feature scaling technique used in linear regression?
- Standard scaling
- Min-max scaling
- Max-abs scaling
- All of the above
What is the purpose of outlier detection in linear regression?
- To identify and remove data points that may adversely affect the model's performance
- To calculate the slope and y-intercept of the line
- To predict the value of the dependent variable for a given value of the independent variable
- To measure the strength of the relationship between variables
Which of the following is a common outlier detection technique used in linear regression?
- Z-score method
- Grubbs' test
- Isolation forest
- All of the above
What is the purpose of model selection in linear regression?
- To select the best model among a set of candidate models
- To calculate the slope and y-intercept of the line
- To predict the value of the dependent variable for a given value of the independent variable
- To measure the strength of the relationship between variables
Which of the following is a common model selection technique used in linear regression?
- Akaike Information Criterion (AIC)
- Bayesian Information Criterion (BIC)
- Cross-validation
- All of the above