Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1.What is the name of the method for building decision trees in Scikit-learn .(CHOOSE RIGHT ANSWER) DecisionTreeClassifier DecisionTreeRegressor Both of the above are correct None

Q1.What is the name of the method for building decision trees in Scikit-learn .(CHOOSE RIGHT ANSWER)

  1. DecisionTreeClassifier
  2. DecisionTreeRegressor
  3. Both of the above are correct
  4. None of the above

Q.2.Below is the dataset [0,0,0,1,1,1,1,1] What is the initial entropy for this dataset? (CHOOSE RIGHT ANSWER)

  1. -(5/8 log (5/8) + 3/8 log (3/8))
  2. 5/8 log (5/8) + 3/8 log (3/8)
  3. 3/8 log (5/8) + 5/8 log (3/8)
  4. 5/8 log (3/8) - 3/8 log (5/8)

Q3.How to choose an attribute to split in a decision tree algorithm? (CHOOSE RIGHT ANSWER)

  1. You choose the attribute with the highest infoGain
  2. You select the attribute with the smallest infoGain
  3. You choose the attribute where the conditional entropy is maximum
  4. You select an attribute where the conditional entropy is higher than the base entropy

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

5. Explain how ERISA protects employees pension rights.pg 87

Answered: 1 week ago