Answered step by step
Verified Expert Solution
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)
- DecisionTreeClassifier
- DecisionTreeRegressor
- Both of the above are correct
- 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)
- -(5/8 log (5/8) + 3/8 log (3/8))
- 5/8 log (5/8) + 3/8 log (3/8)
- 3/8 log (5/8) + 5/8 log (3/8)
- 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)
- You choose the attribute with the highest infoGain
- You select the attribute with the smallest infoGain
- You choose the attribute where the conditional entropy is maximum
- 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started