Machine Learning with Python -> Classification -> week 3

 Machine Learning with Python -> Classification -> week 3

1. Which of the following examples is/are a sample application of Logistic Regression? (select all that apply)

The probability that a person has a heart attack within a specified time period using the person's age and sex.

Customer's propensity to purchase a product or halt a subscription in marketing applications.

Estimating the blood pressure of a patient based on her symptoms and biographical data.

Likelihood of a homeowner defaulting on a mortgage.


2. Which one is TRUE about the kNN algorithm?

  • kNN is a classification algorithm that takes a bunch of unlabelled points and uses them to learn how to label other points.

  • kNN algorithm can be used to estimate values for a continuous target.

Question 3

3. What is "information gain" in decision trees?



Question 3What is "information gain" in decision trees?

  • It is the information that can decrease the level of certainty after splitting in each node.
  • It is the entropy of a tree before split minus weighted entropy after split by an attribute.
  • It is the amount of information disorder or the amount of randomness in each node.


Comments

Popular posts from this blog