Machine Learning Interview Questions and Answers
Ques 6. Differentiate between bagging and boosting.
Bagging (Bootstrap Aggregating) and boosting are ensemble learning techniques. Bagging builds multiple models independently and combines them, while boosting builds models sequentially, giving more weight to misclassified instances.
Ques 7. What is the purpose of the activation function in a neural network?
The activation function introduces non-linearity to a neural network, allowing it to learn complex patterns. Common activation functions include sigmoid, tanh, and ReLU.
Ques 8. Explain the term 'precision' in the context of classification.
Precision is the ratio of correctly predicted positive observations to the total predicted positives. It is a measure of the accuracy of positive predictions made by a classification model.
Ques 9. What is the curse of dimensionality?
The curse of dimensionality refers to the challenges and issues that arise when working with high-dimensional data. As the number of features increases, the data becomes sparse, and the computational requirements for training models grow exponentially.
Ques 10. How does a decision tree work?
A decision tree is a tree-like model where each node represents a decision based on a feature, and each branch represents an outcome of that decision. It is used for both classification and regression tasks.
Most helpful rated by users:
- Explain the concept of feature engineering.
- Explain the term 'hyperparameter' in the context of machine learning.
- What is the purpose of the activation function in a neural network?
- What is the purpose of regularization in machine learning?
- What is the concept of a confusion matrix?