Question: In class we used decision trees and ensemble methods for classification, but we can use them for regression as well ( i . e .

In class we used decision trees and ensemble methods for classification, but we can use them for regression as well (i.e. learning a function from features to real values). Let's imagine that our data has 3 binary features A, B, C, which take values 0/1, and we want to learn a function which counts the number of features which have value 1. Draw the decision tree which represents this function. How many leaf nodes does it have?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!