In KNN, how does an increase in the value of K generally affect the bias and variance of the model?

  • Decreases bias, increases variance
  • Decreases both bias and variance
  • Increases bias, decreases variance
  • Increases both bias and variance
Increasing the value of K generally increases bias and decreases variance in the KNN model.

You've trained a model with a small training set and a large testing set. What challenges might you encounter, and how could they be addressed?

  • Both Overfitting and Underfitting
  • Data is perfectly balanced
  • Overfitting
  • Underfitting
A small training set might lead to overfitting, where the model memorizes noise from the training data. Conversely, it might also lead to underfitting if the model fails to capture the underlying pattern. Cross-validation, bootstrapping, or augmenting the training set with additional relevant data can help balance the model's ability to generalize.

In Supervised Learning, _________ and ___________ are the two main types of problems.

  • Classification; Clustering
  • Classification; Regression
  • Regression; Clustering
  • Regression; Ensemble Learning
In Supervised Learning, the two main types of problems are Classification and Regression. Classification is about categorizing data into predefined classes, while Regression is predicting a continuous outcome.

You've built a multiple linear regression model and found that two or more predictors are highly correlated. What problems might this cause, and how can you solve them?

  • High bias, Address by increasing the model complexity
  • High variance, Address by using Lasso regression
  • Overfitting, Address by removing correlated features or using Ridge regression
  • Underfitting, Address by adding more features
Multicollinearity, where predictors are highly correlated, can cause overfitting and unstable estimates. This can be addressed by removing correlated features or using Ridge regression, which penalizes large coefficients and reduces the impact of multicollinearity.

What method is commonly used to estimate the coefficients in Simple Linear Regression?

  • Maximum Likelihood Estimation
  • Minimizing the Sum of Absolute Errors
  • Minimizing the Sum of the Squares of the Residuals
  • Neural Networks Training
In Simple Linear Regression, the method used to estimate coefficients is by minimizing the sum of the squares of the residuals, known as the Ordinary Least Squares (OLS) method.

How do Precision and Recall trade-off in a classification problem, and when might you prioritize one over the other?

  • Increasing Precision decreases Recall, prioritize Precision when false positives are costly
  • Increasing Precision increases Recall, prioritize Recall when false positives are costly
  • Precision and Recall are independent, no trade-off
  • nan
Precision and Recall often trade-off; increasing one can decrease the other. You might prioritize Precision when false positives are more costly (e.g., spam detection) and Recall when false negatives are more costly (e.g., fraud detection).

Can you detail how to prevent overfitting in Polynomial Regression?

  • By ignoring the test set
  • By increasing the degree
  • By using all features
  • By using regularization techniques like Ridge and Lasso
Overfitting in Polynomial Regression can be prevented by using regularization techniques like Ridge and Lasso. These techniques add a penalty term to the loss function, constraining the coefficients and reducing the complexity of the model.

What are the implications of using R-Squared vs. Adjusted R-Squared in a multiple regression model with many predictors?

  • R-Squared favors complex models; Adjusted R-Squared is more sensitive to noise
  • R-Squared favors more predictors without penalty; Adjusted R-Squared penalizes unnecessary predictors
  • R-Squared is better for small datasets; Adjusted R-Squared is only applicable to linear models
  • R-Squared provides better interpretability; Adjusted R-Squared favors simple models
In multiple regression models with many predictors, using R-Squared may favor the inclusion of more predictors without penalizing for their irrelevance, leading to potentially overfitted models. In contrast, Adjusted R-Squared includes a penalty term for unnecessary predictors, providing a more balanced assessment of the model's performance. It helps in avoiding the trap of increasing complexity without meaningful gains in explanatory power.

Which Machine Learning approach allows the system to learn and make decisions from experience?

  • Reinforcement Learning
  • Semi-Supervised Learning
  • Supervised Learning
  • Unsupervised Learning
Reinforcement Learning allows the system to learn and make decisions through trial and error, receiving rewards or penalties, and learning from experience to achieve a specific goal.

The process of training a Machine Learning model involves using a dataset known as the _________ set, while evaluating it involves the _________ set.

  • testing, validation
  • training, testing
  • validation, testing
  • validation, training
In supervised learning, a "training" set is used to train the model, and a "testing" set is used to evaluate its predictive performance on unseen data.