What is Gradient Boosting, and how does it work?
- Gradient Boosting always uses a Random Forest
- Gradient Boosting builds trees sequentially, correcting errors using gradients
- Gradient Boosting is a bagging method
- Gradient Boosting reduces model complexity
Gradient Boosting is a boosting method that builds decision trees sequentially. Each tree tries to correct the errors of the previous one by using gradients (direction of the steepest ascent) to minimize the loss function. This leads to a powerful model with improved accuracy.
How do ensemble methods like Random Forest and Gradient Boosting help in improving the model's performance?
- By focusing on one strong model
- By increasing overfitting
- By leveraging multiple models to achieve better accuracy and robustness
- By reducing computational complexity
Ensemble methods like Random Forest and Gradient Boosting combine the strengths of multiple models to achieve better accuracy and robustness. By leveraging a diverse set of models, they often outperform single models, especially on complex tasks, and reduce the risks of overfitting.
What are the limitations of using R-Squared as the sole metric for evaluating the goodness of fit in a regression model?
- R-Squared always increases with more predictors; doesn't account for bias
- R-Squared always increases with more predictors; doesn't penalize complexity in the model
- R-Squared is sensitive to outliers; doesn't consider the number of predictors
- R-Squared provides absolute error values; not suitable for non-linear models
One major limitation of R-Squared is that it always increases with the addition of more predictors, regardless of whether they are relevant. This can lead to overly complex models that don't generalize well. R-Squared doesn't penalize for complexity in the model, making it possible to achieve a high R-Squared value with an overfitted model. It might not always be the best sole metric for assessing the goodness of fit.
Describe how Machine Learning algorithms are implemented in sentiment analysis and customer feedback systems.
- Drug Discovery
- Image Recognition
- Inventory Management
- Text Classification
Sentiment analysis in customer feedback systems often involves text classification techniques. Machine learning algorithms like SVM, Naïve Bayes, or deep learning models can categorize customer comments into positive, negative, or neutral sentiment.
When applying the K-Nearest Neighbors algorithm, scaling the features is essential because it ensures that each feature contributes __________ to the distance computation.
- differently
- equally
- maximally
- minimally
Scaling features in KNN ensures that each feature contributes equally to the distance computation, preventing features with larger scales from dominating.
What is the Confusion Matrix, and what information does it provide about a classification model?
- A matrix representing classification errors
- A matrix representing feature importance
- A matrix representing model's coefficients
- A matrix representing model's hyperparameters
The Confusion Matrix is a table that describes the performance of a classification model by categorizing predictions into True Positives, False Positives, True Negatives, and False Negatives. It gives detailed insight into where the model is making mistakes.
A set of input variables and corresponding target values used to evaluate a model's performance is referred to as a _________ set.
- evaluation
- testing
- training
- validation
A "testing" set consists of input variables and corresponding target values used to assess a machine learning model's performance on unseen data, allowing for a more robust evaluation.
The assumption that the relationship between the independent and dependent variable is linear in Simple Linear Regression is called the assumption of _________.
- Homoscedasticity
- Independence
- Linearity
- Normality
The assumption of linearity ensures that the relationship between the independent and dependent variable is linear, which is fundamental to Simple Linear Regression.
What type of learning algorithm utilizes labeled data to make predictions?
- Reinforcement Learning
- Semi-supervised Learning
- Supervised Learning
- Unsupervised Learning
Supervised Learning uses labeled data, where the output is known, to train the algorithm and make predictions.
The slope coefficient in Simple Linear Regression gives the _________ change in the dependent variable for a one-unit change in the independent variable.
- Absolute
- Constant
- Incremental
- Marginal
The slope coefficient in Simple Linear Regression gives the marginal change in the dependent variable for a one-unit change in the independent variable.