nerdexam
Databricks

DATABRICKS-CERTIFIED-PROFESSIONAL-DATA-SCIENTIST · Question #29

Marie is getting married tomorrow, at an outdoor ceremony in the desert. In recent years, it has rained only 5 days each year. Unfortunately, the weatherman has predicted rain for tomorrow. When it…

The correct answer is A. Naive Bayes. The sample space is defined by two mutually-exclusive events - it rains or it does not rain. Additionally, a third event occurs when the weatherman predicts rain. You should consider Bayes' theorem when the following conditions exist. - The sample space is partitioned into a…

Algorithm Selection and Application

Question

Marie is getting married tomorrow, at an outdoor ceremony in the desert. In recent years, it has rained only 5 days each year. Unfortunately, the weatherman has predicted rain for tomorrow. When it actually rains, the weatherman correctly forecasts rain 90% of the time. When it doesn't rain, he incorrectly forecasts rain 10% of the time. Which of the following will you use to calculate the probability whether it will rain on the day of Marie's wedding?

Options

  • ANaive Bayes
  • BLogistic Regression
  • CRandom Decision Forests
  • DAll of the above

How the community answered

(35 responses)
  • A
    80% (28)
  • B
    3% (1)
  • C
    11% (4)
  • D
    6% (2)

Explanation

The sample space is defined by two mutually-exclusive events - it rains or it does not rain. Additionally, a third event occurs when the weatherman predicts rain. You should consider Bayes' theorem when the following conditions exist. - The sample space is partitioned into a set of mutually exclusive events {A1, A2,... :An}. - Within the sample space, there exists an event B: for which P(B)>; 0. - The analytical goal is to compute a conditional probability of the form: P( Ak B).

Topics

#Naive Bayes#Bayes theorem#conditional probability#probabilistic reasoning

Community Discussion

No community discussion yet for this question.

Full DATABRICKS-CERTIFIED-PROFESSIONAL-DATA-SCIENTIST Practice