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 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
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
Get step-by-step solutions from verified subject matter experts
