Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 3 subjective questions Probability Theory and Loss Functions for Machine Learning

INT255 — Mathematics Behind Machine Learning 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define random variables and their significance in Machine Learning models. Differentiate between discrete and continuous random variables with examples relevant to ML.

  2. Question 2 of 20

    Explain the Bernoulli and Binomial distributions. Provide examples of where each might be applied in a machine learning context.

  3. Question 3 of 20

    Describe the Gaussian (Normal) distribution. Why is it so prevalent in machine learning, particularly in models like Linear Regression and Gaussian Mixture Models?

  4. Question 4 of 20

    What is likelihood in the context of machine learning? Explain the principle of Maximum Likelihood Estimation (MLE) and its goal.

  5. Question 5 of 20

    Derive the Maximum Likelihood Estimator for the parameter of a Bernoulli distribution given a dataset where each .

  6. Question 6 of 20

    Define the squared error loss function. For what type of machine learning problems is it typically used, and why? Discuss its properties, including convexity.

  7. Question 7 of 20

    Explain the logistic loss function (also known as binary cross-entropy loss). For what type of machine learning problems is it primarily used? Provide its mathematical formula and explain its relation to probability.

  8. Question 8 of 20

    State Bayes' Theorem. Explain the roles of the prior, likelihood, and posterior distributions in the Bayesian interpretation of learning models.

  9. Question 9 of 20

    Compare and contrast Maximum Likelihood Estimation (MLE) and Maximum A Posteriori (MAP) estimation. Under what conditions might MAP be preferred over MLE?

  10. Question 10 of 20

    Discuss how the concept of a random variable is fundamental to understanding the output of a classification model or the error in a regression model. Give specific examples.

  11. Question 11 of 20

    Describe the Categorical distribution and its application in multi-class classification problems. How does it relate to the softmax function?

  12. Question 12 of 20

    Explain why the log-likelihood is often maximized instead of the likelihood itself in machine learning algorithms. Discuss the mathematical advantages of working with log-likelihood.

  13. Question 13 of 20

    What are the desirable properties of a good loss function? Discuss how squared error and logistic loss demonstrate some of these properties.

  14. Question 14 of 20

    Outline the steps to derive the Maximum Likelihood Estimators for the mean () and variance () of a Gaussian distribution given a dataset . (You don't need to perform the full derivation, but explain the process).

  15. Question 15 of 20

    Clearly distinguish between probability and likelihood. Use an example to illustrate when you would use each term in a machine learning context.

  16. Question 16 of 20

    Describe the general process of Bayesian inference in machine learning. How does it update beliefs about model parameters as new data arrives?

  17. Question 17 of 20

    Explain how Maximum A Posteriori (MAP) estimation can be viewed as a form of regularization in machine learning. Provide an example linking a common regularization technique to a specific prior distribution.

  18. Question 18 of 20

    Explain the relationship between the logistic loss (binary cross-entropy) and Maximum Likelihood Estimation for a Bernoulli distribution. Show how minimizing logistic loss is equivalent to maximizing the log-likelihood of a Bernoulli model.

  19. Question 19 of 20

    What is the concept of "expected loss" in decision theory? How does it relate to the selection of a model's parameters in a probabilistic framework?

  20. Question 20 of 20

    Briefly describe the Dirichlet distribution and its role as a prior in Bayesian contexts, particularly for parameters of categorical or multinomial distributions.

That's unit 3

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.