Question: use decision trees for regression with two different target loss functions: minimum square error and minimum absolute error. Design a function f : [0,

use decision trees for regression with two different target loss functions: minimum

 

use decision trees for regression with two different target loss functions: minimum square error and minimum absolute error. Design a function f : [0, 1] [0, 1] such that when you sample input points Xi from [0, 1] and use the sequence (Xi, f(Xi)) as your input, you are likely to see the difference between the two loss functions with six leafs (i.e., with max_leaf_nodes=6). Among other things, your solution should contain: a. a plot of f and the two functions resulting from the training process under different loss functions,

Step by Step Solution

3.42 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To design a function f 0 1 0 1 and demonstrate the difference between decision trees trained with two different target loss functions minimum square e... View full answer

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 Programming Questions!