Describing the problem - Tree Example
Based on the mid point of each break, we can approximate the profiles using the function \(2z\), with a slope larger than the true value of 1.
tree_pdp |>
transform(tree_mid_point = c(0.1, 0.4, 0.8)) |>
transform(profile_aprox = 2 * tree_mid_point)
## x1c_tree profile tree_mid_point profile_aprox
## 1 (0,0.177] 0.2 0.1 0.2
## 2 (0.177,0.597] 0.8 0.4 0.8
## 3 (0.597,1] 1.5 0.8 1.6