21.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 <= 71
## |   |   [3] humidity_3pm <= 50
## |   |   |   [4] wind_gust_speed <= 56
## |   |   |   |   [5] sunshine <= 7.7
## |   |   |   |   |   [6] pressure_3pm <= 1015
## |   |   |   |   |   |   [7] humidity_3pm <= 27
## |   |   |   |   |   |   |   [8] wind_gust_speed <= 54: No (n = 366, err = 9.0%)
## |   |   |   |   |   |   |   [9] wind_gust_speed > 54: No (n = 26, err = 34.6%)
## |   |   |   |   |   |   [10] humidity_3pm > 27
## |   |   |   |   |   |   |   [11] wind_gust_speed <= 35: No (n = 473, err = 18.0%)
## |   |   |   |   |   |   |   [12] wind_gust_speed > 35
## |   |   |   |   |   |   |   |   [13] wind_dir_9am <= ENE: No (n = 471, err = 45.0%)
## |   |   |   |   |   |   |   |   [14] wind_dir_9am > ENE
## |   |   |   |   |   |   |   |   |   [15] wind_speed_9am <= 19
## |   |   |   |   |   |   |   |   |   |   [16] rainfall <= 6.6
## |   |   |   |   |   |   |   |   |   |   |   [17] pressure_3pm <= 1004.5: No (n = 53, err = 49.1%)
## |   |   |   |   |   |   |   |   |   |   |   [18] pressure_3pm > 1004.5: No (n = 452, err = 26.1%)
## |   |   |   |   |   |   |   |   |   |   [19] rainfall > 6.6: Yes (n = 44, err = 36.4%)
## |   |   |   |   |   |   |   |   |   [20] wind_speed_9am > 19: No (n = 252, err = 17.1%)
## |   |   |   |   |   [21] pressure_3pm > 1015
## |   |   |   |   |   |   [22] sunshine <= 4.7
## |   |   |   |   |   |   |   [23] pressure_3pm <= 1019.9
## |   |   |   |   |   |   |   |   [24] wind_dir_9am <= SSE: No (n = 270, err = 27.0%)
## |   |   |   |   |   |   |   |   [25] wind_dir_9am > SSE: No (n = 170, err = 13.5%)
## |   |   |   |   |   |   |   [26] pressure_3pm > 1019.9
## |   |   |   |   |   |   |   |   [27] rainfall <= 7.6: No (n = 387, err = 8.5%)
## |   |   |   |   |   |   |   |   [28] rainfall > 7.6: Yes (n = 14, err = 42.9%)
## |   |   |   |   |   |   [29] sunshine > 4.7
## |   |   |   |   |   |   |   [30] wind_gust_speed <= 48
## |   |   |   |   |   |   |   |   [31] cloud_3pm <= 3
## |   |   |   |   |   |   |   |   |   [32] rainfall <= 16.2: No (n = 386, err = 1.8%)
## |   |   |   |   |   |   |   |   |   [33] rainfall > 16.2: No (n = 7, err = 28.6%)
## |   |   |   |   |   |   |   |   [34] cloud_3pm > 3: No (n = 1225, err = 7.9%)
## |   |   |   |   |   |   |   [35] wind_gust_speed > 48: No (n = 158, err = 15.8%)
## |   |   |   |   [36] sunshine > 7.7
## |   |   |   |   |   [37] pressure_3pm <= 1015.3
## |   |   |   |   |   |   [38] humidity_3pm <= 26
## |   |   |   |   |   |   |   [39] wind_gust_speed <= 44
## |   |   |   |   |   |   |   |   [40] humidity_3pm <= 21
## |   |   |   |   |   |   |   |   |   [41] pressure_3pm <= 1007.7
## |   |   |   |   |   |   |   |   |   |   [42] temp_3pm <= 30.3: No (n = 70, err = 11.4%)
## |   |   |   |   |   |   |   |   |   |   [43] temp_3pm > 30.3
## |   |   |   |   |   |   |   |   |   |   |   [44] humidity_3pm <= 13: No (n = 339, err = 0.3%)
## |   |   |   |   |   |   |   |   |   |   |   [45] humidity_3pm > 13: No (n = 326, err = 4.6%)
## |   |   |   |   |   |   |   |   |   [46] pressure_3pm > 1007.7: No (n = 3708, err = 1.0%)
## |   |   |   |   |   |   |   |   [47] humidity_3pm > 21: No (n = 2043, err = 3.6%)
## |   |   |   |   |   |   |   [48] wind_gust_speed > 44
## |   |   |   |   |   |   |   |   [49] sunshine <= 9.2
## |   |   |   |   |   |   |   |   |   [50] humidity_3pm <= 16
## |   |   |   |   |   |   |   |   |   |   [51] wind_dir_3pm <= WNW: No (n = 661, err = 1.8%)
## |   |   |   |   |   |   |   |   |   |   [52] wind_dir_3pm > WNW: No (n = 190, err = 8.9%)
## |   |   |   |   |   |   |   |   |   [53] humidity_3pm > 16
## |   |   |   |   |   |   |   |   |   |   [54] wind_dir_9am <= ENE: No (n = 387, err = 16.3%)
## |   |   |   |   |   |   |   |   |   |   [55] wind_dir_9am > ENE
## |   |   |   |   |   |   |   |   |   |   |   [56] temp_3pm <= 38.7: No (n = 553, err = 4.0%)
## |   |   |   |   |   |   |   |   |   |   |   [57] temp_3pm > 38.7: No (n = 16, err = 31.2%)
## |   |   |   |   |   |   |   |   [58] sunshine > 9.2
## |   |   |   |   |   |   |   |   |   [59] pressure_3pm <= 1011: No (n = 647, err = 3.6%)
## |   |   |   |   |   |   |   |   |   [60] pressure_3pm > 1011: No (n = 525, err = 0.4%)
## |   |   |   |   |   |   [61] humidity_3pm > 26
## |   |   |   |   |   |   |   [62] pressure_3pm <= 1005
## |   |   |   |   |   |   |   |   [63] sunshine <= 10.4
## |   |   |   |   |   |   |   |   |   [64] wind_gust_speed <= 46: No (n = 387, err = 20.2%)
## |   |   |   |   |   |   |   |   |   [65] wind_gust_speed > 46: No (n = 260, err = 31.9%)
## |   |   |   |   |   |   |   |   [66] sunshine > 10.4
## |   |   |   |   |   |   |   |   |   [67] temp_9am <= 18: No (n = 17, err = 41.2%)
## |   |   |   |   |   |   |   |   |   [68] temp_9am > 18: No (n = 143, err = 4.9%)
## |   |   |   |   |   |   |   [69] pressure_3pm > 1005
## |   |   |   |   |   |   |   |   [70] wind_gust_speed <= 44
## |   |   |   |   |   |   |   |   |   [71] sunshine <= 9.9
## |   |   |   |   |   |   |   |   |   |   [72] pressure_3pm <= 1011.3
## |   |   |   |   |   |   |   |   |   |   |   [73] pressure_9am <= 1015
## |   |   |   |   |   |   |   |   |   |   |   |   [74] humidity_3pm <= 34: No (n = 624, err = 6.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [75] humidity_3pm > 34
## |   |   |   |   |   |   |   |   |   |   |   |   |   [76] humidity_9am <= 86
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [77] wind_gust_speed <= 35
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [78] wind_speed_9am <= 9: No (n = 340, err = 12.6%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [79] wind_speed_9am > 9: No (n = 272, err = 5.1%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [80] wind_gust_speed > 35
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [81] wind_dir_9am <= ESE: No (n = 280, err = 21.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [82] wind_dir_9am > ESE: No (n = 427, err = 10.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [83] humidity_9am > 86: No (n = 126, err = 25.4%)
## |   |   |   |   |   |   |   |   |   |   |   [84] pressure_9am > 1015
## |   |   |   |   |   |   |   |   |   |   |   |   [85] max_temp <= 19.1: Yes (n = 23, err = 39.1%)
## |   |   |   |   |   |   |   |   |   |   |   |   [86] max_temp > 19.1: No (n = 186, err = 17.7%)
## |   |   |   |   |   |   |   |   |   |   [87] pressure_3pm > 1011.3
## |   |   |   |   |   |   |   |   |   |   |   [88] humidity_3pm <= 36
## |   |   |   |   |   |   |   |   |   |   |   |   [89] max_temp <= 36.6
## |   |   |   |   |   |   |   |   |   |   |   |   |   [90] wind_dir_9am <= ESE: No (n = 1190, err = 5.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [91] wind_dir_9am > ESE: No (n = 1246, err = 2.6%)
## |   |   |   |   |   |   |   |   |   |   |   |   [92] max_temp > 36.6: No (n = 45, err = 20.0%)
## |   |   |   |   |   |   |   |   |   |   |   [93] humidity_3pm > 36
## |   |   |   |   |   |   |   |   |   |   |   |   [94] wind_gust_speed <= 35: No (n = 2283, err = 6.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [95] wind_gust_speed > 35
## |   |   |   |   |   |   |   |   |   |   |   |   |   [96] wind_speed_9am <= 11: No (n = 836, err = 13.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [97] wind_speed_9am > 11
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [98] wind_dir_9am <= ENE: No (n = 442, err = 12.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [99] wind_dir_9am > ENE: No (n = 729, err = 5.3%)
## |   |   |   |   |   |   |   |   |   [100] sunshine > 9.9
## |   |   |   |   |   |   |   |   |   |   [101] pressure_3pm <= 1006: No (n = 96, err = 12.5%)
## |   |   |   |   |   |   |   |   |   |   [102] pressure_3pm > 1006
## |   |   |   |   |   |   |   |   |   |   |   [103] sunshine <= 12.4
## |   |   |   |   |   |   |   |   |   |   |   |   [104] pressure_3pm <= 1008.3: No (n = 296, err = 6.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   [105] pressure_3pm > 1008.3: No (n = 2151, err = 2.6%)
## |   |   |   |   |   |   |   |   |   |   |   [106] sunshine > 12.4: No (n = 700, err = 0.9%)
## |   |   |   |   |   |   |   |   [107] wind_gust_speed > 44
## |   |   |   |   |   |   |   |   |   [108] sunshine <= 9.5
## |   |   |   |   |   |   |   |   |   |   [109] temp_3pm <= 28.1
## |   |   |   |   |   |   |   |   |   |   |   [110] humidity_3pm <= 36
## |   |   |   |   |   |   |   |   |   |   |   |   [111] wind_dir_9am <= E: No (n = 192, err = 19.3%)
## |   |   |   |   |   |   |   |   |   |   |   |   [112] wind_dir_9am > E: No (n = 485, err = 4.9%)
## |   |   |   |   |   |   |   |   |   |   |   [113] humidity_3pm > 36: No (n = 1095, err = 16.0%)
## |   |   |   |   |   |   |   |   |   |   [114] temp_3pm > 28.1
## |   |   |   |   |   |   |   |   |   |   |   [115] wind_speed_3pm <= 20: No (n = 270, err = 33.7%)
## |   |   |   |   |   |   |   |   |   |   |   [116] wind_speed_3pm > 20
## |   |   |   |   |   |   |   |   |   |   |   |   [117] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   |   |   |   |   |   [118] wind_dir_9am <= E: No (n = 88, err = 18.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [119] wind_dir_9am > E: No (n = 112, err = 3.6%)
## |   |   |   |   |   |   |   |   |   |   |   |   [120] cloud_3pm > 5: No (n = 46, err = 34.8%)
## |   |   |   |   |   |   |   |   |   [121] sunshine > 9.5
## |   |   |   |   |   |   |   |   |   |   [122] cloud_3pm <= 3: No (n = 549, err = 3.6%)
## |   |   |   |   |   |   |   |   |   |   [123] cloud_3pm > 3: No (n = 409, err = 8.3%)
## |   |   |   |   |   [124] pressure_3pm > 1015.3
## |   |   |   |   |   |   [125] humidity_3pm <= 44
## |   |   |   |   |   |   |   [126] humidity_3pm <= 33
## |   |   |   |   |   |   |   |   [127] pressure_3pm <= 1018.4
## |   |   |   |   |   |   |   |   |   [128] humidity_3pm <= 24
## |   |   |   |   |   |   |   |   |   |   [129] wind_dir_9am <= NNE: No (n = 370, err = 2.2%)
## |   |   |   |   |   |   |   |   |   |   [130] wind_dir_9am > NNE: No (n = 1588, err = 0.4%)
## |   |   |   |   |   |   |   |   |   [131] humidity_3pm > 24: No (n = 1792, err = 2.5%)
## |   |   |   |   |   |   |   |   [132] pressure_3pm > 1018.4
## |   |   |   |   |   |   |   |   |   [133] rain_today in No
## |   |   |   |   |   |   |   |   |   |   [134] rainfall <= 0.3: No (n = 4631, err = 0.3%)
## |   |   |   |   |   |   |   |   |   |   [135] rainfall > 0.3: No (n = 62, err = 3.2%)
## |   |   |   |   |   |   |   |   |   [136] rain_today in Yes: No (n = 56, err = 3.6%)
## |   |   |   |   |   |   |   [137] humidity_3pm > 33
## |   |   |   |   |   |   |   |   [138] pressure_3pm <= 1020.9
## |   |   |   |   |   |   |   |   |   [139] sunshine <= 9.6
## |   |   |   |   |   |   |   |   |   |   [140] wind_dir_9am <= E: No (n = 1016, err = 7.7%)
## |   |   |   |   |   |   |   |   |   |   [141] wind_dir_9am > E: No (n = 1815, err = 3.4%)
## |   |   |   |   |   |   |   |   |   [142] sunshine > 9.6: No (n = 1421, err = 1.1%)
## |   |   |   |   |   |   |   |   [143] pressure_3pm > 1020.9
## |   |   |   |   |   |   |   |   |   [144] wind_gust_speed <= 24: No (n = 714, err = 0.1%)
## |   |   |   |   |   |   |   |   |   [145] wind_gust_speed > 24: No (n = 2515, err = 1.7%)
## |   |   |   |   |   |   [146] humidity_3pm > 44
## |   |   |   |   |   |   |   [147] pressure_3pm <= 1018.1
## |   |   |   |   |   |   |   |   [148] sunshine <= 10.5
## |   |   |   |   |   |   |   |   |   [149] wind_dir_9am <= E
## |   |   |   |   |   |   |   |   |   |   [150] wind_gust_speed <= 37: No (n = 194, err = 10.3%)
## |   |   |   |   |   |   |   |   |   |   [151] wind_gust_speed > 37: No (n = 95, err = 28.4%)
## |   |   |   |   |   |   |   |   |   [152] wind_dir_9am > E: No (n = 821, err = 6.5%)
## |   |   |   |   |   |   |   |   [153] sunshine > 10.5: No (n = 290, err = 2.1%)
## |   |   |   |   |   |   |   [154] pressure_3pm > 1018.1
## |   |   |   |   |   |   |   |   [155] rainfall <= 1
## |   |   |   |   |   |   |   |   |   [156] pressure_3pm <= 1024.2: No (n = 2290, err = 4.0%)
## |   |   |   |   |   |   |   |   |   [157] pressure_3pm > 1024.2: No (n = 1103, err = 1.4%)
## |   |   |   |   |   |   |   |   [158] rainfall > 1: No (n = 394, err = 7.4%)
## |   |   |   [159] wind_gust_speed > 56
## |   |   |   |   [160] sunshine <= 7.7
## |   |   |   |   |   [161] pressure_3pm <= 1006.1
## |   |   |   |   |   |   [162] humidity_3pm <= 24: No (n = 101, err = 31.7%)
## |   |   |   |   |   |   [163] humidity_3pm > 24
## |   |   |   |   |   |   |   [164] sunshine <= 4.1: Yes (n = 104, err = 28.8%)
## |   |   |   |   |   |   |   [165] sunshine > 4.1: No (n = 263, err = 47.9%)
## |   |   |   |   |   [166] pressure_3pm > 1006.1
## |   |   |   |   |   |   [167] humidity_9am <= 62
## |   |   |   |   |   |   |   [168] pressure_3pm <= 1011.8
## |   |   |   |   |   |   |   |   [169] wind_dir_3pm <= ESE: No (n = 89, err = 44.9%)
## |   |   |   |   |   |   |   |   [170] wind_dir_3pm > ESE: No (n = 149, err = 22.1%)
## |   |   |   |   |   |   |   [171] pressure_3pm > 1011.8: No (n = 197, err = 17.3%)
## |   |   |   |   |   |   [172] humidity_9am > 62: No (n = 233, err = 41.6%)
## |   |   |   |   [173] sunshine > 7.7
## |   |   |   |   |   [174] pressure_3pm <= 1008.8
## |   |   |   |   |   |   [175] humidity_3pm <= 21
## |   |   |   |   |   |   |   [176] wind_gust_speed <= 83
## |   |   |   |   |   |   |   |   [177] humidity_3pm <= 13: No (n = 399, err = 8.0%)
## |   |   |   |   |   |   |   |   [178] humidity_3pm > 13
## |   |   |   |   |   |   |   |   |   [179] wind_dir_3pm <= NNE: No (n = 50, err = 50.0%)
## |   |   |   |   |   |   |   |   |   [180] wind_dir_3pm > NNE
## |   |   |   |   |   |   |   |   |   |   [181] max_temp <= 41.4: No (n = 306, err = 9.8%)
## |   |   |   |   |   |   |   |   |   |   [182] max_temp > 41.4: No (n = 37, err = 35.1%)
## |   |   |   |   |   |   |   [183] wind_gust_speed > 83: No (n = 57, err = 35.1%)
## |   |   |   |   |   |   [184] humidity_3pm > 21
## |   |   |   |   |   |   |   [185] wind_dir_9am <= E
## |   |   |   |   |   |   |   |   [186] sunshine <= 10.5
## |   |   |   |   |   |   |   |   |   [187] temp_3pm <= 25.1: No (n = 187, err = 34.8%)
## |   |   |   |   |   |   |   |   |   [188] temp_3pm > 25.1: Yes (n = 266, err = 44.0%)
## |   |   |   |   |   |   |   |   [189] sunshine > 10.5: No (n = 90, err = 13.3%)
## |   |   |   |   |   |   |   [190] wind_dir_9am > E
## |   |   |   |   |   |   |   |   [191] humidity_9am <= 57
## |   |   |   |   |   |   |   |   |   [192] pressure_3pm <= 994.7: Yes (n = 14, err = 28.6%)
## |   |   |   |   |   |   |   |   |   [193] pressure_3pm > 994.7
## |   |   |   |   |   |   |   |   |   |   [194] temp_3pm <= 31.2: No (n = 452, err = 11.9%)
## |   |   |   |   |   |   |   |   |   |   [195] temp_3pm > 31.2: No (n = 73, err = 32.9%)
## |   |   |   |   |   |   |   |   [196] humidity_9am > 57
## |   |   |   |   |   |   |   |   |   [197] wind_gust_speed <= 69: No (n = 208, err = 28.4%)
## |   |   |   |   |   |   |   |   |   [198] wind_gust_speed > 69: Yes (n = 117, err = 47.9%)
## |   |   |   |   |   [199] pressure_3pm > 1008.8
## |   |   |   |   |   |   [200] sunshine <= 10.1
## |   |   |   |   |   |   |   [201] wind_gust_speed <= 74
## |   |   |   |   |   |   |   |   [202] wind_speed_3pm <= 15
## |   |   |   |   |   |   |   |   |   [203] wind_speed_9am <= 6
## |   |   |   |   |   |   |   |   |   |   [204] min_temp <= 11.6: No (n = 9, err = 11.1%)
## |   |   |   |   |   |   |   |   |   |   [205] min_temp > 11.6: Yes (n = 27, err = 25.9%)
## |   |   |   |   |   |   |   |   |   [206] wind_speed_9am > 6: No (n = 135, err = 17.0%)
## |   |   |   |   |   |   |   |   [207] wind_speed_3pm > 15
## |   |   |   |   |   |   |   |   |   [208] humidity_3pm <= 34
## |   |   |   |   |   |   |   |   |   |   [209] temp_3pm <= 24.7: No (n = 396, err = 4.8%)
## |   |   |   |   |   |   |   |   |   |   [210] temp_3pm > 24.7
## |   |   |   |   |   |   |   |   |   |   |   [211] humidity_3pm <= 24: No (n = 284, err = 8.5%)
## |   |   |   |   |   |   |   |   |   |   |   [212] humidity_3pm > 24
## |   |   |   |   |   |   |   |   |   |   |   |   [213] wind_dir_3pm <= NNE: Yes (n = 28, err = 39.3%)
## |   |   |   |   |   |   |   |   |   |   |   |   [214] wind_dir_3pm > NNE
## |   |   |   |   |   |   |   |   |   |   |   |   |   [215] rainfall <= 0.2: No (n = 108, err = 12.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [216] rainfall > 0.2: No (n = 8, err = 37.5%)
## |   |   |   |   |   |   |   |   |   [217] humidity_3pm > 34
## |   |   |   |   |   |   |   |   |   |   [218] pressure_3pm <= 1016.2
## |   |   |   |   |   |   |   |   |   |   |   [219] wind_dir_9am <= NNE: No (n = 108, err = 31.5%)
## |   |   |   |   |   |   |   |   |   |   |   [220] wind_dir_9am > NNE: No (n = 435, err = 17.0%)
## |   |   |   |   |   |   |   |   |   |   [221] pressure_3pm > 1016.2
## |   |   |   |   |   |   |   |   |   |   |   [222] rainfall <= 5: No (n = 197, err = 4.6%)
## |   |   |   |   |   |   |   |   |   |   |   [223] rainfall > 5: No (n = 23, err = 30.4%)
## |   |   |   |   |   |   |   [224] wind_gust_speed > 74
## |   |   |   |   |   |   |   |   [225] temp_3pm <= 24.7: No (n = 140, err = 15.0%)
## |   |   |   |   |   |   |   |   [226] temp_3pm > 24.7
## |   |   |   |   |   |   |   |   |   [227] humidity_3pm <= 35: No (n = 61, err = 39.3%)
## |   |   |   |   |   |   |   |   |   [228] humidity_3pm > 35: Yes (n = 18, err = 16.7%)
## |   |   |   |   |   |   [229] sunshine > 10.1
## |   |   |   |   |   |   |   [230] wind_gust_speed <= 80: No (n = 708, err = 2.7%)
## |   |   |   |   |   |   |   [231] wind_gust_speed > 80: No (n = 19, err = 36.8%)
## |   |   [232] humidity_3pm > 50
## |   |   |   [233] wind_gust_speed <= 46
## |   |   |   |   [234] rain_today in No
## |   |   |   |   |   [235] pressure_3pm <= 1014.1
## |   |   |   |   |   |   [236] sunshine <= 6.6
## |   |   |   |   |   |   |   [237] pressure_3pm <= 1009.4
## |   |   |   |   |   |   |   |   [238] wind_gust_speed <= 31: No (n = 142, err = 30.3%)
## |   |   |   |   |   |   |   |   [239] wind_gust_speed > 31: No (n = 388, err = 46.6%)
## |   |   |   |   |   |   |   [240] pressure_3pm > 1009.4
## |   |   |   |   |   |   |   |   [241] min_temp <= 15.7
## |   |   |   |   |   |   |   |   |   [242] pressure_9am <= 1015.2
## |   |   |   |   |   |   |   |   |   |   [243] humidity_3pm <= 62: No (n = 156, err = 23.7%)
## |   |   |   |   |   |   |   |   |   |   [244] humidity_3pm > 62: No (n = 106, err = 42.5%)
## |   |   |   |   |   |   |   |   |   [245] pressure_9am > 1015.2: No (n = 187, err = 49.7%)
## |   |   |   |   |   |   |   |   [246] min_temp > 15.7: No (n = 406, err = 22.9%)
## |   |   |   |   |   |   [247] sunshine > 6.6
## |   |   |   |   |   |   |   [248] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   [249] humidity_9am <= 78
## |   |   |   |   |   |   |   |   |   [250] pressure_9am <= 1011.3
## |   |   |   |   |   |   |   |   |   |   [251] rainfall <= 0.6: No (n = 1231, err = 18.2%)
## |   |   |   |   |   |   |   |   |   |   [252] rainfall > 0.6: No (n = 40, err = 40.0%)
## |   |   |   |   |   |   |   |   |   [253] pressure_9am > 1011.3
## |   |   |   |   |   |   |   |   |   |   [254] max_temp <= 22: No (n = 354, err = 28.0%)
## |   |   |   |   |   |   |   |   |   |   [255] max_temp > 22
## |   |   |   |   |   |   |   |   |   |   |   [256] humidity_3pm <= 54
## |   |   |   |   |   |   |   |   |   |   |   |   [257] wind_gust_dir <= WSW
## |   |   |   |   |   |   |   |   |   |   |   |   |   [258] cloud_9am <= 7: No (n = 1033, err = 2.9%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [259] cloud_9am > 7: No (n = 23, err = 17.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   [260] wind_gust_dir > WSW: No (n = 246, err = 10.2%)
## |   |   |   |   |   |   |   |   |   |   |   [261] humidity_3pm > 54
## |   |   |   |   |   |   |   |   |   |   |   |   [262] wind_gust_speed <= 39
## |   |   |   |   |   |   |   |   |   |   |   |   |   [263] sunshine <= 10.1: No (n = 909, err = 11.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [264] sunshine > 10.1: No (n = 501, err = 4.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   [265] wind_gust_speed > 39
## |   |   |   |   |   |   |   |   |   |   |   |   |   [266] wind_speed_3pm <= 17: No (n = 47, err = 38.3%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [267] wind_speed_3pm > 17: No (n = 326, err = 15.6%)
## |   |   |   |   |   |   |   |   [268] humidity_9am > 78
## |   |   |   |   |   |   |   |   |   [269] cloud_3pm <= 2: No (n = 153, err = 9.2%)
## |   |   |   |   |   |   |   |   |   [270] cloud_3pm > 2
## |   |   |   |   |   |   |   |   |   |   [271] wind_gust_dir <= W: No (n = 626, err = 23.6%)
## |   |   |   |   |   |   |   |   |   |   [272] wind_gust_dir > W
## |   |   |   |   |   |   |   |   |   |   |   [273] wind_dir_3pm <= E
## |   |   |   |   |   |   |   |   |   |   |   |   [274] wind_dir_9am <= SW: Yes (n = 17, err = 0.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   [275] wind_dir_9am > SW: No (n = 11, err = 27.3%)
## |   |   |   |   |   |   |   |   |   |   |   [276] wind_dir_3pm > E: No (n = 147, err = 35.4%)
## |   |   |   |   |   |   |   [277] cloud_3pm > 5
## |   |   |   |   |   |   |   |   [278] sunshine <= 8.6
## |   |   |   |   |   |   |   |   |   [279] wind_dir_9am <= E
## |   |   |   |   |   |   |   |   |   |   [280] temp_3pm <= 16.3: Yes (n = 35, err = 20.0%)
## |   |   |   |   |   |   |   |   |   |   [281] temp_3pm > 16.3
## |   |   |   |   |   |   |   |   |   |   |   [282] wind_gust_speed <= 31: No (n = 64, err = 18.8%)
## |   |   |   |   |   |   |   |   |   |   |   [283] wind_gust_speed > 31: No (n = 155, err = 45.8%)
## |   |   |   |   |   |   |   |   |   [284] wind_dir_9am > E: No (n = 566, err = 27.9%)
## |   |   |   |   |   |   |   |   [285] sunshine > 8.6
## |   |   |   |   |   |   |   |   |   [286] pressure_3pm <= 1005.7: No (n = 69, err = 34.8%)
## |   |   |   |   |   |   |   |   |   [287] pressure_3pm > 1005.7: No (n = 350, err = 14.9%)
## |   |   |   |   |   [288] pressure_3pm > 1014.1
## |   |   |   |   |   |   [289] cloud_3pm <= 5
## |   |   |   |   |   |   |   [290] pressure_3pm <= 1024.3
## |   |   |   |   |   |   |   |   [291] sunshine <= 8.9
## |   |   |   |   |   |   |   |   |   [292] humidity_3pm <= 67
## |   |   |   |   |   |   |   |   |   |   [293] rainfall <= 0
## |   |   |   |   |   |   |   |   |   |   |   [294] wind_gust_speed <= 39
## |   |   |   |   |   |   |   |   |   |   |   |   [295] min_temp <= 18.1
## |   |   |   |   |   |   |   |   |   |   |   |   |   [296] humidity_9am <= 64
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [297] sunshine <= 5.8: No (n = 33, err = 27.3%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [298] sunshine > 5.8: No (n = 1343, err = 5.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [299] humidity_9am > 64: No (n = 4443, err = 9.5%)
## |   |   |   |   |   |   |   |   |   |   |   |   [300] min_temp > 18.1
## |   |   |   |   |   |   |   |   |   |   |   |   |   [301] wind_speed_3pm <= 20: No (n = 505, err = 17.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [302] wind_speed_3pm > 20: No (n = 162, err = 6.8%)
## |   |   |   |   |   |   |   |   |   |   |   [303] wind_gust_speed > 39
## |   |   |   |   |   |   |   |   |   |   |   |   [304] wind_speed_3pm <= 19: No (n = 294, err = 22.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   [305] wind_speed_3pm > 19
## |   |   |   |   |   |   |   |   |   |   |   |   |   [306] max_temp <= 19.1: No (n = 160, err = 19.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [307] max_temp > 19.1: No (n = 588, err = 7.7%)
## |   |   |   |   |   |   |   |   |   |   [308] rainfall > 0
## |   |   |   |   |   |   |   |   |   |   |   [309] wind_gust_speed <= 35
## |   |   |   |   |   |   |   |   |   |   |   |   [310] humidity_3pm <= 65: No (n = 1004, err = 9.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   [311] humidity_3pm > 65: No (n = 121, err = 22.3%)
## |   |   |   |   |   |   |   |   |   |   |   [312] wind_gust_speed > 35: No (n = 901, err = 18.2%)
## |   |   |   |   |   |   |   |   |   [313] humidity_3pm > 67
## |   |   |   |   |   |   |   |   |   |   [314] wind_dir_3pm <= SE
## |   |   |   |   |   |   |   |   |   |   |   [315] sunshine <= 0.8: Yes (n = 11, err = 36.4%)
## |   |   |   |   |   |   |   |   |   |   |   [316] sunshine > 0.8: No (n = 554, err = 15.5%)
## |   |   |   |   |   |   |   |   |   |   [317] wind_dir_3pm > SE
## |   |   |   |   |   |   |   |   |   |   |   [318] wind_gust_speed <= 33: No (n = 288, err = 18.8%)
## |   |   |   |   |   |   |   |   |   |   |   [319] wind_gust_speed > 33: No (n = 217, err = 33.6%)
## |   |   |   |   |   |   |   |   [320] sunshine > 8.9
## |   |   |   |   |   |   |   |   |   [321] sunshine <= 10.1: No (n = 851, err = 6.9%)
## |   |   |   |   |   |   |   |   |   [322] sunshine > 10.1: No (n = 1307, err = 2.4%)
## |   |   |   |   |   |   |   [323] pressure_3pm > 1024.3
## |   |   |   |   |   |   |   |   [324] wind_gust_speed <= 28
## |   |   |   |   |   |   |   |   |   [325] rainfall <= 0.7: No (n = 1494, err = 2.1%)
## |   |   |   |   |   |   |   |   |   [326] rainfall > 0.7: No (n = 63, err = 11.1%)
## |   |   |   |   |   |   |   |   [327] wind_gust_speed > 28
## |   |   |   |   |   |   |   |   |   [328] temp_9am <= 9.2: No (n = 312, err = 3.2%)
## |   |   |   |   |   |   |   |   |   [329] temp_9am > 9.2: No (n = 1063, err = 8.7%)
## |   |   |   |   |   |   [330] cloud_3pm > 5
## |   |   |   |   |   |   |   [331] pressure_3pm <= 1020.7
## |   |   |   |   |   |   |   |   [332] sunshine <= 8.5
## |   |   |   |   |   |   |   |   |   [333] humidity_3pm <= 62
## |   |   |   |   |   |   |   |   |   |   [334] wind_dir_9am <= ENE: No (n = 424, err = 28.3%)
## |   |   |   |   |   |   |   |   |   |   [335] wind_dir_9am > ENE: No (n = 1097, err = 16.0%)
## |   |   |   |   |   |   |   |   |   [336] humidity_3pm > 62: No (n = 1008, err = 26.0%)
## |   |   |   |   |   |   |   |   [337] sunshine > 8.5: No (n = 243, err = 9.1%)
## |   |   |   |   |   |   |   [338] pressure_3pm > 1020.7
## |   |   |   |   |   |   |   |   [339] temp_9am <= 18.9
## |   |   |   |   |   |   |   |   |   [340] wind_gust_speed <= 28: No (n = 883, err = 6.0%)
## |   |   |   |   |   |   |   |   |   [341] wind_gust_speed > 28
## |   |   |   |   |   |   |   |   |   |   [342] humidity_3pm <= 57: No (n = 398, err = 7.3%)
## |   |   |   |   |   |   |   |   |   |   [343] humidity_3pm > 57: No (n = 789, err = 15.1%)
## |   |   |   |   |   |   |   |   [344] temp_9am > 18.9: No (n = 154, err = 24.7%)
## |   |   |   |   [345] rain_today in Yes
## |   |   |   |   |   [346] pressure_3pm <= 1015.4
## |   |   |   |   |   |   [347] sunshine <= 6.3
## |   |   |   |   |   |   |   [348] pressure_3pm <= 1007.4: Yes (n = 238, err = 38.2%)
## |   |   |   |   |   |   |   [349] pressure_3pm > 1007.4: No (n = 641, err = 46.5%)
## |   |   |   |   |   |   [350] sunshine > 6.3
## |   |   |   |   |   |   |   [351] wind_gust_speed <= 31: No (n = 854, err = 24.2%)
## |   |   |   |   |   |   |   [352] wind_gust_speed > 31
## |   |   |   |   |   |   |   |   [353] humidity_9am <= 89
## |   |   |   |   |   |   |   |   |   [354] cloud_3pm <= 4: No (n = 333, err = 21.6%)
## |   |   |   |   |   |   |   |   |   [355] cloud_3pm > 4
## |   |   |   |   |   |   |   |   |   |   [356] pressure_3pm <= 1010.2
## |   |   |   |   |   |   |   |   |   |   |   [357] min_temp <= 13.7
## |   |   |   |   |   |   |   |   |   |   |   |   [358] temp_3pm <= 11.8: No (n = 13, err = 7.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   [359] temp_3pm > 11.8: Yes (n = 138, err = 39.1%)
## |   |   |   |   |   |   |   |   |   |   |   [360] min_temp > 13.7: No (n = 341, err = 35.5%)
## |   |   |   |   |   |   |   |   |   |   [361] pressure_3pm > 1010.2: No (n = 929, err = 31.6%)
## |   |   |   |   |   |   |   |   [362] humidity_9am > 89: No (n = 565, err = 47.4%)
## |   |   |   |   |   [363] pressure_3pm > 1015.4
## |   |   |   |   |   |   [364] wind_gust_speed <= 30
## |   |   |   |   |   |   |   [365] humidity_3pm <= 65
## |   |   |   |   |   |   |   |   [366] temp_9am <= 23.1: No (n = 853, err = 8.4%)
## |   |   |   |   |   |   |   |   [367] temp_9am > 23.1: No (n = 15, err = 46.7%)
## |   |   |   |   |   |   |   [368] humidity_3pm > 65: No (n = 358, err = 20.9%)
## |   |   |   |   |   |   [369] wind_gust_speed > 30
## |   |   |   |   |   |   |   [370] humidity_3pm <= 63
## |   |   |   |   |   |   |   |   [371] rainfall <= 5.4: No (n = 1174, err = 15.7%)
## |   |   |   |   |   |   |   |   [372] rainfall > 5.4
## |   |   |   |   |   |   |   |   |   [373] humidity_9am <= 82: No (n = 417, err = 22.8%)
## |   |   |   |   |   |   |   |   |   [374] humidity_9am > 82: No (n = 272, err = 39.0%)
## |   |   |   |   |   |   |   [375] humidity_3pm > 63
## |   |   |   |   |   |   |   |   [376] rainfall <= 4.7: No (n = 563, err = 28.6%)
## |   |   |   |   |   |   |   |   [377] rainfall > 4.7: No (n = 431, err = 44.1%)
## |   |   |   [378] wind_gust_speed > 46
## |   |   |   |   [379] pressure_3pm <= 1012
## |   |   |   |   |   [380] sunshine <= 6.8
## |   |   |   |   |   |   [381] wind_gust_speed <= 65
## |   |   |   |   |   |   |   [382] humidity_9am <= 63: Yes (n = 168, err = 48.2%)
## |   |   |   |   |   |   |   [383] humidity_9am > 63: Yes (n = 697, err = 34.7%)
## |   |   |   |   |   |   [384] wind_gust_speed > 65: Yes (n = 363, err = 18.2%)
## |   |   |   |   |   [385] sunshine > 6.8
## |   |   |   |   |   |   [386] humidity_9am <= 76
## |   |   |   |   |   |   |   [387] rain_today in No
## |   |   |   |   |   |   |   |   [388] sunshine <= 9.8
## |   |   |   |   |   |   |   |   |   [389] wind_gust_speed <= 54
## |   |   |   |   |   |   |   |   |   |   [390] wind_speed_3pm <= 15: Yes (n = 54, err = 48.1%)
## |   |   |   |   |   |   |   |   |   |   [391] wind_speed_3pm > 15
## |   |   |   |   |   |   |   |   |   |   |   [392] cloud_9am <= 7: No (n = 366, err = 22.7%)
## |   |   |   |   |   |   |   |   |   |   |   [393] cloud_9am > 7: No (n = 35, err = 48.6%)
## |   |   |   |   |   |   |   |   |   [394] wind_gust_speed > 54
## |   |   |   |   |   |   |   |   |   |   [395] pressure_3pm <= 1007.3
## |   |   |   |   |   |   |   |   |   |   |   [396] humidity_3pm <= 52: No (n = 62, err = 29.0%)
## |   |   |   |   |   |   |   |   |   |   |   [397] humidity_3pm > 52: Yes (n = 190, err = 42.6%)
## |   |   |   |   |   |   |   |   |   |   [398] pressure_3pm > 1007.3
## |   |   |   |   |   |   |   |   |   |   |   [399] max_temp <= 19.4: Yes (n = 81, err = 43.2%)
## |   |   |   |   |   |   |   |   |   |   |   [400] max_temp > 19.4: No (n = 196, err = 27.0%)
## |   |   |   |   |   |   |   |   [401] sunshine > 9.8: No (n = 183, err = 15.3%)
## |   |   |   |   |   |   |   [402] rain_today in Yes
## |   |   |   |   |   |   |   |   [403] wind_gust_speed <= 61: No (n = 285, err = 46.0%)
## |   |   |   |   |   |   |   |   [404] wind_gust_speed > 61
## |   |   |   |   |   |   |   |   |   [405] wind_speed_9am <= 28: Yes (n = 89, err = 21.3%)
## |   |   |   |   |   |   |   |   |   [406] wind_speed_9am > 28
## |   |   |   |   |   |   |   |   |   |   [407] pressure_3pm <= 1006.3: Yes (n = 33, err = 21.2%)
## |   |   |   |   |   |   |   |   |   |   [408] pressure_3pm > 1006.3: No (n = 61, err = 36.1%)
## |   |   |   |   |   |   [409] humidity_9am > 76
## |   |   |   |   |   |   |   [410] wind_gust_speed <= 56: Yes (n = 430, err = 43.5%)
## |   |   |   |   |   |   |   [411] wind_gust_speed > 56
## |   |   |   |   |   |   |   |   [412] rain_today in No: Yes (n = 156, err = 41.7%)
## |   |   |   |   |   |   |   |   [413] rain_today in Yes: Yes (n = 314, err = 25.5%)
## |   |   |   |   [414] pressure_3pm > 1012
## |   |   |   |   |   [415] rain_today in No
## |   |   |   |   |   |   [416] humidity_3pm <= 66
## |   |   |   |   |   |   |   [417] wind_gust_speed <= 56
## |   |   |   |   |   |   |   |   [418] sunshine <= 9.9
## |   |   |   |   |   |   |   |   |   [419] wind_speed_3pm <= 26
## |   |   |   |   |   |   |   |   |   |   [420] humidity_3pm <= 59
## |   |   |   |   |   |   |   |   |   |   |   [421] wind_speed_9am <= 7: No (n = 69, err = 36.2%)
## |   |   |   |   |   |   |   |   |   |   |   [422] wind_speed_9am > 7: No (n = 451, err = 15.5%)
## |   |   |   |   |   |   |   |   |   |   [423] humidity_3pm > 59: No (n = 306, err = 30.1%)
## |   |   |   |   |   |   |   |   |   [424] wind_speed_3pm > 26
## |   |   |   |   |   |   |   |   |   |   [425] evaporation <= 9.8: No (n = 907, err = 13.6%)
## |   |   |   |   |   |   |   |   |   |   [426] evaporation > 9.8: No (n = 35, err = 42.9%)
## |   |   |   |   |   |   |   |   [427] sunshine > 9.9: No (n = 213, err = 4.2%)
## |   |   |   |   |   |   |   [428] wind_gust_speed > 56
## |   |   |   |   |   |   |   |   [429] wind_gust_dir <= WNW
## |   |   |   |   |   |   |   |   |   [430] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   |   |   [431] wind_gust_dir <= NE
## |   |   |   |   |   |   |   |   |   |   |   [432] wind_speed_3pm <= 31: No (n = 60, err = 20.0%)
## |   |   |   |   |   |   |   |   |   |   |   [433] wind_speed_3pm > 31: No (n = 85, err = 3.5%)
## |   |   |   |   |   |   |   |   |   |   [434] wind_gust_dir > NE
## |   |   |   |   |   |   |   |   |   |   |   [435] wind_gust_speed <= 65: No (n = 282, err = 19.5%)
## |   |   |   |   |   |   |   |   |   |   |   [436] wind_gust_speed > 65: No (n = 119, err = 39.5%)
## |   |   |   |   |   |   |   |   |   [437] cloud_3pm > 5
## |   |   |   |   |   |   |   |   |   |   [438] wind_speed_9am <= 15: Yes (n = 42, err = 28.6%)
## |   |   |   |   |   |   |   |   |   |   [439] wind_speed_9am > 15: No (n = 217, err = 34.1%)
## |   |   |   |   |   |   |   |   [440] wind_gust_dir > WNW: Yes (n = 81, err = 43.2%)
## |   |   |   |   |   |   [441] humidity_3pm > 66
## |   |   |   |   |   |   |   [442] rainfall <= 0.2
## |   |   |   |   |   |   |   |   [443] wind_gust_dir <= S: No (n = 316, err = 27.5%)
## |   |   |   |   |   |   |   |   [444] wind_gust_dir > S: No (n = 170, err = 45.3%)
## |   |   |   |   |   |   |   [445] rainfall > 0.2: Yes (n = 134, err = 49.3%)
## |   |   |   |   |   [446] rain_today in Yes
## |   |   |   |   |   |   [447] humidity_9am <= 68
## |   |   |   |   |   |   |   [448] humidity_3pm <= 67: No (n = 502, err = 27.7%)
## |   |   |   |   |   |   |   [449] humidity_3pm > 67: Yes (n = 53, err = 37.7%)
## |   |   |   |   |   |   [450] humidity_9am > 68
## |   |   |   |   |   |   |   [451] humidity_3pm <= 63
## |   |   |   |   |   |   |   |   [452] rainfall <= 10.2
## |   |   |   |   |   |   |   |   |   [453] temp_9am <= 9.1: No (n = 127, err = 20.5%)
## |   |   |   |   |   |   |   |   |   [454] temp_9am > 9.1
## |   |   |   |   |   |   |   |   |   |   [455] wind_gust_speed <= 59
## |   |   |   |   |   |   |   |   |   |   |   [456] wind_speed_9am <= 19: No (n = 192, err = 49.0%)
## |   |   |   |   |   |   |   |   |   |   |   [457] wind_speed_9am > 19: No (n = 215, err = 27.0%)
## |   |   |   |   |   |   |   |   |   |   [458] wind_gust_speed > 59: Yes (n = 95, err = 45.3%)
## |   |   |   |   |   |   |   |   [459] rainfall > 10.2: Yes (n = 239, err = 42.7%)
## |   |   |   |   |   |   |   [460] humidity_3pm > 63: Yes (n = 632, err = 43.0%)
## |   [461] humidity_3pm > 71
## |   |   [462] humidity_3pm <= 83
## |   |   |   [463] wind_gust_speed <= 41
## |   |   |   |   [464] rain_today in No
## |   |   |   |   |   [465] cloud_3pm <= 6
## |   |   |   |   |   |   [466] pressure_3pm <= 1018.9
## |   |   |   |   |   |   |   [467] cloud_3pm <= 3: No (n = 236, err = 12.3%)
## |   |   |   |   |   |   |   [468] cloud_3pm > 3
## |   |   |   |   |   |   |   |   [469] humidity_3pm <= 81
## |   |   |   |   |   |   |   |   |   [470] sunshine <= 2.6: No (n = 63, err = 44.4%)
## |   |   |   |   |   |   |   |   |   [471] sunshine > 2.6
## |   |   |   |   |   |   |   |   |   |   [472] pressure_3pm <= 1007.7: No (n = 103, err = 39.8%)
## |   |   |   |   |   |   |   |   |   |   [473] pressure_3pm > 1007.7
## |   |   |   |   |   |   |   |   |   |   |   [474] wind_speed_3pm <= 19: No (n = 873, err = 26.8%)
## |   |   |   |   |   |   |   |   |   |   |   [475] wind_speed_3pm > 19: No (n = 330, err = 16.4%)
## |   |   |   |   |   |   |   |   [476] humidity_3pm > 81
## |   |   |   |   |   |   |   |   |   [477] wind_speed_3pm <= 15: Yes (n = 96, err = 42.7%)
## |   |   |   |   |   |   |   |   |   [478] wind_speed_3pm > 15: No (n = 71, err = 25.4%)
## |   |   |   |   |   |   [479] pressure_3pm > 1018.9: No (n = 898, err = 16.5%)
## |   |   |   |   |   [480] cloud_3pm > 6
## |   |   |   |   |   |   [481] pressure_3pm <= 1015.2
## |   |   |   |   |   |   |   [482] humidity_9am <= 67: Yes (n = 107, err = 29.9%)
## |   |   |   |   |   |   |   [483] humidity_9am > 67
## |   |   |   |   |   |   |   |   [484] sunshine <= 4.8: Yes (n = 261, err = 42.1%)
## |   |   |   |   |   |   |   |   [485] sunshine > 4.8: No (n = 238, err = 44.1%)
## |   |   |   |   |   |   [486] pressure_3pm > 1015.2
## |   |   |   |   |   |   |   [487] pressure_3pm <= 1021.6: No (n = 568, err = 37.7%)
## |   |   |   |   |   |   |   [488] pressure_3pm > 1021.6
## |   |   |   |   |   |   |   |   [489] max_temp <= 14.6: No (n = 217, err = 14.7%)
## |   |   |   |   |   |   |   |   [490] max_temp > 14.6
## |   |   |   |   |   |   |   |   |   [491] cloud_9am <= 6: No (n = 59, err = 13.6%)
## |   |   |   |   |   |   |   |   |   [492] cloud_9am > 6: No (n = 154, err = 38.3%)
## |   |   |   |   [493] rain_today in Yes
## |   |   |   |   |   [494] pressure_3pm <= 1013.8
## |   |   |   |   |   |   [495] sunshine <= 6.8
## |   |   |   |   |   |   |   [496] evaporation <= 1.4: Yes (n = 73, err = 47.9%)
## |   |   |   |   |   |   |   [497] evaporation > 1.4: Yes (n = 357, err = 26.1%)
## |   |   |   |   |   |   [498] sunshine > 6.8: Yes (n = 512, err = 45.3%)
## |   |   |   |   |   [499] pressure_3pm > 1013.8
## |   |   |   |   |   |   [500] min_temp <= 11.8
## |   |   |   |   |   |   |   [501] wind_gust_speed <= 33: No (n = 485, err = 29.1%)
## |   |   |   |   |   |   |   [502] wind_gust_speed > 33: No (n = 374, err = 47.6%)
## |   |   |   |   |   |   [503] min_temp > 11.8
## |   |   |   |   |   |   |   [504] cloud_3pm <= 5: No (n = 388, err = 44.8%)
## |   |   |   |   |   |   |   [505] cloud_3pm > 5: Yes (n = 377, err = 40.1%)
## |   |   |   [506] wind_gust_speed > 41
## |   |   |   |   [507] rain_today in No
## |   |   |   |   |   [508] sunshine <= 7.9
## |   |   |   |   |   |   [509] pressure_3pm <= 1014.6
## |   |   |   |   |   |   |   [510] wind_speed_3pm <= 26: Yes (n = 260, err = 17.3%)
## |   |   |   |   |   |   |   [511] wind_speed_3pm > 26: Yes (n = 192, err = 33.3%)
## |   |   |   |   |   |   [512] pressure_3pm > 1014.6
## |   |   |   |   |   |   |   [513] humidity_3pm <= 75: No (n = 125, err = 39.2%)
## |   |   |   |   |   |   |   [514] humidity_3pm > 75: Yes (n = 184, err = 32.6%)
## |   |   |   |   |   [515] sunshine > 7.9
## |   |   |   |   |   |   [516] wind_dir_3pm <= S
## |   |   |   |   |   |   |   [517] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   [518] wind_gust_dir <= SSW
## |   |   |   |   |   |   |   |   |   [519] wind_dir_3pm <= ESE
## |   |   |   |   |   |   |   |   |   |   [520] pressure_9am <= 1018.1: No (n = 310, err = 28.1%)
## |   |   |   |   |   |   |   |   |   |   [521] pressure_9am > 1018.1
## |   |   |   |   |   |   |   |   |   |   |   [522] temp_3pm <= 18.3: No (n = 31, err = 38.7%)
## |   |   |   |   |   |   |   |   |   |   |   [523] temp_3pm > 18.3: No (n = 114, err = 4.4%)
## |   |   |   |   |   |   |   |   |   [524] wind_dir_3pm > ESE: No (n = 254, err = 40.2%)
## |   |   |   |   |   |   |   |   [525] wind_gust_dir > SSW: Yes (n = 78, err = 44.9%)
## |   |   |   |   |   |   |   [526] cloud_3pm > 5
## |   |   |   |   |   |   |   |   [527] wind_speed_3pm <= 20: Yes (n = 94, err = 29.8%)
## |   |   |   |   |   |   |   |   [528] wind_speed_3pm > 20
## |   |   |   |   |   |   |   |   |   [529] wind_gust_speed <= 59: No (n = 176, err = 38.1%)
## |   |   |   |   |   |   |   |   |   [530] wind_gust_speed > 59: Yes (n = 32, err = 31.2%)
## |   |   |   |   |   |   [531] wind_dir_3pm > S
## |   |   |   |   |   |   |   [532] pressure_3pm <= 1015.2
## |   |   |   |   |   |   |   |   [533] temp_3pm <= 20.3: Yes (n = 239, err = 26.4%)
## |   |   |   |   |   |   |   |   [534] temp_3pm > 20.3: No (n = 56, err = 39.3%)
## |   |   |   |   |   |   |   [535] pressure_3pm > 1015.2
## |   |   |   |   |   |   |   |   [536] temp_9am <= 6.6: No (n = 44, err = 22.7%)
## |   |   |   |   |   |   |   |   [537] temp_9am > 6.6: Yes (n = 168, err = 45.2%)
## |   |   |   |   [538] rain_today in Yes
## |   |   |   |   |   [539] wind_gust_speed <= 57
## |   |   |   |   |   |   [540] sunshine <= 7.8
## |   |   |   |   |   |   |   [541] humidity_3pm <= 76: Yes (n = 318, err = 34.0%)
## |   |   |   |   |   |   |   [542] humidity_3pm > 76: Yes (n = 342, err = 22.2%)
## |   |   |   |   |   |   [543] sunshine > 7.8
## |   |   |   |   |   |   |   [544] wind_speed_9am <= 22
## |   |   |   |   |   |   |   |   [545] wind_dir_3pm <= ENE: No (n = 101, err = 49.5%)
## |   |   |   |   |   |   |   |   [546] wind_dir_3pm > ENE: Yes (n = 503, err = 31.8%)
## |   |   |   |   |   |   |   [547] wind_speed_9am > 22: No (n = 220, err = 49.1%)
## |   |   |   |   |   [548] wind_gust_speed > 57
## |   |   |   |   |   |   [549] pressure_3pm <= 1014.5: Yes (n = 528, err = 11.6%)
## |   |   |   |   |   |   [550] pressure_3pm > 1014.5: Yes (n = 221, err = 27.1%)
## |   |   [551] humidity_3pm > 83
## |   |   |   [552] rain_today in No
## |   |   |   |   [553] pressure_3pm <= 1015.1
## |   |   |   |   |   [554] temp_3pm <= 29.2
## |   |   |   |   |   |   [555] cloud_3pm <= 4: No (n = 30, err = 36.7%)
## |   |   |   |   |   |   [556] cloud_3pm > 4
## |   |   |   |   |   |   |   [557] temp_3pm <= 22.3
## |   |   |   |   |   |   |   |   [558] humidity_3pm <= 89
## |   |   |   |   |   |   |   |   |   [559] humidity_9am <= 80
## |   |   |   |   |   |   |   |   |   |   [560] sunshine <= 4.1: Yes (n = 116, err = 4.3%)
## |   |   |   |   |   |   |   |   |   |   [561] sunshine > 4.1: Yes (n = 184, err = 17.4%)
## |   |   |   |   |   |   |   |   |   [562] humidity_9am > 80: Yes (n = 263, err = 28.1%)
## |   |   |   |   |   |   |   |   [563] humidity_3pm > 89: Yes (n = 744, err = 10.9%)
## |   |   |   |   |   |   |   [564] temp_3pm > 22.3
## |   |   |   |   |   |   |   |   [565] temp_9am <= 26.4
## |   |   |   |   |   |   |   |   |   [566] sunshine <= 4: Yes (n = 38, err = 15.8%)
## |   |   |   |   |   |   |   |   |   [567] sunshine > 4: No (n = 102, err = 42.2%)
## |   |   |   |   |   |   |   |   [568] temp_9am > 26.4: Yes (n = 120, err = 13.3%)
## |   |   |   |   |   [569] temp_3pm > 29.2: No (n = 26, err = 7.7%)
## |   |   |   |   [570] pressure_3pm > 1015.1
## |   |   |   |   |   [571] temp_9am <= 8.8
## |   |   |   |   |   |   [572] humidity_3pm <= 96
## |   |   |   |   |   |   |   [573] temp_9am <= 3.3: No (n = 126, err = 20.6%)
## |   |   |   |   |   |   |   [574] temp_9am > 3.3
## |   |   |   |   |   |   |   |   [575] humidity_3pm <= 89: No (n = 146, err = 32.2%)
## |   |   |   |   |   |   |   |   [576] humidity_3pm > 89: Yes (n = 110, err = 42.7%)
## |   |   |   |   |   |   [577] humidity_3pm > 96
## |   |   |   |   |   |   |   [578] wind_gust_speed <= 56: No (n = 113, err = 49.6%)
## |   |   |   |   |   |   |   [579] wind_gust_speed > 56: Yes (n = 60, err = 20.0%)
## |   |   |   |   |   [580] temp_9am > 8.8
## |   |   |   |   |   |   [581] humidity_3pm <= 88
## |   |   |   |   |   |   |   [582] humidity_9am <= 91: Yes (n = 394, err = 36.0%)
## |   |   |   |   |   |   |   [583] humidity_9am > 91: No (n = 123, err = 39.0%)
## |   |   |   |   |   |   [584] humidity_3pm > 88
## |   |   |   |   |   |   |   [585] cloud_3pm <= 3: No (n = 8, err = 12.5%)
## |   |   |   |   |   |   |   [586] cloud_3pm > 3
## |   |   |   |   |   |   |   |   [587] wind_gust_dir <= NE: Yes (n = 119, err = 8.4%)
## |   |   |   |   |   |   |   |   [588] wind_gust_dir > NE: Yes (n = 649, err = 28.0%)
## |   |   |   [589] rain_today in Yes
## |   |   |   |   [590] min_temp <= 1.6: Yes (n = 228, err = 40.4%)
## |   |   |   |   [591] min_temp > 1.6
## |   |   |   |   |   [592] pressure_3pm <= 1011.2
## |   |   |   |   |   |   [593] humidity_3pm <= 88
## |   |   |   |   |   |   |   [594] wind_gust_speed <= 24: No (n = 16, err = 50.0%)
## |   |   |   |   |   |   |   [595] wind_gust_speed > 24: Yes (n = 561, err = 11.4%)
## |   |   |   |   |   |   [596] humidity_3pm > 88
## |   |   |   |   |   |   |   [597] wind_gust_speed <= 46
## |   |   |   |   |   |   |   |   [598] sunshine <= 4: Yes (n = 269, err = 1.9%)
## |   |   |   |   |   |   |   |   [599] sunshine > 4: Yes (n = 256, err = 11.3%)
## |   |   |   |   |   |   |   [600] wind_gust_speed > 46: Yes (n = 563, err = 1.8%)
## |   |   |   |   |   [601] pressure_3pm > 1011.2
## |   |   |   |   |   |   [602] humidity_3pm <= 90
## |   |   |   |   |   |   |   [603] wind_gust_speed <= 43
## |   |   |   |   |   |   |   |   [604] rainfall <= 7.4: Yes (n = 458, err = 32.1%)
## |   |   |   |   |   |   |   |   [605] rainfall > 7.4: Yes (n = 295, err = 18.0%)
## |   |   |   |   |   |   |   [606] wind_gust_speed > 43: Yes (n = 506, err = 15.0%)
## |   |   |   |   |   |   [607] humidity_3pm > 90
## |   |   |   |   |   |   |   [608] min_temp <= 8.3
## |   |   |   |   |   |   |   |   [609] pressure_3pm <= 1028.8: Yes (n = 322, err = 18.3%)
## |   |   |   |   |   |   |   |   [610] pressure_3pm > 1028.8: No (n = 10, err = 30.0%)
## |   |   |   |   |   |   |   [611] min_temp > 8.3
## |   |   |   |   |   |   |   |   [612] wind_gust_speed <= 48
## |   |   |   |   |   |   |   |   |   [613] min_temp <= 13.9: Yes (n = 344, err = 15.7%)
## |   |   |   |   |   |   |   |   |   [614] min_temp > 13.9: Yes (n = 449, err = 7.6%)
## |   |   |   |   |   |   |   |   [615] wind_gust_speed > 48: Yes (n = 279, err = 3.6%)
## 
## Number of inner nodes:    307
## Number of terminal nodes: 308

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.