Question: f can be any arbitrary functiuon such as x**2 (python) In this problem, you are asked to use decision trees for regression with two different

 f can be any arbitrary functiuon such as x**2 (python) In

f can be any arbitrary functiuon such as x**2

(python)

In this problem, you are asked to 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

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!