Quiz Space

Machine Learning Techniques · End Term · 31 Aug 2025 · May 2025 term · Set QDB3

Question 11: Consider a logistic regression model trained to predict …

Question 11

+3 marksNumerical answer

Consider a logistic regression model trained to predict whether a customer will buy a product (Y=1Y = 1) or not (Y=0Y = 0) based on two features: X1X_1: number of website visits per week and X2X_2: time spent on product pages per visit (minutes). The fitted model is:

p^=P(y=1∣x1,x2)=11+e−(0.4x1+0.1x2).\hat{p} = P(y = 1 \mid x_1, x_2) = \frac{1}{1 + e^{-(0.4x_1 + 0.1x_2)}}.

For a customer who spends 4 minutes per visit, find how many weekly visits are required to make the predicted probability of purchase equal to 0.7. Enter the answer correct to 2 decimal places.

Show answer

Correct answer: 1.12 (accepted within ±0.02)

Question 11 of 17 in the IIT Madras BS Machine Learning Techniques (MLT) End Term paper sat on 31 Aug 2025, in the May 2025 term (IIT M DIPLOMA FN EXAM QDD1 31 Aug 2025). It carries 3 marks.

More questions from this paper

  1. Q1Consider the following dataset: D = \left{\left(\begin{bmatrix} -2 \ 1 \end{bmatrix}, +1\right), \left(\begin{bmatrix} …
  2. Q2Figure question
  3. Q3Figure question
  4. Q4Consider K-means clustering algorithm with K = 2 on a one-dimensional dataset D = {x_1, x_2, \ldots, x_n} aiming to min…
  5. Q5Suppose we are solving a binary classification task using a neural network with the following architecture: Input: x = …
  6. Q6Which of the following statements are true about the decision tree algorithm?
  7. Q7Consider a 1D dataset which consists of 2 positive data points (points with label 1) {1, 2} and 3 negative data points …
  8. Q8Figure question
  9. Q9Given a two-dimensional data set where points from class 1 are: {(−2, 3), (−1, 1)} and points from class 0 are: {(1, 3)…
  10. Q10Consider a dataset {x_1, x_2, x_3, x_4}, where each x_i \in \mathbb{R}^3. The covariance matrix C has three non-zero ei…
  11. Q12A random forest model consists of three decision trees. For a given test point, each tree outputs the following class p…
  12. Q13A machine's lifetime (in hours) is modeled as a random variable X \sim \text{Exponential}(\lambda). Suppose the observe…
  13. Q14Based on the above data, answer the given subquestions.
  14. Q15Based on the above data, answer the given subquestions.
  15. Q16Consider a naive Bayes classification problem with three binary features f_1, f_2, f_3 for a binary classification prob…
  16. Q17Consider a naive Bayes classification problem with three binary features f_1, f_2, f_3 for a binary classification prob…