nerdexam
Databricks

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

Suppose that we are interested in the factors that influence whether a political candidate wins an election. The outcome (response) variable is binary (0/1); win or lose. The predictor variables of…

The correct answer is B. Logistic Regression. Logistic regression Pros: Computationally inexpensive, easy to implement, knowledge representation easy to Cons: Prone to underfitting, may have low accuracy Works with: Numeric values, nominal values

Supervised Learning

Question

Suppose that we are interested in the factors that influence whether a political candidate wins an election. The outcome (response) variable is binary (0/1); win or lose. The predictor variables of interest are the amount of money spent on the campaign, the amount of time spent campaigning negatively and whether or not the candidate is an incumbent. Above is an example of

Options

  • ALinear Regression
  • BLogistic Regression
  • CRecommendation system
  • DMaximum likelihood estimation
  • EHierarchical linear models

How the community answered

(25 responses)
  • A
    12% (3)
  • B
    76% (19)
  • C
    4% (1)
  • D
    8% (2)

Explanation

Logistic regression Pros: Computationally inexpensive, easy to implement, knowledge representation easy to Cons: Prone to underfitting, may have low accuracy Works with: Numeric values, nominal values

Topics

#logistic regression#binary classification#supervised learning#classification

Community Discussion

No community discussion yet for this question.

Full DATABRICKS-CERTIFIED-PROFESSIONAL-DATA-SCIENTIST Practice