20.63 Conditional Decision Tree

Note that we are using the newer version of the ctree() function as is provided by (Hothorn and Zeileis 2021). One advantage of the newer version is that predict() with works just like other predict() methods (returns a matrix rather than a list).

library(partykit)
model <- ctree(formula=form, data=ds[tr, vars])
model
## 
## Model formula:
## rain_tomorrow ~ rain_today + temp_3pm + temp_9am + cloud_3pm + 
##     cloud_9am + pressure_3pm + pressure_9am + humidity_3pm + 
##     humidity_9am + wind_speed_3pm + wind_speed_9am + wind_dir_3pm + 
##     wind_dir_9am + wind_gust_speed + wind_gust_dir + sunshine + 
##     evaporation + rainfall + max_temp + min_temp
## 
## Fitted party:
## [1] root
## |   [2] humidity_3pm <= 72
## |   |   [3] humidity_3pm <= 50
## |   |   |   [4] wind_gust_speed <= 54
## |   |   |   |   [5] sunshine <= 7.5
## |   |   |   |   |   [6] pressure_3pm <= 1015
## |   |   |   |   |   |   [7] humidity_3pm <= 27: No (n = 313, err = 8.9%)
## |   |   |   |   |   |   [8] humidity_3pm > 27
## |   |   |   |   |   |   |   [9] wind_dir_9am <= NE
## |   |   |   |   |   |   |   |   [10] wind_gust_speed <= 35
## |   |   |   |   |   |   |   |   |   [11] wind_dir_9am <= N: No (n = 58, err = 12.1%)
## |   |   |   |   |   |   |   |   |   [12] wind_dir_9am > N: No (n = 71, err = 39.4%)
## |   |   |   |   |   |   |   |   [13] wind_gust_speed > 35: No (n = 372, err = 48.1%)
## |   |   |   |   |   |   |   [14] wind_dir_9am > NE
## |   |   |   |   |   |   |   |   [15] pressure_3pm <= 1004.7: No (n = 113, err = 46.9%)
## |   |   |   |   |   |   |   |   [16] pressure_3pm > 1004.7
## |   |   |   |   |   |   |   |   |   [17] wind_speed_9am <= 19
## |   |   |   |   |   |   |   |   |   |   [18] wind_gust_speed <= 41: No (n = 540, err = 20.6%)
## |   |   |   |   |   |   |   |   |   |   [19] wind_gust_speed > 41: No (n = 273, err = 33.3%)
## |   |   |   |   |   |   |   |   |   [20] wind_speed_9am > 19: No (n = 249, err = 15.3%)
## |   |   |   |   |   [21] pressure_3pm > 1015
## |   |   |   |   |   |   [22] wind_gust_speed <= 33
## |   |   |   |   |   |   |   [23] pressure_3pm <= 1023.1
## |   |   |   |   |   |   |   |   [24] sunshine <= 3.8: No (n = 177, err = 14.7%)
## |   |   |   |   |   |   |   |   [25] sunshine > 3.8: No (n = 544, err = 5.5%)
## |   |   |   |   |   |   |   [26] pressure_3pm > 1023.1
## |   |   |   |   |   |   |   |   [27] rainfall <= 5.8
## |   |   |   |   |   |   |   |   |   [28] wind_speed_9am <= 13: No (n = 264, err = 0.0%)
## |   |   |   |   |   |   |   |   |   [29] wind_speed_9am > 13: No (n = 67, err = 4.5%)
## |   |   |   |   |   |   |   |   [30] rainfall > 5.8: No (n = 7, err = 14.3%)
## |   |   |   |   |   |   [31] wind_gust_speed > 33
## |   |   |   |   |   |   |   [32] wind_dir_9am <= ENE
## |   |   |   |   |   |   |   |   [33] pressure_3pm <= 1019.9
## |   |   |   |   |   |   |   |   |   [34] humidity_3pm <= 41: No (n = 155, err = 21.3%)
## |   |   |   |   |   |   |   |   |   [35] humidity_3pm > 41: No (n = 118, err = 39.8%)
## |   |   |   |   |   |   |   |   [36] pressure_3pm > 1019.9: No (n = 175, err = 8.6%)
## |   |   |   |   |   |   |   [37] wind_dir_9am > ENE: No (n = 840, err = 9.6%)
## |   |   |   |   [38] sunshine > 7.5
## |   |   |   |   |   [39] pressure_3pm <= 1009.3
## |   |   |   |   |   |   [40] humidity_3pm <= 26
## |   |   |   |   |   |   |   [41] humidity_3pm <= 13: No (n = 1003, err = 1.2%)
## |   |   |   |   |   |   |   [42] humidity_3pm > 13
## |   |   |   |   |   |   |   |   [43] sunshine <= 10.7: No (n = 1198, err = 6.9%)
## |   |   |   |   |   |   |   |   [44] sunshine > 10.7: No (n = 566, err = 2.1%)
## |   |   |   |   |   |   [45] humidity_3pm > 26
## |   |   |   |   |   |   |   [46] sunshine <= 9.9
## |   |   |   |   |   |   |   |   [47] wind_gust_speed <= 44
## |   |   |   |   |   |   |   |   |   [48] wind_speed_9am <= 9
## |   |   |   |   |   |   |   |   |   |   [49] max_temp <= 28.2: No (n = 282, err = 24.5%)
## |   |   |   |   |   |   |   |   |   |   [50] max_temp > 28.2
## |   |   |   |   |   |   |   |   |   |   |   [51] rainfall <= 5.2: No (n = 428, err = 12.1%)
## |   |   |   |   |   |   |   |   |   |   |   [52] rainfall > 5.2: No (n = 28, err = 35.7%)
## |   |   |   |   |   |   |   |   |   [53] wind_speed_9am > 9: No (n = 835, err = 11.1%)
## |   |   |   |   |   |   |   |   [54] wind_gust_speed > 44
## |   |   |   |   |   |   |   |   |   [55] wind_dir_9am <= ESE: No (n = 295, err = 35.9%)
## |   |   |   |   |   |   |   |   |   [56] wind_dir_9am > ESE
## |   |   |   |   |   |   |   |   |   |   [57] wind_speed_3pm <= 13: No (n = 45, err = 40.0%)
## |   |   |   |   |   |   |   |   |   |   [58] wind_speed_3pm > 13: No (n = 405, err = 15.3%)
## |   |   |   |   |   |   |   [59] sunshine > 9.9
## |   |   |   |   |   |   |   |   [60] cloud_3pm <= 4: No (n = 756, err = 4.4%)
## |   |   |   |   |   |   |   |   [61] cloud_3pm > 4: No (n = 348, err = 11.5%)
## |   |   |   |   |   [62] pressure_3pm > 1009.3
## |   |   |   |   |   |   [63] humidity_3pm <= 36
## |   |   |   |   |   |   |   [64] humidity_3pm <= 24
## |   |   |   |   |   |   |   |   [65] sunshine <= 9.8
## |   |   |   |   |   |   |   |   |   [66] wind_gust_speed <= 41: No (n = 3904, err = 1.1%)
## |   |   |   |   |   |   |   |   |   [67] wind_gust_speed > 41
## |   |   |   |   |   |   |   |   |   |   [68] humidity_3pm <= 16: No (n = 925, err = 1.5%)
## |   |   |   |   |   |   |   |   |   |   [69] humidity_3pm > 16
## |   |   |   |   |   |   |   |   |   |   |   [70] wind_dir_9am <= NE: No (n = 329, err = 9.7%)
## |   |   |   |   |   |   |   |   |   |   |   [71] wind_dir_9am > NE: No (n = 691, err = 2.2%)
## |   |   |   |   |   |   |   |   [72] sunshine > 9.8: No (n = 3647, err = 0.4%)
## |   |   |   |   |   |   |   [73] humidity_3pm > 24
## |   |   |   |   |   |   |   |   [74] pressure_3pm <= 1015.4
## |   |   |   |   |   |   |   |   |   [75] wind_gust_speed <= 37
## |   |   |   |   |   |   |   |   |   |   [76] sunshine <= 9.7: No (n = 1921, err = 3.8%)
## |   |   |   |   |   |   |   |   |   |   [77] sunshine > 9.7: No (n = 715, err = 0.7%)
## |   |   |   |   |   |   |   |   |   [78] wind_gust_speed > 37
## |   |   |   |   |   |   |   |   |   |   [79] wind_dir_9am <= ENE
## |   |   |   |   |   |   |   |   |   |   |   [80] wind_gust_speed <= 50: No (n = 905, err = 10.7%)
## |   |   |   |   |   |   |   |   |   |   |   [81] wind_gust_speed > 50: No (n = 74, err = 27.0%)
## |   |   |   |   |   |   |   |   |   |   [82] wind_dir_9am > ENE
## |   |   |   |   |   |   |   |   |   |   |   [83] wind_speed_9am <= 6: No (n = 248, err = 12.5%)
## |   |   |   |   |   |   |   |   |   |   |   [84] wind_speed_9am > 6
## |   |   |   |   |   |   |   |   |   |   |   |   [85] cloud_3pm <= 7
## |   |   |   |   |   |   |   |   |   |   |   |   |   [86] wind_dir_9am <= NW
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [87] temp_3pm <= 34.5
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [88] rain_today in No: No (n = 1637, err = 1.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [89] rain_today in Yes: No (n = 129, err = 7.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [90] temp_3pm > 34.5: No (n = 23, err = 26.1%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [91] wind_dir_9am > NW: No (n = 108, err = 12.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   [92] cloud_3pm > 7: No (n = 32, err = 15.6%)
## |   |   |   |   |   |   |   |   [93] pressure_3pm > 1015.4
## |   |   |   |   |   |   |   |   |   [94] pressure_3pm <= 1019.5
## |   |   |   |   |   |   |   |   |   |   [95] sunshine <= 9.6
## |   |   |   |   |   |   |   |   |   |   |   [96] pressure_9am <= 1019.2: No (n = 528, err = 0.4%)
## |   |   |   |   |   |   |   |   |   |   |   [97] pressure_9am > 1019.2: No (n = 1412, err = 4.8%)
## |   |   |   |   |   |   |   |   |   |   [98] sunshine > 9.6
## |   |   |   |   |   |   |   |   |   |   |   [99] cloud_3pm <= 4
## |   |   |   |   |   |   |   |   |   |   |   |   [100] rainfall <= 8: No (n = 817, err = 0.1%)
## |   |   |   |   |   |   |   |   |   |   |   |   [101] rainfall > 8: No (n = 11, err = 9.1%)
## |   |   |   |   |   |   |   |   |   |   |   [102] cloud_3pm > 4: No (n = 334, err = 3.0%)
## |   |   |   |   |   |   |   |   |   [103] pressure_3pm > 1019.5: No (n = 3233, err = 0.6%)
## |   |   |   |   |   |   [104] humidity_3pm > 36
## |   |   |   |   |   |   |   [105] pressure_3pm <= 1016.5
## |   |   |   |   |   |   |   |   [106] sunshine <= 9.3
## |   |   |   |   |   |   |   |   |   [107] wind_gust_speed <= 37: No (n = 3283, err = 6.5%)
## |   |   |   |   |   |   |   |   |   [108] wind_gust_speed > 37
## |   |   |   |   |   |   |   |   |   |   [109] wind_speed_9am <= 15
## |   |   |   |   |   |   |   |   |   |   |   [110] wind_gust_speed <= 46: No (n = 1583, err = 13.3%)
## |   |   |   |   |   |   |   |   |   |   |   [111] wind_gust_speed > 46: No (n = 310, err = 22.9%)
## |   |   |   |   |   |   |   |   |   |   [112] wind_speed_9am > 15
## |   |   |   |   |   |   |   |   |   |   |   [113] wind_gust_speed <= 48
## |   |   |   |   |   |   |   |   |   |   |   |   [114] pressure_3pm <= 1011.7: No (n = 157, err = 14.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   [115] pressure_3pm > 1011.7: No (n = 792, err = 5.1%)
## |   |   |   |   |   |   |   |   |   |   |   [116] wind_gust_speed > 48: No (n = 350, err = 13.4%)
## |   |   |   |   |   |   |   |   [117] sunshine > 9.3
## |   |   |   |   |   |   |   |   |   [118] sunshine <= 11.9: No (n = 1874, err = 4.3%)
## |   |   |   |   |   |   |   |   |   [119] sunshine > 11.9: No (n = 675, err = 1.3%)
## |   |   |   |   |   |   |   [120] pressure_3pm > 1016.5
## |   |   |   |   |   |   |   |   [121] wind_gust_speed <= 33
## |   |   |   |   |   |   |   |   |   [122] pressure_3pm <= 1024.1
## |   |   |   |   |   |   |   |   |   |   [123] sunshine <= 9.5: No (n = 2634, err = 3.5%)
## |   |   |   |   |   |   |   |   |   |   [124] sunshine > 9.5: No (n = 943, err = 1.3%)
## |   |   |   |   |   |   |   |   |   [125] pressure_3pm > 1024.1: No (n = 1577, err = 0.8%)
## |   |   |   |   |   |   |   |   [126] wind_gust_speed > 33
## |   |   |   |   |   |   |   |   |   [127] sunshine <= 9.8
## |   |   |   |   |   |   |   |   |   |   [128] rain_today in No
## |   |   |   |   |   |   |   |   |   |   |   [129] pressure_3pm <= 1018.7
## |   |   |   |   |   |   |   |   |   |   |   |   [130] pressure_9am <= 1022.3: No (n = 761, err = 6.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [131] pressure_9am > 1022.3: No (n = 80, err = 20.0%)
## |   |   |   |   |   |   |   |   |   |   |   [132] pressure_3pm > 1018.7: No (n = 1895, err = 3.4%)
## |   |   |   |   |   |   |   |   |   |   [133] rain_today in Yes: No (n = 380, err = 9.7%)
## |   |   |   |   |   |   |   |   |   [134] sunshine > 9.8
## |   |   |   |   |   |   |   |   |   |   [135] rainfall <= 12: No (n = 1219, err = 1.2%)
## |   |   |   |   |   |   |   |   |   |   [136] rainfall > 12: No (n = 13, err = 7.7%)
## |   |   |   [137] wind_gust_speed > 54
## |   |   |   |   [138] sunshine <= 7.7
## |   |   |   |   |   [139] pressure_3pm <= 1006.1
## |   |   |   |   |   |   [140] sunshine <= 4
## |   |   |   |   |   |   |   [141] humidity_3pm <= 21: No (n = 19, err = 31.6%)
## |   |   |   |   |   |   |   [142] humidity_3pm > 21: Yes (n = 105, err = 25.7%)
## |   |   |   |   |   |   [143] sunshine > 4: No (n = 353, err = 47.0%)
## |   |   |   |   |   [144] pressure_3pm > 1006.1
## |   |   |   |   |   |   [145] rainfall <= 10.2: No (n = 771, err = 29.6%)
## |   |   |   |   |   |   [146] rainfall > 10.2: Yes (n = 37, err = 35.1%)
## |   |   |   |   [147] sunshine > 7.7
## |   |   |   |   |   [148] pressure_3pm <= 1008.8
## |   |   |   |   |   |   [149] humidity_3pm <= 14
## |   |   |   |   |   |   |   [150] wind_gust_speed <= 76: No (n = 474, err = 6.5%)
## |   |   |   |   |   |   |   [151] wind_gust_speed > 76: No (n = 69, err = 21.7%)
## |   |   |   |   |   |   [152] humidity_3pm > 14
## |   |   |   |   |   |   |   [153] humidity_9am <= 55
## |   |   |   |   |   |   |   |   [154] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   |   [155] wind_dir_9am <= ENE
## |   |   |   |   |   |   |   |   |   |   [156] pressure_3pm <= 1004.4
## |   |   |   |   |   |   |   |   |   |   |   [157] wind_dir_3pm <= SSW: Yes (n = 44, err = 34.1%)
## |   |   |   |   |   |   |   |   |   |   |   [158] wind_dir_3pm > SSW: No (n = 84, err = 27.4%)
## |   |   |   |   |   |   |   |   |   |   [159] pressure_3pm > 1004.4: No (n = 169, err = 16.6%)
## |   |   |   |   |   |   |   |   |   [160] wind_dir_9am > ENE: No (n = 596, err = 10.4%)
## |   |   |   |   |   |   |   |   [161] cloud_3pm > 5
## |   |   |   |   |   |   |   |   |   [162] temp_3pm <= 27.8: No (n = 121, err = 22.3%)
## |   |   |   |   |   |   |   |   |   [163] temp_3pm > 27.8
## |   |   |   |   |   |   |   |   |   |   [164] wind_gust_speed <= 74: No (n = 109, err = 39.4%)
## |   |   |   |   |   |   |   |   |   |   [165] wind_gust_speed > 74: Yes (n = 24, err = 20.8%)
## |   |   |   |   |   |   |   [166] humidity_9am > 55
## |   |   |   |   |   |   |   |   [167] wind_gust_speed <= 63: No (n = 374, err = 28.3%)
## |   |   |   |   |   |   |   |   [168] wind_gust_speed > 63: No (n = 399, err = 45.4%)
## |   |   |   |   |   [169] pressure_3pm > 1008.8
## |   |   |   |   |   |   [170] sunshine <= 9.1
## |   |   |   |   |   |   |   [171] wind_gust_speed <= 63
## |   |   |   |   |   |   |   |   [172] humidity_9am <= 68
## |   |   |   |   |   |   |   |   |   [173] wind_dir_9am <= NE: No (n = 283, err = 19.4%)
## |   |   |   |   |   |   |   |   |   [174] wind_dir_9am > NE
## |   |   |   |   |   |   |   |   |   |   [175] humidity_9am <= 42: No (n = 235, err = 1.3%)
## |   |   |   |   |   |   |   |   |   |   [176] humidity_9am > 42: No (n = 598, err = 8.4%)
## |   |   |   |   |   |   |   |   [177] humidity_9am > 68
## |   |   |   |   |   |   |   |   |   [178] temp_3pm <= 25.5: No (n = 232, err = 12.9%)
## |   |   |   |   |   |   |   |   |   [179] temp_3pm > 25.5: No (n = 62, err = 38.7%)
## |   |   |   |   |   |   |   [180] wind_gust_speed > 63
## |   |   |   |   |   |   |   |   [181] temp_3pm <= 28.6
## |   |   |   |   |   |   |   |   |   [182] humidity_3pm <= 33: No (n = 223, err = 7.2%)
## |   |   |   |   |   |   |   |   |   [183] humidity_3pm > 33
## |   |   |   |   |   |   |   |   |   |   [184] pressure_3pm <= 1016.6
## |   |   |   |   |   |   |   |   |   |   |   [185] temp_3pm <= 20.9: No (n = 225, err = 19.1%)
## |   |   |   |   |   |   |   |   |   |   |   [186] temp_3pm > 20.9: No (n = 66, err = 40.9%)
## |   |   |   |   |   |   |   |   |   |   [187] pressure_3pm > 1016.6: No (n = 69, err = 2.9%)
## |   |   |   |   |   |   |   |   [188] temp_3pm > 28.6
## |   |   |   |   |   |   |   |   |   [189] humidity_3pm <= 24: No (n = 100, err = 21.0%)
## |   |   |   |   |   |   |   |   |   [190] humidity_3pm > 24: Yes (n = 65, err = 36.9%)
## |   |   |   |   |   |   [191] sunshine > 9.1
## |   |   |   |   |   |   |   [192] cloud_3pm <= 3
## |   |   |   |   |   |   |   |   [193] pressure_3pm <= 1011: No (n = 169, err = 7.7%)
## |   |   |   |   |   |   |   |   [194] pressure_3pm > 1011: No (n = 602, err = 1.3%)
## |   |   |   |   |   |   |   [195] cloud_3pm > 3
## |   |   |   |   |   |   |   |   [196] humidity_9am <= 41: No (n = 157, err = 1.3%)
## |   |   |   |   |   |   |   |   [197] humidity_9am > 41: No (n = 359, err = 13.6%)
## |   |   [198] humidity_3pm > 50
## |   |   |   [199] wind_gust_speed <= 48
## |   |   |   |   [200] rain_today in No
## |   |   |   |   |   [201] pressure_3pm <= 1013.3
## |   |   |   |   |   |   [202] sunshine <= 7.4
## |   |   |   |   |   |   |   [203] wind_gust_speed <= 37
## |   |   |   |   |   |   |   |   [204] sunshine <= 0.2: Yes (n = 45, err = 42.2%)
## |   |   |   |   |   |   |   |   [205] sunshine > 0.2: No (n = 751, err = 29.7%)
## |   |   |   |   |   |   |   [206] wind_gust_speed > 37
## |   |   |   |   |   |   |   |   [207] pressure_3pm <= 1006.9: Yes (n = 200, err = 47.0%)
## |   |   |   |   |   |   |   |   [208] pressure_3pm > 1006.9: No (n = 526, err = 38.6%)
## |   |   |   |   |   |   [209] sunshine > 7.4
## |   |   |   |   |   |   |   [210] cloud_3pm <= 2
## |   |   |   |   |   |   |   |   [211] pressure_3pm <= 1009.1: No (n = 466, err = 13.5%)
## |   |   |   |   |   |   |   |   [212] pressure_3pm > 1009.1
## |   |   |   |   |   |   |   |   |   [213] sunshine <= 10.9
## |   |   |   |   |   |   |   |   |   |   [214] wind_gust_speed <= 37: No (n = 359, err = 4.7%)
## |   |   |   |   |   |   |   |   |   |   [215] wind_gust_speed > 37: No (n = 193, err = 14.0%)
## |   |   |   |   |   |   |   |   |   [216] sunshine > 10.9: No (n = 315, err = 1.6%)
## |   |   |   |   |   |   |   [217] cloud_3pm > 2
## |   |   |   |   |   |   |   |   [218] humidity_9am <= 78
## |   |   |   |   |   |   |   |   |   [219] pressure_9am <= 1012.2
## |   |   |   |   |   |   |   |   |   |   [220] rainfall <= 0.6
## |   |   |   |   |   |   |   |   |   |   |   [221] wind_gust_speed <= 35: No (n = 701, err = 16.7%)
## |   |   |   |   |   |   |   |   |   |   |   [222] wind_gust_speed > 35
## |   |   |   |   |   |   |   |   |   |   |   |   [223] cloud_3pm <= 5: No (n = 704, err = 21.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [224] cloud_3pm > 5: No (n = 230, err = 33.9%)
## |   |   |   |   |   |   |   |   |   |   [225] rainfall > 0.6: No (n = 56, err = 41.1%)
## |   |   |   |   |   |   |   |   |   [226] pressure_9am > 1012.2
## |   |   |   |   |   |   |   |   |   |   [227] max_temp <= 22.6
## |   |   |   |   |   |   |   |   |   |   |   [228] wind_gust_speed <= 30: No (n = 70, err = 14.3%)
## |   |   |   |   |   |   |   |   |   |   |   [229] wind_gust_speed > 30: No (n = 265, err = 34.3%)
## |   |   |   |   |   |   |   |   |   |   [230] max_temp > 22.6
## |   |   |   |   |   |   |   |   |   |   |   [231] humidity_3pm <= 54
## |   |   |   |   |   |   |   |   |   |   |   |   [232] wind_gust_dir <= SSE
## |   |   |   |   |   |   |   |   |   |   |   |   |   [233] humidity_3pm <= 51: No (n = 417, err = 1.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [234] humidity_3pm > 51: No (n = 174, err = 6.9%)
## |   |   |   |   |   |   |   |   |   |   |   |   [235] wind_gust_dir > SSE: No (n = 209, err = 11.0%)
## |   |   |   |   |   |   |   |   |   |   |   [236] humidity_3pm > 54: No (n = 1099, err = 14.3%)
## |   |   |   |   |   |   |   |   [237] humidity_9am > 78
## |   |   |   |   |   |   |   |   |   [238] pressure_3pm <= 1005.7: No (n = 136, err = 47.1%)
## |   |   |   |   |   |   |   |   |   [239] pressure_3pm > 1005.7
## |   |   |   |   |   |   |   |   |   |   [240] max_temp <= 21
## |   |   |   |   |   |   |   |   |   |   |   [241] pressure_9am <= 1014.6
## |   |   |   |   |   |   |   |   |   |   |   |   [242] wind_dir_3pm <= SE: Yes (n = 45, err = 40.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   [243] wind_dir_3pm > SE: No (n = 128, err = 21.1%)
## |   |   |   |   |   |   |   |   |   |   |   [244] pressure_9am > 1014.6
## |   |   |   |   |   |   |   |   |   |   |   |   [245] humidity_3pm <= 60: No (n = 50, err = 36.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   [246] humidity_3pm > 60: Yes (n = 51, err = 29.4%)
## |   |   |   |   |   |   |   |   |   |   [247] max_temp > 21
## |   |   |   |   |   |   |   |   |   |   |   [248] wind_gust_dir <= W: No (n = 444, err = 19.6%)
## |   |   |   |   |   |   |   |   |   |   |   [249] wind_gust_dir > W
## |   |   |   |   |   |   |   |   |   |   |   |   [250] wind_dir_9am <= SE: Yes (n = 32, err = 31.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [251] wind_dir_9am > SE: No (n = 43, err = 18.6%)
## |   |   |   |   |   [252] pressure_3pm > 1013.3
## |   |   |   |   |   |   [253] sunshine <= 4.6
## |   |   |   |   |   |   |   [254] pressure_3pm <= 1021.8
## |   |   |   |   |   |   |   |   [255] humidity_3pm <= 57: No (n = 463, err = 17.3%)
## |   |   |   |   |   |   |   |   [256] humidity_3pm > 57
## |   |   |   |   |   |   |   |   |   [257] min_temp <= 13.5: No (n = 586, err = 36.7%)
## |   |   |   |   |   |   |   |   |   [258] min_temp > 13.5: No (n = 385, err = 23.1%)
## |   |   |   |   |   |   |   [259] pressure_3pm > 1021.8
## |   |   |   |   |   |   |   |   [260] temp_9am <= 20
## |   |   |   |   |   |   |   |   |   [261] wind_gust_speed <= 28: No (n = 494, err = 6.5%)
## |   |   |   |   |   |   |   |   |   [262] wind_gust_speed > 28: No (n = 555, err = 14.2%)
## |   |   |   |   |   |   |   |   [263] temp_9am > 20: No (n = 24, err = 33.3%)
## |   |   |   |   |   |   [264] sunshine > 4.6
## |   |   |   |   |   |   |   [265] humidity_3pm <= 65
## |   |   |   |   |   |   |   |   [266] pressure_3pm <= 1018.2
## |   |   |   |   |   |   |   |   |   [267] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   |   |   [268] rainfall <= 0.1
## |   |   |   |   |   |   |   |   |   |   |   [269] humidity_9am <= 78
## |   |   |   |   |   |   |   |   |   |   |   |   [270] evaporation <= 5.8
## |   |   |   |   |   |   |   |   |   |   |   |   |   [271] humidity_3pm <= 55
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [272] cloud_9am <= 2: No (n = 488, err = 4.1%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [273] cloud_9am > 2: No (n = 1707, err = 8.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [274] humidity_3pm > 55
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [275] wind_dir_3pm <= SSW: No (n = 1288, err = 9.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [276] wind_dir_3pm > SSW: No (n = 275, err = 19.3%)
## |   |   |   |   |   |   |   |   |   |   |   |   [277] evaporation > 5.8
## |   |   |   |   |   |   |   |   |   |   |   |   |   [278] sunshine <= 10.2
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [279] humidity_3pm <= 58: No (n = 316, err = 3.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [280] humidity_3pm > 58: No (n = 117, err = 12.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [281] sunshine > 10.2: No (n = 375, err = 1.1%)
## |   |   |   |   |   |   |   |   |   |   |   [282] humidity_9am > 78
## |   |   |   |   |   |   |   |   |   |   |   |   [283] pressure_9am <= 1020.5
## |   |   |   |   |   |   |   |   |   |   |   |   |   [284] wind_gust_speed <= 33: No (n = 543, err = 7.6%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [285] wind_gust_speed > 33: No (n = 693, err = 16.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   [286] pressure_9am > 1020.5: No (n = 138, err = 31.2%)
## |   |   |   |   |   |   |   |   |   |   [287] rainfall > 0.1
## |   |   |   |   |   |   |   |   |   |   |   [288] wind_gust_speed <= 35: No (n = 605, err = 11.1%)
## |   |   |   |   |   |   |   |   |   |   |   [289] wind_gust_speed > 35
## |   |   |   |   |   |   |   |   |   |   |   |   [290] cloud_3pm <= 4: No (n = 139, err = 10.1%)
## |   |   |   |   |   |   |   |   |   |   |   |   [291] cloud_3pm > 4: No (n = 546, err = 23.3%)
## |   |   |   |   |   |   |   |   |   [292] cloud_3pm > 5
## |   |   |   |   |   |   |   |   |   |   [293] evaporation <= 4.8: No (n = 909, err = 19.9%)
## |   |   |   |   |   |   |   |   |   |   [294] evaporation > 4.8: No (n = 316, err = 11.7%)
## |   |   |   |   |   |   |   |   [295] pressure_3pm > 1018.2
## |   |   |   |   |   |   |   |   |   [296] wind_gust_speed <= 26
## |   |   |   |   |   |   |   |   |   |   [297] pressure_3pm <= 1024.7: No (n = 1344, err = 6.1%)
## |   |   |   |   |   |   |   |   |   |   [298] pressure_3pm > 1024.7: No (n = 1138, err = 1.7%)
## |   |   |   |   |   |   |   |   |   [299] wind_gust_speed > 26
## |   |   |   |   |   |   |   |   |   |   [300] sunshine <= 10.2
## |   |   |   |   |   |   |   |   |   |   |   [301] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   |   |   |   |   [302] wind_dir_3pm <= ESE: No (n = 1307, err = 5.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   [303] wind_dir_3pm > ESE
## |   |   |   |   |   |   |   |   |   |   |   |   |   [304] temp_3pm <= 21.2
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [305] wind_dir_3pm <= WSW
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [306] wind_gust_dir <= S: No (n = 835, err = 4.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [307] wind_gust_dir > S: No (n = 694, err = 8.6%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [308] wind_dir_3pm > WSW
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [309] pressure_3pm <= 1025
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [310] temp_3pm <= 13.3: No (n = 69, err = 1.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [311] temp_3pm > 13.3: No (n = 260, err = 18.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [312] pressure_3pm > 1025: No (n = 114, err = 0.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [313] temp_3pm > 21.2
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [314] rainfall <= 0.8: No (n = 673, err = 12.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [315] rainfall > 0.8: Yes (n = 10, err = 40.0%)
## |   |   |   |   |   |   |   |   |   |   |   [316] cloud_3pm > 5
## |   |   |   |   |   |   |   |   |   |   |   |   [317] temp_3pm <= 19.7: No (n = 793, err = 9.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   [318] temp_3pm > 19.7
## |   |   |   |   |   |   |   |   |   |   |   |   |   [319] pressure_3pm <= 1028: No (n = 281, err = 17.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [320] pressure_3pm > 1028: Yes (n = 9, err = 33.3%)
## |   |   |   |   |   |   |   |   |   |   [321] sunshine > 10.2: No (n = 550, err = 1.5%)
## |   |   |   |   |   |   |   [322] humidity_3pm > 65
## |   |   |   |   |   |   |   |   [323] pressure_3pm <= 1024.5
## |   |   |   |   |   |   |   |   |   [324] cloud_3pm <= 6
## |   |   |   |   |   |   |   |   |   |   [325] wind_dir_3pm <= ESE
## |   |   |   |   |   |   |   |   |   |   |   [326] wind_speed_3pm <= 15: No (n = 382, err = 18.3%)
## |   |   |   |   |   |   |   |   |   |   |   [327] wind_speed_3pm > 15
## |   |   |   |   |   |   |   |   |   |   |   |   [328] max_temp <= 18.2: No (n = 41, err = 36.6%)
## |   |   |   |   |   |   |   |   |   |   |   |   [329] max_temp > 18.2: No (n = 592, err = 7.6%)
## |   |   |   |   |   |   |   |   |   |   [330] wind_dir_3pm > ESE: No (n = 1412, err = 19.4%)
## |   |   |   |   |   |   |   |   |   [331] cloud_3pm > 6: No (n = 609, err = 24.1%)
## |   |   |   |   |   |   |   |   [332] pressure_3pm > 1024.5
## |   |   |   |   |   |   |   |   |   [333] min_temp <= 4.3: No (n = 200, err = 1.0%)
## |   |   |   |   |   |   |   |   |   [334] min_temp > 4.3: No (n = 433, err = 12.2%)
## |   |   |   |   [335] rain_today in Yes
## |   |   |   |   |   [336] pressure_3pm <= 1015.4
## |   |   |   |   |   |   [337] sunshine <= 7.2
## |   |   |   |   |   |   |   [338] pressure_3pm <= 1007.4: Yes (n = 345, err = 40.9%)
## |   |   |   |   |   |   |   [339] pressure_3pm > 1007.4
## |   |   |   |   |   |   |   |   [340] wind_gust_speed <= 37: No (n = 372, err = 36.6%)
## |   |   |   |   |   |   |   |   [341] wind_gust_speed > 37: No (n = 476, err = 48.9%)
## |   |   |   |   |   |   [342] sunshine > 7.2
## |   |   |   |   |   |   |   [343] wind_gust_speed <= 37
## |   |   |   |   |   |   |   |   [344] humidity_3pm <= 61: No (n = 760, err = 20.8%)
## |   |   |   |   |   |   |   |   [345] humidity_3pm > 61
## |   |   |   |   |   |   |   |   |   [346] humidity_9am <= 76: No (n = 204, err = 23.0%)
## |   |   |   |   |   |   |   |   |   [347] humidity_9am > 76: No (n = 486, err = 37.2%)
## |   |   |   |   |   |   |   [348] wind_gust_speed > 37
## |   |   |   |   |   |   |   |   [349] humidity_9am <= 82
## |   |   |   |   |   |   |   |   |   [350] cloud_3pm <= 4: No (n = 188, err = 16.5%)
## |   |   |   |   |   |   |   |   |   [351] cloud_3pm > 4: No (n = 851, err = 34.0%)
## |   |   |   |   |   |   |   |   [352] humidity_9am > 82
## |   |   |   |   |   |   |   |   |   [353] pressure_3pm <= 1007.1: Yes (n = 124, err = 35.5%)
## |   |   |   |   |   |   |   |   |   [354] pressure_3pm > 1007.1
## |   |   |   |   |   |   |   |   |   |   [355] min_temp <= 9.2
## |   |   |   |   |   |   |   |   |   |   |   [356] pressure_3pm <= 1013.8: No (n = 68, err = 47.1%)
## |   |   |   |   |   |   |   |   |   |   |   [357] pressure_3pm > 1013.8: No (n = 110, err = 17.3%)
## |   |   |   |   |   |   |   |   |   |   [358] min_temp > 9.2: No (n = 515, err = 48.7%)
## |   |   |   |   |   [359] pressure_3pm > 1015.4
## |   |   |   |   |   |   [360] wind_gust_speed <= 33
## |   |   |   |   |   |   |   [361] min_temp <= 11
## |   |   |   |   |   |   |   |   [362] pressure_3pm <= 1022.3: No (n = 541, err = 16.1%)
## |   |   |   |   |   |   |   |   [363] pressure_3pm > 1022.3: No (n = 553, err = 7.1%)
## |   |   |   |   |   |   |   [364] min_temp > 11
## |   |   |   |   |   |   |   |   [365] sunshine <= 4.7: No (n = 166, err = 33.7%)
## |   |   |   |   |   |   |   |   [366] sunshine > 4.7
## |   |   |   |   |   |   |   |   |   [367] humidity_3pm <= 68: No (n = 506, err = 13.4%)
## |   |   |   |   |   |   |   |   |   [368] humidity_3pm > 68: No (n = 115, err = 28.7%)
## |   |   |   |   |   |   [369] wind_gust_speed > 33
## |   |   |   |   |   |   |   [370] humidity_3pm <= 63
## |   |   |   |   |   |   |   |   [371] rainfall <= 7.5
## |   |   |   |   |   |   |   |   |   [372] pressure_3pm <= 1018.8: No (n = 436, err = 25.9%)
## |   |   |   |   |   |   |   |   |   [373] pressure_3pm > 1018.8: No (n = 795, err = 16.5%)
## |   |   |   |   |   |   |   |   [374] rainfall > 7.5
## |   |   |   |   |   |   |   |   |   [375] temp_3pm <= 21: No (n = 315, err = 28.3%)
## |   |   |   |   |   |   |   |   |   [376] temp_3pm > 21: No (n = 123, err = 48.0%)
## |   |   |   |   |   |   |   [377] humidity_3pm > 63
## |   |   |   |   |   |   |   |   [378] sunshine <= 4.8: No (n = 272, err = 49.3%)
## |   |   |   |   |   |   |   |   [379] sunshine > 4.8: No (n = 659, err = 34.9%)
## |   |   |   [380] wind_gust_speed > 48
## |   |   |   |   [381] pressure_3pm <= 1012.1
## |   |   |   |   |   [382] sunshine <= 6.8
## |   |   |   |   |   |   [383] wind_gust_speed <= 65
## |   |   |   |   |   |   |   [384] humidity_9am <= 70: Yes (n = 315, err = 42.2%)
## |   |   |   |   |   |   |   [385] humidity_9am > 70: Yes (n = 471, err = 29.7%)
## |   |   |   |   |   |   [386] wind_gust_speed > 65
## |   |   |   |   |   |   |   [387] pressure_3pm <= 1006.1: Yes (n = 227, err = 12.3%)
## |   |   |   |   |   |   |   [388] pressure_3pm > 1006.1
## |   |   |   |   |   |   |   |   [389] humidity_3pm <= 58: Yes (n = 64, err = 45.3%)
## |   |   |   |   |   |   |   |   [390] humidity_3pm > 58: Yes (n = 111, err = 17.1%)
## |   |   |   |   |   [391] sunshine > 6.8
## |   |   |   |   |   |   [392] humidity_9am <= 76
## |   |   |   |   |   |   |   [393] wind_dir_3pm <= SW
## |   |   |   |   |   |   |   |   [394] wind_speed_3pm <= 24: No (n = 290, err = 44.5%)
## |   |   |   |   |   |   |   |   [395] wind_speed_3pm > 24
## |   |   |   |   |   |   |   |   |   [396] wind_gust_speed <= 54: No (n = 252, err = 16.3%)
## |   |   |   |   |   |   |   |   |   [397] wind_gust_speed > 54
## |   |   |   |   |   |   |   |   |   |   [398] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   |   |   |   [399] rainfall <= 15: No (n = 230, err = 23.9%)
## |   |   |   |   |   |   |   |   |   |   |   [400] rainfall > 15: Yes (n = 7, err = 14.3%)
## |   |   |   |   |   |   |   |   |   |   [401] cloud_3pm > 5
## |   |   |   |   |   |   |   |   |   |   |   [402] wind_speed_3pm <= 35: Yes (n = 43, err = 32.6%)
## |   |   |   |   |   |   |   |   |   |   |   [403] wind_speed_3pm > 35: No (n = 37, err = 29.7%)
## |   |   |   |   |   |   |   [404] wind_dir_3pm > SW
## |   |   |   |   |   |   |   |   [405] humidity_3pm <= 57
## |   |   |   |   |   |   |   |   |   [406] rainfall <= 0.5: No (n = 185, err = 36.2%)
## |   |   |   |   |   |   |   |   |   [407] rainfall > 0.5: Yes (n = 128, err = 40.6%)
## |   |   |   |   |   |   |   |   [408] humidity_3pm > 57: Yes (n = 372, err = 35.2%)
## |   |   |   |   |   |   [409] humidity_9am > 76
## |   |   |   |   |   |   |   [410] wind_gust_speed <= 59: Yes (n = 488, err = 42.2%)
## |   |   |   |   |   |   |   [411] wind_gust_speed > 59: Yes (n = 354, err = 25.4%)
## |   |   |   |   [412] pressure_3pm > 1012.1
## |   |   |   |   |   [413] rain_today in No
## |   |   |   |   |   |   [414] humidity_3pm <= 66
## |   |   |   |   |   |   |   [415] wind_gust_speed <= 56
## |   |   |   |   |   |   |   |   [416] sunshine <= 6.9: No (n = 319, err = 26.3%)
## |   |   |   |   |   |   |   |   [417] sunshine > 6.9
## |   |   |   |   |   |   |   |   |   [418] wind_speed_3pm <= 22: No (n = 285, err = 22.8%)
## |   |   |   |   |   |   |   |   |   [419] wind_speed_3pm > 22
## |   |   |   |   |   |   |   |   |   |   [420] wind_dir_3pm <= SSE: No (n = 520, err = 8.7%)
## |   |   |   |   |   |   |   |   |   |   [421] wind_dir_3pm > SSE: No (n = 295, err = 18.0%)
## |   |   |   |   |   |   |   [422] wind_gust_speed > 56
## |   |   |   |   |   |   |   |   [423] wind_gust_dir <= W
## |   |   |   |   |   |   |   |   |   [424] sunshine <= 8.7
## |   |   |   |   |   |   |   |   |   |   [425] rainfall <= 0: No (n = 487, err = 24.6%)
## |   |   |   |   |   |   |   |   |   |   [426] rainfall > 0: No (n = 156, err = 42.3%)
## |   |   |   |   |   |   |   |   |   [427] sunshine > 8.7: No (n = 110, err = 10.0%)
## |   |   |   |   |   |   |   |   [428] wind_gust_dir > W: No (n = 135, err = 49.6%)
## |   |   |   |   |   |   [429] humidity_3pm > 66
## |   |   |   |   |   |   |   [430] sunshine <= 7.1
## |   |   |   |   |   |   |   |   [431] wind_speed_9am <= 17: Yes (n = 50, err = 26.0%)
## |   |   |   |   |   |   |   |   [432] wind_speed_9am > 17
## |   |   |   |   |   |   |   |   |   [433] pressure_3pm <= 1017.2: Yes (n = 43, err = 37.2%)
## |   |   |   |   |   |   |   |   |   [434] pressure_3pm > 1017.2: No (n = 46, err = 19.6%)
## |   |   |   |   |   |   |   [435] sunshine > 7.1
## |   |   |   |   |   |   |   |   [436] rainfall <= 0.2
## |   |   |   |   |   |   |   |   |   [437] wind_gust_speed <= 54: No (n = 179, err = 22.3%)
## |   |   |   |   |   |   |   |   |   [438] wind_gust_speed > 54: No (n = 175, err = 40.0%)
## |   |   |   |   |   |   |   |   [439] rainfall > 0.2: No (n = 90, err = 50.0%)
## |   |   |   |   |   [440] rain_today in Yes
## |   |   |   |   |   |   [441] humidity_9am <= 84
## |   |   |   |   |   |   |   [442] humidity_3pm <= 66
## |   |   |   |   |   |   |   |   [443] humidity_9am <= 68: No (n = 402, err = 25.9%)
## |   |   |   |   |   |   |   |   [444] humidity_9am > 68: No (n = 605, err = 42.0%)
## |   |   |   |   |   |   |   [445] humidity_3pm > 66: Yes (n = 288, err = 44.8%)
## |   |   |   |   |   |   [446] humidity_9am > 84
## |   |   |   |   |   |   |   [447] temp_9am <= 6.5: No (n = 45, err = 22.2%)
## |   |   |   |   |   |   |   [448] temp_9am > 6.5
## |   |   |   |   |   |   |   |   [449] sunshine <= 7.1: Yes (n = 186, err = 25.3%)
## |   |   |   |   |   |   |   |   [450] sunshine > 7.1
## |   |   |   |   |   |   |   |   |   [451] temp_9am <= 18.4: Yes (n = 245, err = 49.8%)
## |   |   |   |   |   |   |   |   |   [452] temp_9am > 18.4
## |   |   |   |   |   |   |   |   |   |   [453] cloud_3pm <= 5: Yes (n = 36, err = 27.8%)
## |   |   |   |   |   |   |   |   |   |   [454] cloud_3pm > 5: Yes (n = 12, err = 0.0%)
## |   [455] humidity_3pm > 72
## |   |   [456] humidity_3pm <= 83
## |   |   |   [457] wind_gust_speed <= 41
## |   |   |   |   [458] rain_today in No
## |   |   |   |   |   [459] cloud_3pm <= 6
## |   |   |   |   |   |   [460] pressure_3pm <= 1012.1
## |   |   |   |   |   |   |   [461] wind_speed_3pm <= 13
## |   |   |   |   |   |   |   |   [462] pressure_9am <= 1015: No (n = 125, err = 41.6%)
## |   |   |   |   |   |   |   |   [463] pressure_9am > 1015: Yes (n = 15, err = 6.7%)
## |   |   |   |   |   |   |   [464] wind_speed_3pm > 13
## |   |   |   |   |   |   |   |   [465] rainfall <= 0
## |   |   |   |   |   |   |   |   |   [466] sunshine <= 5.7: Yes (n = 20, err = 45.0%)
## |   |   |   |   |   |   |   |   |   [467] sunshine > 5.7: No (n = 207, err = 22.2%)
## |   |   |   |   |   |   |   |   [468] rainfall > 0: No (n = 59, err = 49.2%)
## |   |   |   |   |   |   [469] pressure_3pm > 1012.1
## |   |   |   |   |   |   |   [470] cloud_3pm <= 3
## |   |   |   |   |   |   |   |   [471] wind_gust_dir <= S: No (n = 99, err = 10.1%)
## |   |   |   |   |   |   |   |   [472] wind_gust_dir > S: No (n = 112, err = 0.0%)
## |   |   |   |   |   |   |   [473] cloud_3pm > 3
## |   |   |   |   |   |   |   |   [474] pressure_3pm <= 1023.1
## |   |   |   |   |   |   |   |   |   [475] wind_speed_3pm <= 19
## |   |   |   |   |   |   |   |   |   |   [476] humidity_3pm <= 81
## |   |   |   |   |   |   |   |   |   |   |   [477] rainfall <= 0: No (n = 583, err = 24.2%)
## |   |   |   |   |   |   |   |   |   |   |   [478] rainfall > 0
## |   |   |   |   |   |   |   |   |   |   |   |   [479] wind_gust_speed <= 30: No (n = 156, err = 25.6%)
## |   |   |   |   |   |   |   |   |   |   |   |   [480] wind_gust_speed > 30: No (n = 102, err = 50.0%)
## |   |   |   |   |   |   |   |   |   |   [481] humidity_3pm > 81: No (n = 116, err = 44.0%)
## |   |   |   |   |   |   |   |   |   [482] wind_speed_3pm > 19: No (n = 298, err = 13.8%)
## |   |   |   |   |   |   |   |   [483] pressure_3pm > 1023.1: No (n = 368, err = 13.3%)
## |   |   |   |   |   [484] cloud_3pm > 6
## |   |   |   |   |   |   [485] pressure_3pm <= 1020.4
## |   |   |   |   |   |   |   [486] pressure_3pm <= 1008.6: Yes (n = 165, err = 32.1%)
## |   |   |   |   |   |   |   [487] pressure_3pm > 1008.6
## |   |   |   |   |   |   |   |   [488] humidity_3pm <= 78: No (n = 519, err = 37.8%)
## |   |   |   |   |   |   |   |   [489] humidity_3pm > 78
## |   |   |   |   |   |   |   |   |   [490] humidity_9am <= 74: Yes (n = 80, err = 27.5%)
## |   |   |   |   |   |   |   |   |   [491] humidity_9am > 74
## |   |   |   |   |   |   |   |   |   |   [492] rainfall <= 0.4: No (n = 191, err = 42.4%)
## |   |   |   |   |   |   |   |   |   |   [493] rainfall > 0.4: Yes (n = 40, err = 27.5%)
## |   |   |   |   |   |   [494] pressure_3pm > 1020.4
## |   |   |   |   |   |   |   [495] humidity_3pm <= 77: No (n = 262, err = 18.3%)
## |   |   |   |   |   |   |   [496] humidity_3pm > 77: No (n = 179, err = 34.1%)
## |   |   |   |   [497] rain_today in Yes
## |   |   |   |   |   [498] pressure_3pm <= 1013.8
## |   |   |   |   |   |   [499] sunshine <= 6.1
## |   |   |   |   |   |   |   [500] evaporation <= 1.6: No (n = 79, err = 48.1%)
## |   |   |   |   |   |   |   [501] evaporation > 1.6
## |   |   |   |   |   |   |   |   [502] humidity_3pm <= 77: Yes (n = 150, err = 31.3%)
## |   |   |   |   |   |   |   |   [503] humidity_3pm > 77: Yes (n = 152, err = 13.2%)
## |   |   |   |   |   |   [504] sunshine > 6.1
## |   |   |   |   |   |   |   [505] cloud_3pm <= 6: No (n = 313, err = 49.8%)
## |   |   |   |   |   |   |   [506] cloud_3pm > 6: Yes (n = 150, err = 34.7%)
## |   |   |   |   |   [507] pressure_3pm > 1013.8
## |   |   |   |   |   |   [508] min_temp <= 10.8
## |   |   |   |   |   |   |   [509] wind_gust_speed <= 37: No (n = 472, err = 31.1%)
## |   |   |   |   |   |   |   [510] wind_gust_speed > 37: Yes (n = 177, err = 49.2%)
## |   |   |   |   |   |   [511] min_temp > 10.8
## |   |   |   |   |   |   |   [512] cloud_3pm <= 6
## |   |   |   |   |   |   |   |   [513] humidity_3pm <= 76: No (n = 227, err = 35.2%)
## |   |   |   |   |   |   |   |   [514] humidity_3pm > 76: Yes (n = 226, err = 45.1%)
## |   |   |   |   |   |   |   [515] cloud_3pm > 6: Yes (n = 354, err = 39.3%)
## |   |   |   [516] wind_gust_speed > 41
## |   |   |   |   [517] rain_today in No
## |   |   |   |   |   [518] sunshine <= 8.4
## |   |   |   |   |   |   [519] pressure_3pm <= 1013.8: Yes (n = 389, err = 22.6%)
## |   |   |   |   |   |   [520] pressure_3pm > 1013.8: Yes (n = 309, err = 42.1%)
## |   |   |   |   |   [521] sunshine > 8.4
## |   |   |   |   |   |   [522] wind_dir_3pm <= S
## |   |   |   |   |   |   |   [523] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   [524] humidity_3pm <= 81
## |   |   |   |   |   |   |   |   |   [525] wind_gust_speed <= 59: No (n = 534, err = 24.9%)
## |   |   |   |   |   |   |   |   |   [526] wind_gust_speed > 59: No (n = 112, err = 43.8%)
## |   |   |   |   |   |   |   |   [527] humidity_3pm > 81: Yes (n = 66, err = 45.5%)
## |   |   |   |   |   |   |   [528] cloud_3pm > 5
## |   |   |   |   |   |   |   |   [529] wind_gust_speed <= 46: No (n = 89, err = 38.2%)
## |   |   |   |   |   |   |   |   [530] wind_gust_speed > 46: Yes (n = 176, err = 38.6%)
## |   |   |   |   |   |   [531] wind_dir_3pm > S: Yes (n = 457, err = 42.5%)
## |   |   |   |   [532] rain_today in Yes
## |   |   |   |   |   [533] wind_gust_speed <= 57
## |   |   |   |   |   |   [534] sunshine <= 3: Yes (n = 282, err = 19.9%)
## |   |   |   |   |   |   [535] sunshine > 3
## |   |   |   |   |   |   |   [536] wind_speed_3pm <= 24
## |   |   |   |   |   |   |   |   [537] humidity_3pm <= 79: Yes (n = 444, err = 35.4%)
## |   |   |   |   |   |   |   |   [538] humidity_3pm > 79: Yes (n = 208, err = 22.6%)
## |   |   |   |   |   |   |   [539] wind_speed_3pm > 24
## |   |   |   |   |   |   |   |   [540] humidity_9am <= 86
## |   |   |   |   |   |   |   |   |   [541] cloud_3pm <= 6: No (n = 135, err = 36.3%)
## |   |   |   |   |   |   |   |   |   [542] cloud_3pm > 6: Yes (n = 86, err = 39.5%)
## |   |   |   |   |   |   |   |   [543] humidity_9am > 86: Yes (n = 198, err = 33.3%)
## |   |   |   |   |   [544] wind_gust_speed > 57
## |   |   |   |   |   |   [545] sunshine <= 3.7: Yes (n = 154, err = 3.9%)
## |   |   |   |   |   |   [546] sunshine > 3.7: Yes (n = 526, err = 16.3%)
## |   |   [547] humidity_3pm > 83
## |   |   |   [548] pressure_3pm <= 1015.2
## |   |   |   |   [549] rain_today in No
## |   |   |   |   |   [550] temp_3pm <= 29.3
## |   |   |   |   |   |   [551] cloud_3pm <= 4: No (n = 24, err = 29.2%)
## |   |   |   |   |   |   [552] cloud_3pm > 4
## |   |   |   |   |   |   |   [553] sunshine <= 2.8
## |   |   |   |   |   |   |   |   [554] humidity_3pm <= 88: Yes (n = 194, err = 14.9%)
## |   |   |   |   |   |   |   |   [555] humidity_3pm > 88: Yes (n = 322, err = 6.8%)
## |   |   |   |   |   |   |   [556] sunshine > 2.8
## |   |   |   |   |   |   |   |   [557] temp_3pm <= 16.4
## |   |   |   |   |   |   |   |   |   [558] pressure_3pm <= 1005.1: Yes (n = 111, err = 4.5%)
## |   |   |   |   |   |   |   |   |   [559] pressure_3pm > 1005.1: Yes (n = 390, err = 16.7%)
## |   |   |   |   |   |   |   |   [560] temp_3pm > 16.4
## |   |   |   |   |   |   |   |   |   [561] humidity_9am <= 80: Yes (n = 303, err = 20.8%)
## |   |   |   |   |   |   |   |   |   [562] humidity_9am > 80
## |   |   |   |   |   |   |   |   |   |   [563] temp_3pm <= 21.7: Yes (n = 150, err = 28.7%)
## |   |   |   |   |   |   |   |   |   |   [564] temp_3pm > 21.7: No (n = 120, err = 48.3%)
## |   |   |   |   |   [565] temp_3pm > 29.3: No (n = 23, err = 4.3%)
## |   |   |   |   [566] rain_today in Yes
## |   |   |   |   |   [567] humidity_3pm <= 88
## |   |   |   |   |   |   [568] pressure_3pm <= 1005.1: Yes (n = 220, err = 2.7%)
## |   |   |   |   |   |   [569] pressure_3pm > 1005.1
## |   |   |   |   |   |   |   [570] wind_gust_speed <= 31: Yes (n = 100, err = 33.0%)
## |   |   |   |   |   |   |   [571] wind_gust_speed > 31: Yes (n = 505, err = 17.6%)
## |   |   |   |   |   [572] humidity_3pm > 88
## |   |   |   |   |   |   [573] sunshine <= 3.9: Yes (n = 746, err = 3.1%)
## |   |   |   |   |   |   [574] sunshine > 3.9
## |   |   |   |   |   |   |   [575] wind_gust_speed <= 46
## |   |   |   |   |   |   |   |   [576] humidity_3pm <= 91: Yes (n = 122, err = 25.4%)
## |   |   |   |   |   |   |   |   [577] humidity_3pm > 91
## |   |   |   |   |   |   |   |   |   [578] wind_speed_3pm <= 24
## |   |   |   |   |   |   |   |   |   |   [579] sunshine <= 5: No (n = 8, err = 50.0%)
## |   |   |   |   |   |   |   |   |   |   [580] sunshine > 5
## |   |   |   |   |   |   |   |   |   |   |   [581] evaporation <= 6.1: Yes (n = 252, err = 4.8%)
## |   |   |   |   |   |   |   |   |   |   |   [582] evaporation > 6.1: Yes (n = 8, err = 25.0%)
## |   |   |   |   |   |   |   |   |   [583] wind_speed_3pm > 24: Yes (n = 24, err = 33.3%)
## |   |   |   |   |   |   |   [584] wind_gust_speed > 46: Yes (n = 402, err = 3.5%)
## |   |   |   [585] pressure_3pm > 1015.2
## |   |   |   |   [586] min_temp <= 5
## |   |   |   |   |   [587] humidity_3pm <= 94
## |   |   |   |   |   |   [588] temp_9am <= 6.3: No (n = 278, err = 27.7%)
## |   |   |   |   |   |   [589] temp_9am > 6.3
## |   |   |   |   |   |   |   [590] rain_today in No: Yes (n = 135, err = 48.9%)
## |   |   |   |   |   |   |   [591] rain_today in Yes: Yes (n = 52, err = 21.2%)
## |   |   |   |   |   [592] humidity_3pm > 94
## |   |   |   |   |   |   [593] wind_gust_speed <= 46: Yes (n = 197, err = 47.2%)
## |   |   |   |   |   |   [594] wind_gust_speed > 46: Yes (n = 257, err = 30.7%)
## |   |   |   |   [595] min_temp > 5
## |   |   |   |   |   [596] rain_today in No
## |   |   |   |   |   |   [597] humidity_9am <= 96
## |   |   |   |   |   |   |   [598] humidity_3pm <= 88
## |   |   |   |   |   |   |   |   [599] humidity_9am <= 78: Yes (n = 182, err = 29.1%)
## |   |   |   |   |   |   |   |   [600] humidity_9am > 78: Yes (n = 255, err = 45.5%)
## |   |   |   |   |   |   |   [601] humidity_3pm > 88
## |   |   |   |   |   |   |   |   [602] cloud_3pm <= 3: No (n = 12, err = 16.7%)
## |   |   |   |   |   |   |   |   [603] cloud_3pm > 3: Yes (n = 593, err = 21.2%)
## |   |   |   |   |   |   [604] humidity_9am > 96
## |   |   |   |   |   |   |   [605] humidity_3pm <= 90
## |   |   |   |   |   |   |   |   [606] pressure_3pm <= 1015.5: Yes (n = 20, err = 35.0%)
## |   |   |   |   |   |   |   |   [607] pressure_3pm > 1015.5: No (n = 70, err = 18.6%)
## |   |   |   |   |   |   |   [608] humidity_3pm > 90: Yes (n = 146, err = 41.1%)
## |   |   |   |   |   [609] rain_today in Yes
## |   |   |   |   |   |   [610] humidity_3pm <= 90
## |   |   |   |   |   |   |   [611] wind_gust_speed <= 31: Yes (n = 201, err = 31.8%)
## |   |   |   |   |   |   |   [612] wind_gust_speed > 31
## |   |   |   |   |   |   |   |   [613] rainfall <= 12: Yes (n = 437, err = 21.1%)
## |   |   |   |   |   |   |   |   [614] rainfall > 12: Yes (n = 207, err = 6.8%)
## |   |   |   |   |   |   [615] humidity_3pm > 90
## |   |   |   |   |   |   |   [616] min_temp <= 10.5: Yes (n = 318, err = 15.7%)
## |   |   |   |   |   |   |   [617] min_temp > 10.5: Yes (n = 630, err = 8.6%)
## 
## Number of inner nodes:    308
## Number of terminal nodes: 309

References

Hothorn, Torsten, and Achim Zeileis. 2021. Partykit: A Toolkit for Recursive Partytioning. http://partykit.r-forge.r-project.org/partykit/.


Your donation will support ongoing development and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.