What are the assumptions that must be met in Simple Linear Regression?

  • Homogeneity, Variability, Linearity
  • Independence, Homoscedasticity, Linearity, Normality
  • Linearity, Categorization, Independence
  • Linearity, Quadratic, Exponential
The assumptions in Simple Linear Regression include Independence (of errors), Homoscedasticity (equal variance), Linearity, and Normality (of errors).

Explain the difference between parametric and non-parametric models.

  • The ability to update parameters during training
  • The flexibility in form
  • The number of features used
  • The use of hyperparameters
Parametric models assume a specific form for the function they're approximating, such as a linear relationship, and have a fixed number of parameters. Non-parametric models make fewer assumptions about the function's form, often resulting in more flexibility but also requiring more data.

What is the bias-variance tradeoff in Machine Learning?

  • A tradeoff between supervised and unsupervised learning
  • A tradeoff between the complexity and the size of a model
  • A tradeoff between the learning rate and the number of epochs
  • A tradeoff between underfitting and overfitting
The bias-variance tradeoff refers to the balancing act between underfitting (high bias, low variance) and overfitting (low bias, high variance). A model with high bias oversimplifies the problem, while high variance tends to overcomplicate it.

How does the Logit function transform the probability in Logistic Regression?

  • Maps odds to log-odds
  • Maps odds to probability
  • Maps probability to log-odds
  • Maps probability to odds
The Logit function in Logistic Regression takes a probability and maps it to log-odds. It's the inverse of the Sigmoid function used to model probabilities.

In unsupervised learning, the model learns to find patterns and structures from _________ data, where no specific output values are provided.

  • Balanced
  • Labelled
  • Sparse
  • Unlabelled
In unsupervised learning, the model learns from unlabeled data, finding hidden patterns and structures without specific output values or guidance.

A machine learning model is suffering from high computational costs and overfitting. How could dimensionality reduction be implemented to solve these problems?

  • Add more features
  • Apply PCA or LDA, depending on the data type
  • Increase the model's complexity
  • Reduce the dataset size
Applying dimensionality reduction techniques like PCA or LDA can significantly reduce the feature space and computational costs without losing important information. This can also help in addressing overfitting by simplifying the model, making it less likely to capture noise in the data. Increasing model complexity or adding more features would exacerbate the problem, and reducing the dataset size may lead to loss of information.

What is the concept of Polynomial Regression?

  • Linear equation with multiple variables
  • Linear equation with one variable
  • Non-linear equation using polynomial features
  • Non-linear equation with one variable
Polynomial Regression is a form of regression analysis where the relationship between the independent variable and the dependent variable is modeled as a polynomial. It allows for more complex relationships by including polynomial terms in the regression equation.

You trained a model that performs exceptionally well on the training data but poorly on the test data. What could be the issue, and how would you address it?

  • Increase complexity
  • Increase dataset size
  • Overfitting, add regularization
  • Reduce complexity
The issue is likely overfitting, where the model has learned the training data too well, including its noise and anomalies. Adding regularization would help to constrain the model and make it generalize better to unseen data.

The Gini Index in a Decision Tree aims to minimize the probability of __________.

  • Misclassification
  • Optimization
  • Overfitting
  • Underfitting
The Gini Index in a Decision Tree aims to minimize the probability of misclassification. It quantifies how often a randomly chosen element from the set would be incorrectly labeled, guiding the best splits in the tree.

_________ learning is a type of Machine Learning where the model learns by interacting with an environment to achieve a goal.

  • Reinforcement
  • Semi-supervised
  • Supervised
  • Unsupervised
Reinforcement learning is a type of learning where an agent learns to make decisions by interacting with an environment, receiving feedback in the form of rewards or penalties.