|
Algorithm 1. Weighted quantile Regression Forest algorithm pseudocode. |
|
input: Number of Trees (), random subset of the features (), training dataset (), probability for quantile estimation |
|
output: weighted quantile Regression Forests () |
| 1: is empty |
| 2: for each
= 1 to
do
|
| 3: = Bootstrap Sample () |
| 4: = Random Decision Tree (, ) |
| 5: =
|
| 6: end
|
| 7: for each
= 1 to
do
|
| 8: Compute using Formula (13) |
| 9: end
|
| 10: for each
= 1 to
do
|
| 11: Compute using Formula (12) |
| 12: end
|
| 13: for each
= 1 to
do
|
| 14: Compute using Formula (14) |
| 15: end
|
| 16: Compute final prediction using Formula (11) |
| 17: return
|