WorksheetsUnderstanding Regression in Machine Learning
Total questions: 14
Worksheet time: 2mins
What is the primary purpose of linear regression?
To calculate the mean of a dataset.
To visualize data trends in a graph.
To classify data into distinct categories.
To predict the value of a dependent variable based on independent variables.
How does logistic regression differ from linear regression?
Logistic regression predicts probabilities for categorical outcomes; linear regression predicts continuous outcomes.
Logistic regression is used for time series forecasting; linear regression is not.
Linear regression can only handle binary outcomes; logistic regression can handle multiple outcomes.
Logistic regression requires normally distributed data; linear regression does not.
What metric is commonly used to evaluate the performance of regression models?
Accuracy
R-squared
Precision
Mean Squared Error (MSE)
What is overfitting in the context of regression analysis?
Overfitting happens when the model is trained on too few data points.
Overfitting occurs when a model is too simple and fails to capture the trend.
Overfitting is when a model perfectly predicts the training data without any errors.
Overfitting in regression analysis is when a model is too complex and captures noise instead of the underlying trend.
In classification tasks, what does precision measure?
Precision measures the total number of predictions made.
Precision measures the rate of false positives.
Precision measures the overall accuracy of the model.
Precision measures the accuracy of positive predictions.
How is recall defined in the context of classification?
Recall = True Positives / Total Samples
Recall = True Positives / (True Positives + True Negatives)
Recall = False Positives / (False Positives + True Negatives)
Recall = True Positives / (True Positives + False Negatives)
What is the mean of a dataset?
The mean is the difference between the highest and lowest values.
The mean is the largest value in the dataset.
The mean is the average of the dataset.
The mean is the sum of the dataset.
How do you calculate the median of a dataset?
Sort the dataset and find the middle value(s).
Count the total number of values in the dataset.
Identify the largest number in the dataset.
Calculate the average of the dataset.
What is the mode in a statistical dataset?
The mode is the sum of all values in a dataset divided by the number of values.
The mode is the most frequently occurring value in a dataset.
The mode is the value that appears least frequently in a dataset.
The mode is the average value of a dataset.
Why is it important to understand regression metrics in machine learning?
It is important to understand regression metrics to evaluate model performance and ensure accurate predictions.
To increase the complexity of the model.
To reduce the amount of data needed for training.
To simplify the model building process.
What does the term 'false positive' mean in the context of classification?
A false positive is when the model predicts a negative outcome incorrectly.
A false positive is when the model fails to predict any outcome.
A false positive occurs when a model correctly predicts a negative outcome.
A false positive occurs when a model incorrectly predicts a positive outcome.
What is the significance of the R-squared value in regression analysis?
R-squared is a measure of the model's complexity.
R-squared is used to calculate the mean of the dataset.
R-squared measures the accuracy of the model's predictions.
R-squared indicates the proportion of variance in the dependent variable that can be explained by the independent variables.
What does standard deviation measure?
The linear relationship between two variables.
The average value of a dataset.
The spread or dispersion of data points from the mean.
The direction of the relationship between two variables.
if the errors in any metric of regression increases how does it impact the accuracy
accuracy increases
accuracy decreases
accuracy stays the same
accuracy doesnt get effected
