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 <= 52
## |   |   |   |   [5] sunshine <= 7.7
## |   |   |   |   |   [6] pressure_3pm <= 1015
## |   |   |   |   |   |   [7] humidity_3pm <= 27
## |   |   |   |   |   |   |   [8] wind_dir_9am <= NE: No (n = 167, err = 17.4%)
## |   |   |   |   |   |   |   [9] wind_dir_9am > NE: No (n = 191, err = 3.7%)
## |   |   |   |   |   |   [10] humidity_3pm > 27
## |   |   |   |   |   |   |   [11] pressure_3pm <= 1011.1
## |   |   |   |   |   |   |   |   [12] sunshine <= 2.5: Yes (n = 161, err = 49.1%)
## |   |   |   |   |   |   |   |   [13] sunshine > 2.5
## |   |   |   |   |   |   |   |   |   [14] wind_speed_9am <= 17
## |   |   |   |   |   |   |   |   |   |   [15] wind_gust_speed <= 30: No (n = 62, err = 16.1%)
## |   |   |   |   |   |   |   |   |   |   [16] wind_gust_speed > 30: No (n = 443, err = 38.4%)
## |   |   |   |   |   |   |   |   |   [17] wind_speed_9am > 17: No (n = 223, err = 22.9%)
## |   |   |   |   |   |   |   [18] pressure_3pm > 1011.1
## |   |   |   |   |   |   |   |   [19] pressure_9am <= 1018.7
## |   |   |   |   |   |   |   |   |   [20] wind_dir_9am <= ENE: No (n = 252, err = 32.5%)
## |   |   |   |   |   |   |   |   |   [21] wind_dir_9am > ENE: No (n = 467, err = 15.8%)
## |   |   |   |   |   |   |   |   [22] pressure_9am > 1018.7: Yes (n = 57, err = 49.1%)
## |   |   |   |   |   [23] pressure_3pm > 1015
## |   |   |   |   |   |   [24] wind_gust_speed <= 31
## |   |   |   |   |   |   |   [25] sunshine <= 3.2: No (n = 175, err = 11.4%)
## |   |   |   |   |   |   |   [26] sunshine > 3.2: No (n = 870, err = 4.3%)
## |   |   |   |   |   |   [27] wind_gust_speed > 31
## |   |   |   |   |   |   |   [28] pressure_3pm <= 1019.9
## |   |   |   |   |   |   |   |   [29] pressure_9am <= 1023.4
## |   |   |   |   |   |   |   |   |   [30] wind_dir_9am <= ESE: No (n = 345, err = 20.3%)
## |   |   |   |   |   |   |   |   |   [31] wind_dir_9am > ESE
## |   |   |   |   |   |   |   |   |   |   [32] wind_dir_3pm <= ENE: No (n = 31, err = 35.5%)
## |   |   |   |   |   |   |   |   |   |   [33] wind_dir_3pm > ENE: No (n = 450, err = 8.2%)
## |   |   |   |   |   |   |   |   [34] pressure_9am > 1023.4: Yes (n = 30, err = 43.3%)
## |   |   |   |   |   |   |   [35] pressure_3pm > 1019.9
## |   |   |   |   |   |   |   |   [36] rain_today in No: No (n = 594, err = 6.7%)
## |   |   |   |   |   |   |   |   [37] rain_today in Yes: No (n = 105, err = 17.1%)
## |   |   |   |   [38] sunshine > 7.7
## |   |   |   |   |   [39] pressure_3pm <= 1015.3
## |   |   |   |   |   |   [40] humidity_3pm <= 30
## |   |   |   |   |   |   |   [41] humidity_3pm <= 21
## |   |   |   |   |   |   |   |   [42] wind_gust_speed <= 46
## |   |   |   |   |   |   |   |   |   [43] humidity_3pm <= 13: No (n = 2237, err = 0.5%)
## |   |   |   |   |   |   |   |   |   [44] humidity_3pm > 13
## |   |   |   |   |   |   |   |   |   |   [45] pressure_3pm <= 1007.5: No (n = 427, err = 6.6%)
## |   |   |   |   |   |   |   |   |   |   [46] pressure_3pm > 1007.5: No (n = 2654, err = 1.4%)
## |   |   |   |   |   |   |   |   [47] wind_gust_speed > 46
## |   |   |   |   |   |   |   |   |   [48] wind_gust_dir <= NW: No (n = 1186, err = 3.3%)
## |   |   |   |   |   |   |   |   |   [49] wind_gust_dir > NW: No (n = 83, err = 14.5%)
## |   |   |   |   |   |   |   [50] humidity_3pm > 21
## |   |   |   |   |   |   |   |   [51] wind_gust_speed <= 37
## |   |   |   |   |   |   |   |   |   [52] sunshine <= 9.5: No (n = 1460, err = 3.4%)
## |   |   |   |   |   |   |   |   |   [53] sunshine > 9.5: No (n = 719, err = 0.3%)
## |   |   |   |   |   |   |   |   [54] wind_gust_speed > 37
## |   |   |   |   |   |   |   |   |   [55] wind_dir_9am <= ENE: No (n = 1090, err = 11.8%)
## |   |   |   |   |   |   |   |   |   [56] wind_dir_9am > ENE
## |   |   |   |   |   |   |   |   |   |   [57] wind_speed_9am <= 2: No (n = 55, err = 12.7%)
## |   |   |   |   |   |   |   |   |   |   [58] wind_speed_9am > 2
## |   |   |   |   |   |   |   |   |   |   |   [59] temp_3pm <= 33.4
## |   |   |   |   |   |   |   |   |   |   |   |   [60] cloud_9am <= 7: No (n = 1622, err = 1.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   [61] cloud_9am > 7: No (n = 51, err = 11.8%)
## |   |   |   |   |   |   |   |   |   |   |   [62] temp_3pm > 33.4
## |   |   |   |   |   |   |   |   |   |   |   |   [63] wind_dir_9am <= WNW: No (n = 215, err = 4.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   [64] wind_dir_9am > WNW: No (n = 42, err = 21.4%)
## |   |   |   |   |   |   [65] humidity_3pm > 30
## |   |   |   |   |   |   |   [66] pressure_3pm <= 1007.3
## |   |   |   |   |   |   |   |   [67] cloud_3pm <= 2
## |   |   |   |   |   |   |   |   |   [68] pressure_3pm <= 1000.7: No (n = 8, err = 50.0%)
## |   |   |   |   |   |   |   |   |   [69] pressure_3pm > 1000.7: No (n = 304, err = 6.6%)
## |   |   |   |   |   |   |   |   [70] cloud_3pm > 2
## |   |   |   |   |   |   |   |   |   [71] wind_gust_speed <= 46
## |   |   |   |   |   |   |   |   |   |   [72] wind_dir_3pm <= NE: No (n = 132, err = 31.1%)
## |   |   |   |   |   |   |   |   |   |   [73] wind_dir_3pm > NE: No (n = 824, err = 14.4%)
## |   |   |   |   |   |   |   |   |   [74] wind_gust_speed > 46: No (n = 268, err = 28.7%)
## |   |   |   |   |   |   |   [75] pressure_3pm > 1007.3
## |   |   |   |   |   |   |   |   [76] sunshine <= 9.9
## |   |   |   |   |   |   |   |   |   [77] wind_gust_speed <= 37
## |   |   |   |   |   |   |   |   |   |   [78] rain_today in No
## |   |   |   |   |   |   |   |   |   |   |   [79] pressure_3pm <= 1010.3
## |   |   |   |   |   |   |   |   |   |   |   |   [80] pressure_9am <= 1012.8: No (n = 355, err = 7.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   [81] pressure_9am > 1012.8
## |   |   |   |   |   |   |   |   |   |   |   |   |   [82] max_temp <= 30.6: No (n = 101, err = 26.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [83] max_temp > 30.6: No (n = 93, err = 4.3%)
## |   |   |   |   |   |   |   |   |   |   |   [84] pressure_3pm > 1010.3
## |   |   |   |   |   |   |   |   |   |   |   |   [85] cloud_3pm <= 6: No (n = 3579, err = 4.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   [86] cloud_3pm > 6: No (n = 193, err = 11.9%)
## |   |   |   |   |   |   |   |   |   |   [87] rain_today in Yes: No (n = 477, err = 11.5%)
## |   |   |   |   |   |   |   |   |   [88] wind_gust_speed > 37
## |   |   |   |   |   |   |   |   |   |   [89] pressure_3pm <= 1012.9
## |   |   |   |   |   |   |   |   |   |   |   [90] pressure_9am <= 1016.7
## |   |   |   |   |   |   |   |   |   |   |   |   [91] pressure_9am <= 1012.3
## |   |   |   |   |   |   |   |   |   |   |   |   |   [92] rainfall <= 8.8
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [93] min_temp <= 14.7
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [94] wind_dir_3pm <= NW: No (n = 382, err = 3.4%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [95] wind_dir_3pm > NW: No (n = 14, err = 35.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [96] min_temp > 14.7: No (n = 277, err = 12.3%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [97] rainfall > 8.8: No (n = 55, err = 29.1%)
## |   |   |   |   |   |   |   |   |   |   |   |   [98] pressure_9am > 1012.3
## |   |   |   |   |   |   |   |   |   |   |   |   |   [99] pressure_3pm <= 1010.4: No (n = 360, err = 23.6%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [100] pressure_3pm > 1010.4
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [101] wind_speed_9am <= 7
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [102] rainfall <= 1.6: No (n = 128, err = 19.5%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [103] rainfall > 1.6: Yes (n = 8, err = 12.5%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [104] wind_speed_9am > 7: No (n = 505, err = 9.7%)
## |   |   |   |   |   |   |   |   |   |   |   [105] pressure_9am > 1016.7: No (n = 96, err = 35.4%)
## |   |   |   |   |   |   |   |   |   |   [106] pressure_3pm > 1012.9
## |   |   |   |   |   |   |   |   |   |   |   [107] pressure_9am <= 1017: No (n = 603, err = 4.8%)
## |   |   |   |   |   |   |   |   |   |   |   [108] pressure_9am > 1017
## |   |   |   |   |   |   |   |   |   |   |   |   [109] max_temp <= 30.3
## |   |   |   |   |   |   |   |   |   |   |   |   |   [110] humidity_3pm <= 47: No (n = 1613, err = 7.5%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [111] humidity_3pm > 47: No (n = 357, err = 14.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   [112] max_temp > 30.3: No (n = 312, err = 19.6%)
## |   |   |   |   |   |   |   |   [113] sunshine > 9.9
## |   |   |   |   |   |   |   |   |   [114] sunshine <= 11.8
## |   |   |   |   |   |   |   |   |   |   [115] humidity_3pm <= 43: No (n = 1342, err = 2.7%)
## |   |   |   |   |   |   |   |   |   |   [116] humidity_3pm > 43
## |   |   |   |   |   |   |   |   |   |   |   [117] pressure_3pm <= 1008.1: No (n = 54, err = 16.7%)
## |   |   |   |   |   |   |   |   |   |   |   [118] pressure_3pm > 1008.1: No (n = 744, err = 5.8%)
## |   |   |   |   |   |   |   |   |   [119] sunshine > 11.8: No (n = 1054, err = 1.1%)
## |   |   |   |   |   [120] pressure_3pm > 1015.3
## |   |   |   |   |   |   [121] humidity_3pm <= 44
## |   |   |   |   |   |   |   [122] humidity_3pm <= 32
## |   |   |   |   |   |   |   |   [123] pressure_3pm <= 1017.2
## |   |   |   |   |   |   |   |   |   [124] max_temp <= 28.3
## |   |   |   |   |   |   |   |   |   |   [125] wind_dir_9am <= NE
## |   |   |   |   |   |   |   |   |   |   |   [126] wind_speed_9am <= 9: No (n = 128, err = 1.6%)
## |   |   |   |   |   |   |   |   |   |   |   [127] wind_speed_9am > 9: No (n = 130, err = 16.9%)
## |   |   |   |   |   |   |   |   |   |   [128] wind_dir_9am > NE: No (n = 901, err = 1.3%)
## |   |   |   |   |   |   |   |   |   [129] max_temp > 28.3
## |   |   |   |   |   |   |   |   |   |   [130] rainfall <= 0.6: No (n = 1175, err = 0.4%)
## |   |   |   |   |   |   |   |   |   |   [131] rainfall > 0.6: No (n = 12, err = 8.3%)
## |   |   |   |   |   |   |   |   [132] pressure_3pm > 1017.2: No (n = 5905, err = 0.6%)
## |   |   |   |   |   |   |   [133] humidity_3pm > 32
## |   |   |   |   |   |   |   |   [134] pressure_3pm <= 1019.7
## |   |   |   |   |   |   |   |   |   [135] sunshine <= 9.5
## |   |   |   |   |   |   |   |   |   |   [136] wind_dir_9am <= E
## |   |   |   |   |   |   |   |   |   |   |   [137] cloud_3pm <= 4: No (n = 198, err = 14.1%)
## |   |   |   |   |   |   |   |   |   |   |   [138] cloud_3pm > 4
## |   |   |   |   |   |   |   |   |   |   |   |   [139] min_temp <= 8.4
## |   |   |   |   |   |   |   |   |   |   |   |   |   [140] wind_dir_3pm <= N: No (n = 51, err = 9.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [141] wind_dir_3pm > N: No (n = 344, err = 1.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [142] min_temp > 8.4: No (n = 367, err = 8.7%)
## |   |   |   |   |   |   |   |   |   |   [143] wind_dir_9am > E: No (n = 1489, err = 2.9%)
## |   |   |   |   |   |   |   |   |   [144] sunshine > 9.5: No (n = 1306, err = 1.2%)
## |   |   |   |   |   |   |   |   [145] pressure_3pm > 1019.7
## |   |   |   |   |   |   |   |   |   [146] wind_gust_speed <= 46: No (n = 4361, err = 1.2%)
## |   |   |   |   |   |   |   |   |   [147] wind_gust_speed > 46
## |   |   |   |   |   |   |   |   |   |   [148] wind_speed_9am <= 4: No (n = 12, err = 33.3%)
## |   |   |   |   |   |   |   |   |   |   [149] wind_speed_9am > 4: No (n = 239, err = 2.5%)
## |   |   |   |   |   |   [150] humidity_3pm > 44
## |   |   |   |   |   |   |   [151] pressure_3pm <= 1018.8
## |   |   |   |   |   |   |   |   [152] wind_dir_9am <= ENE: No (n = 410, err = 12.7%)
## |   |   |   |   |   |   |   |   [153] wind_dir_9am > ENE
## |   |   |   |   |   |   |   |   |   [154] sunshine <= 9.7: No (n = 954, err = 7.0%)
## |   |   |   |   |   |   |   |   |   [155] sunshine > 9.7
## |   |   |   |   |   |   |   |   |   |   [156] temp_9am <= 24.5: No (n = 386, err = 1.3%)
## |   |   |   |   |   |   |   |   |   |   [157] temp_9am > 24.5
## |   |   |   |   |   |   |   |   |   |   |   [158] cloud_3pm <= 2: No (n = 28, err = 0.0%)
## |   |   |   |   |   |   |   |   |   |   |   [159] cloud_3pm > 2: No (n = 17, err = 41.2%)
## |   |   |   |   |   |   |   [160] pressure_3pm > 1018.8
## |   |   |   |   |   |   |   |   [161] cloud_3pm <= 7
## |   |   |   |   |   |   |   |   |   [162] wind_gust_speed <= 33: No (n = 2060, err = 1.9%)
## |   |   |   |   |   |   |   |   |   [163] wind_gust_speed > 33
## |   |   |   |   |   |   |   |   |   |   [164] rain_today in No: No (n = 1223, err = 3.3%)
## |   |   |   |   |   |   |   |   |   |   [165] rain_today in Yes
## |   |   |   |   |   |   |   |   |   |   |   [166] sunshine <= 8.5: No (n = 98, err = 17.3%)
## |   |   |   |   |   |   |   |   |   |   |   [167] sunshine > 8.5: No (n = 90, err = 0.0%)
## |   |   |   |   |   |   |   |   [168] cloud_3pm > 7: No (n = 108, err = 11.1%)
## |   |   |   [169] wind_gust_speed > 52
## |   |   |   |   [170] sunshine <= 7.7
## |   |   |   |   |   [171] pressure_3pm <= 1006.1
## |   |   |   |   |   |   [172] humidity_3pm <= 45
## |   |   |   |   |   |   |   [173] sunshine <= 4.7: Yes (n = 161, err = 41.6%)
## |   |   |   |   |   |   |   [174] sunshine > 4.7: No (n = 300, err = 38.3%)
## |   |   |   |   |   |   [175] humidity_3pm > 45: Yes (n = 101, err = 34.7%)
## |   |   |   |   |   [176] pressure_3pm > 1006.1
## |   |   |   |   |   |   [177] pressure_3pm <= 1019.8
## |   |   |   |   |   |   |   [178] humidity_3pm <= 38
## |   |   |   |   |   |   |   |   [179] wind_dir_3pm <= ENE: No (n = 135, err = 40.7%)
## |   |   |   |   |   |   |   |   [180] wind_dir_3pm > ENE: No (n = 284, err = 21.1%)
## |   |   |   |   |   |   |   [181] humidity_3pm > 38: No (n = 491, err = 38.7%)
## |   |   |   |   |   |   [182] pressure_3pm > 1019.8: No (n = 76, err = 11.8%)
## |   |   |   |   [183] sunshine > 7.7
## |   |   |   |   |   [184] pressure_3pm <= 1009.7
## |   |   |   |   |   |   [185] humidity_3pm <= 23
## |   |   |   |   |   |   |   [186] wind_gust_speed <= 74
## |   |   |   |   |   |   |   |   [187] humidity_3pm <= 13: No (n = 557, err = 5.2%)
## |   |   |   |   |   |   |   |   [188] humidity_3pm > 13
## |   |   |   |   |   |   |   |   |   [189] sunshine <= 10.4
## |   |   |   |   |   |   |   |   |   |   [190] wind_dir_9am <= E: No (n = 281, err = 24.9%)
## |   |   |   |   |   |   |   |   |   |   [191] wind_dir_9am > E: No (n = 281, err = 12.1%)
## |   |   |   |   |   |   |   |   |   [192] sunshine > 10.4: No (n = 207, err = 5.8%)
## |   |   |   |   |   |   |   [193] wind_gust_speed > 74: No (n = 207, err = 24.2%)
## |   |   |   |   |   |   [194] humidity_3pm > 23
## |   |   |   |   |   |   |   [195] sunshine <= 10.3
## |   |   |   |   |   |   |   |   [196] wind_dir_9am <= S
## |   |   |   |   |   |   |   |   |   [197] wind_gust_speed <= 85
## |   |   |   |   |   |   |   |   |   |   [198] wind_dir_3pm <= SE: No (n = 275, err = 49.5%)
## |   |   |   |   |   |   |   |   |   |   [199] wind_dir_3pm > SE
## |   |   |   |   |   |   |   |   |   |   |   [200] wind_dir_3pm <= NW
## |   |   |   |   |   |   |   |   |   |   |   |   [201] wind_speed_3pm <= 19: No (n = 74, err = 43.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [202] wind_speed_3pm > 19: No (n = 285, err = 22.1%)
## |   |   |   |   |   |   |   |   |   |   |   [203] wind_dir_3pm > NW: Yes (n = 93, err = 48.4%)
## |   |   |   |   |   |   |   |   |   [204] wind_gust_speed > 85: Yes (n = 45, err = 28.9%)
## |   |   |   |   |   |   |   |   [205] wind_dir_9am > S
## |   |   |   |   |   |   |   |   |   [206] humidity_9am <= 55
## |   |   |   |   |   |   |   |   |   |   [207] humidity_3pm <= 42
## |   |   |   |   |   |   |   |   |   |   |   [208] temp_3pm <= 26.3: No (n = 359, err = 8.9%)
## |   |   |   |   |   |   |   |   |   |   |   [209] temp_3pm > 26.3: No (n = 57, err = 28.1%)
## |   |   |   |   |   |   |   |   |   |   [210] humidity_3pm > 42
## |   |   |   |   |   |   |   |   |   |   |   [211] rainfall <= 4.8: No (n = 69, err = 21.7%)
## |   |   |   |   |   |   |   |   |   |   |   [212] rainfall > 4.8: Yes (n = 7, err = 0.0%)
## |   |   |   |   |   |   |   |   |   [213] humidity_9am > 55
## |   |   |   |   |   |   |   |   |   |   [214] wind_gust_speed <= 69
## |   |   |   |   |   |   |   |   |   |   |   [215] sunshine <= 9.2: No (n = 284, err = 22.2%)
## |   |   |   |   |   |   |   |   |   |   |   [216] sunshine > 9.2: Yes (n = 42, err = 47.6%)
## |   |   |   |   |   |   |   |   |   |   [217] wind_gust_speed > 69
## |   |   |   |   |   |   |   |   |   |   |   [218] pressure_3pm <= 1005.3: Yes (n = 78, err = 35.9%)
## |   |   |   |   |   |   |   |   |   |   |   [219] pressure_3pm > 1005.3: No (n = 50, err = 30.0%)
## |   |   |   |   |   |   |   [220] sunshine > 10.3
## |   |   |   |   |   |   |   |   [221] humidity_9am <= 49: No (n = 136, err = 5.1%)
## |   |   |   |   |   |   |   |   [222] humidity_9am > 49
## |   |   |   |   |   |   |   |   |   [223] wind_gust_speed <= 81: No (n = 157, err = 15.3%)
## |   |   |   |   |   |   |   |   |   [224] wind_gust_speed > 81: Yes (n = 14, err = 42.9%)
## |   |   |   |   |   [225] pressure_3pm > 1009.7
## |   |   |   |   |   |   [226] sunshine <= 9.1
## |   |   |   |   |   |   |   [227] wind_gust_speed <= 63
## |   |   |   |   |   |   |   |   [228] wind_speed_9am <= 20
## |   |   |   |   |   |   |   |   |   [229] rainfall <= 15.2
## |   |   |   |   |   |   |   |   |   |   [230] humidity_3pm <= 21: No (n = 234, err = 6.0%)
## |   |   |   |   |   |   |   |   |   |   [231] humidity_3pm > 21
## |   |   |   |   |   |   |   |   |   |   |   [232] temp_3pm <= 25.9
## |   |   |   |   |   |   |   |   |   |   |   |   [233] cloud_3pm <= 5: No (n = 467, err = 8.6%)
## |   |   |   |   |   |   |   |   |   |   |   |   [234] cloud_3pm > 5
## |   |   |   |   |   |   |   |   |   |   |   |   |   [235] cloud_9am <= 2: Yes (n = 14, err = 28.6%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [236] cloud_9am > 2: No (n = 44, err = 18.2%)
## |   |   |   |   |   |   |   |   |   |   |   [237] temp_3pm > 25.9: No (n = 179, err = 29.6%)
## |   |   |   |   |   |   |   |   |   [238] rainfall > 15.2: Yes (n = 17, err = 35.3%)
## |   |   |   |   |   |   |   |   [239] wind_speed_9am > 20
## |   |   |   |   |   |   |   |   |   [240] wind_dir_9am <= NE: No (n = 196, err = 18.9%)
## |   |   |   |   |   |   |   |   |   [241] wind_dir_9am > NE: No (n = 826, err = 5.0%)
## |   |   |   |   |   |   |   [242] wind_gust_speed > 63
## |   |   |   |   |   |   |   |   [243] temp_3pm <= 27.7
## |   |   |   |   |   |   |   |   |   [244] humidity_3pm <= 40: No (n = 340, err = 9.4%)
## |   |   |   |   |   |   |   |   |   [245] humidity_3pm > 40: No (n = 188, err = 20.7%)
## |   |   |   |   |   |   |   |   [246] temp_3pm > 27.7
## |   |   |   |   |   |   |   |   |   [247] humidity_3pm <= 24: No (n = 93, err = 23.7%)
## |   |   |   |   |   |   |   |   |   [248] humidity_3pm > 24: Yes (n = 72, err = 40.3%)
## |   |   |   |   |   |   [249] sunshine > 9.1
## |   |   |   |   |   |   |   [250] rain_today in No
## |   |   |   |   |   |   |   |   [251] cloud_3pm <= 3: No (n = 885, err = 2.1%)
## |   |   |   |   |   |   |   |   [252] cloud_3pm > 3
## |   |   |   |   |   |   |   |   |   [253] wind_gust_dir <= SW: No (n = 409, err = 3.9%)
## |   |   |   |   |   |   |   |   |   [254] wind_gust_dir > SW
## |   |   |   |   |   |   |   |   |   |   [255] wind_dir_3pm <= NNE: Yes (n = 8, err = 12.5%)
## |   |   |   |   |   |   |   |   |   |   [256] wind_dir_3pm > NNE: No (n = 119, err = 6.7%)
## |   |   |   |   |   |   |   [257] rain_today in Yes: No (n = 125, err = 12.8%)
## |   |   [258] humidity_3pm > 50
## |   |   |   [259] wind_gust_speed <= 48
## |   |   |   |   [260] rain_today in No
## |   |   |   |   |   [261] pressure_3pm <= 1011.8
## |   |   |   |   |   |   [262] sunshine <= 6.7
## |   |   |   |   |   |   |   [263] humidity_3pm <= 68
## |   |   |   |   |   |   |   |   [264] wind_gust_speed <= 33: No (n = 294, err = 28.2%)
## |   |   |   |   |   |   |   |   [265] wind_gust_speed > 33: No (n = 544, err = 40.3%)
## |   |   |   |   |   |   |   [266] humidity_3pm > 68: Yes (n = 161, err = 43.5%)
## |   |   |   |   |   |   [267] sunshine > 6.7
## |   |   |   |   |   |   |   [268] cloud_3pm <= 2
## |   |   |   |   |   |   |   |   [269] pressure_3pm <= 1008.6
## |   |   |   |   |   |   |   |   |   [270] min_temp <= 10.3: Yes (n = 16, err = 37.5%)
## |   |   |   |   |   |   |   |   |   [271] min_temp > 10.3: No (n = 416, err = 12.5%)
## |   |   |   |   |   |   |   |   [272] pressure_3pm > 1008.6
## |   |   |   |   |   |   |   |   |   [273] sunshine <= 9.6: No (n = 185, err = 11.4%)
## |   |   |   |   |   |   |   |   |   [274] sunshine > 9.6: No (n = 473, err = 3.0%)
## |   |   |   |   |   |   |   [275] cloud_3pm > 2
## |   |   |   |   |   |   |   |   [276] humidity_9am <= 74
## |   |   |   |   |   |   |   |   |   [277] humidity_3pm <= 57
## |   |   |   |   |   |   |   |   |   |   [278] wind_gust_dir <= SSW
## |   |   |   |   |   |   |   |   |   |   |   [279] humidity_3pm <= 51
## |   |   |   |   |   |   |   |   |   |   |   |   [280] rainfall <= 0.2
## |   |   |   |   |   |   |   |   |   |   |   |   |   [281] max_temp <= 36
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [282] cloud_3pm <= 6
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [283] min_temp <= 24.4: No (n = 456, err = 1.3%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [284] min_temp > 24.4: No (n = 7, err = 42.9%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [285] cloud_3pm > 6: No (n = 16, err = 25.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [286] max_temp > 36
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [287] evaporation <= 6.2: No (n = 22, err = 50.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [288] evaporation > 6.2: No (n = 58, err = 5.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [289] rainfall > 0.2: No (n = 9, err = 44.4%)
## |   |   |   |   |   |   |   |   |   |   |   [290] humidity_3pm > 51: No (n = 522, err = 14.0%)
## |   |   |   |   |   |   |   |   |   |   [291] wind_gust_dir > SSW
## |   |   |   |   |   |   |   |   |   |   |   [292] wind_gust_speed <= 37: No (n = 253, err = 10.3%)
## |   |   |   |   |   |   |   |   |   |   |   [293] wind_gust_speed > 37
## |   |   |   |   |   |   |   |   |   |   |   |   [294] cloud_9am <= 5: No (n = 259, err = 23.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [295] cloud_9am > 5: Yes (n = 74, err = 44.6%)
## |   |   |   |   |   |   |   |   |   [296] humidity_3pm > 57
## |   |   |   |   |   |   |   |   |   |   [297] wind_speed_3pm <= 11: No (n = 119, err = 38.7%)
## |   |   |   |   |   |   |   |   |   |   [298] wind_speed_3pm > 11
## |   |   |   |   |   |   |   |   |   |   |   [299] wind_dir_3pm <= SW
## |   |   |   |   |   |   |   |   |   |   |   |   [300] humidity_9am <= 52: No (n = 77, err = 5.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [301] humidity_9am > 52
## |   |   |   |   |   |   |   |   |   |   |   |   |   [302] wind_speed_3pm <= 20
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [303] wind_gust_speed <= 37
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [304] pressure_9am <= 1005.6: Yes (n = 13, err = 38.5%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [305] pressure_9am > 1005.6: No (n = 332, err = 19.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [306] wind_gust_speed > 37: No (n = 108, err = 36.1%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [307] wind_speed_3pm > 20: No (n = 494, err = 16.4%)
## |   |   |   |   |   |   |   |   |   |   |   [308] wind_dir_3pm > SW
## |   |   |   |   |   |   |   |   |   |   |   |   [309] evaporation <= 5: No (n = 120, err = 45.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   [310] evaporation > 5: No (n = 132, err = 24.2%)
## |   |   |   |   |   |   |   |   [311] humidity_9am > 74
## |   |   |   |   |   |   |   |   |   [312] wind_gust_speed <= 30: No (n = 285, err = 22.1%)
## |   |   |   |   |   |   |   |   |   [313] wind_gust_speed > 30
## |   |   |   |   |   |   |   |   |   |   [314] pressure_3pm <= 1005.9: No (n = 192, err = 49.5%)
## |   |   |   |   |   |   |   |   |   |   [315] pressure_3pm > 1005.9
## |   |   |   |   |   |   |   |   |   |   |   [316] max_temp <= 21.3: No (n = 223, err = 43.5%)
## |   |   |   |   |   |   |   |   |   |   |   [317] max_temp > 21.3: No (n = 484, err = 25.8%)
## |   |   |   |   |   [318] pressure_3pm > 1011.8
## |   |   |   |   |   |   [319] sunshine <= 4.3
## |   |   |   |   |   |   |   [320] pressure_3pm <= 1022
## |   |   |   |   |   |   |   |   [321] humidity_3pm <= 64
## |   |   |   |   |   |   |   |   |   [322] wind_dir_9am <= ESE: No (n = 408, err = 29.9%)
## |   |   |   |   |   |   |   |   |   [323] wind_dir_9am > ESE
## |   |   |   |   |   |   |   |   |   |   [324] humidity_3pm <= 59: No (n = 416, err = 13.7%)
## |   |   |   |   |   |   |   |   |   |   [325] humidity_3pm > 59: No (n = 233, err = 24.5%)
## |   |   |   |   |   |   |   |   [326] humidity_3pm > 64: No (n = 517, err = 35.6%)
## |   |   |   |   |   |   |   [327] pressure_3pm > 1022
## |   |   |   |   |   |   |   |   [328] wind_gust_speed <= 28
## |   |   |   |   |   |   |   |   |   [329] temp_3pm <= 19.6: No (n = 431, err = 3.9%)
## |   |   |   |   |   |   |   |   |   [330] temp_3pm > 19.6: No (n = 19, err = 31.6%)
## |   |   |   |   |   |   |   |   [331] wind_gust_speed > 28: No (n = 533, err = 14.6%)
## |   |   |   |   |   |   [332] sunshine > 4.3
## |   |   |   |   |   |   |   [333] pressure_3pm <= 1023
## |   |   |   |   |   |   |   |   [334] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   |   [335] humidity_3pm <= 66
## |   |   |   |   |   |   |   |   |   |   [336] sunshine <= 9
## |   |   |   |   |   |   |   |   |   |   |   [337] rainfall <= 0.3
## |   |   |   |   |   |   |   |   |   |   |   |   [338] wind_dir_3pm <= WSW
## |   |   |   |   |   |   |   |   |   |   |   |   |   [339] humidity_9am <= 56: No (n = 984, err = 5.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [340] humidity_9am > 56
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [341] wind_gust_speed <= 37
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [342] humidity_3pm <= 56: No (n = 1623, err = 5.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [343] humidity_3pm > 56: No (n = 2148, err = 9.5%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [344] wind_gust_speed > 37
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [345] rainfall <= 0: No (n = 3438, err = 10.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   [346] rainfall > 0: No (n = 342, err = 17.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   [347] wind_dir_3pm > WSW
## |   |   |   |   |   |   |   |   |   |   |   |   |   [348] wind_gust_speed <= 28: No (n = 446, err = 8.5%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [349] wind_gust_speed > 28
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [350] wind_dir_9am <= N: No (n = 239, err = 28.5%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   |   [351] wind_dir_9am > N: No (n = 710, err = 15.2%)
## |   |   |   |   |   |   |   |   |   |   |   [352] rainfall > 0.3
## |   |   |   |   |   |   |   |   |   |   |   |   [353] pressure_3pm <= 1016.6: No (n = 611, err = 20.8%)
## |   |   |   |   |   |   |   |   |   |   |   |   [354] pressure_3pm > 1016.6: No (n = 483, err = 12.6%)
## |   |   |   |   |   |   |   |   |   |   [355] sunshine > 9
## |   |   |   |   |   |   |   |   |   |   |   [356] pressure_9am <= 1015.2: No (n = 200, err = 10.5%)
## |   |   |   |   |   |   |   |   |   |   |   [357] pressure_9am > 1015.2
## |   |   |   |   |   |   |   |   |   |   |   |   [358] sunshine <= 10.4: No (n = 1013, err = 5.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   [359] sunshine > 10.4: No (n = 1214, err = 1.9%)
## |   |   |   |   |   |   |   |   |   [360] humidity_3pm > 66
## |   |   |   |   |   |   |   |   |   |   [361] wind_dir_3pm <= SSW
## |   |   |   |   |   |   |   |   |   |   |   [362] rainfall <= 0: No (n = 1052, err = 13.4%)
## |   |   |   |   |   |   |   |   |   |   |   [363] rainfall > 0: No (n = 305, err = 22.6%)
## |   |   |   |   |   |   |   |   |   |   [364] wind_dir_3pm > SSW
## |   |   |   |   |   |   |   |   |   |   |   [365] temp_9am <= 10.9: No (n = 175, err = 14.9%)
## |   |   |   |   |   |   |   |   |   |   |   [366] temp_9am > 10.9: No (n = 246, err = 36.2%)
## |   |   |   |   |   |   |   |   [367] cloud_3pm > 5
## |   |   |   |   |   |   |   |   |   [368] humidity_3pm <= 66
## |   |   |   |   |   |   |   |   |   |   [369] sunshine <= 9.6
## |   |   |   |   |   |   |   |   |   |   |   [370] wind_gust_speed <= 35
## |   |   |   |   |   |   |   |   |   |   |   |   [371] wind_dir_9am <= ESE: No (n = 510, err = 19.2%)
## |   |   |   |   |   |   |   |   |   |   |   |   [372] wind_dir_9am > ESE: No (n = 762, err = 11.2%)
## |   |   |   |   |   |   |   |   |   |   |   [373] wind_gust_speed > 35
## |   |   |   |   |   |   |   |   |   |   |   |   [374] wind_speed_9am <= 13: No (n = 604, err = 23.5%)
## |   |   |   |   |   |   |   |   |   |   |   |   [375] wind_speed_9am > 13
## |   |   |   |   |   |   |   |   |   |   |   |   |   [376] wind_dir_9am <= NE: No (n = 100, err = 40.0%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [377] wind_dir_9am > NE: No (n = 646, err = 13.0%)
## |   |   |   |   |   |   |   |   |   |   [378] sunshine > 9.6: No (n = 203, err = 6.4%)
## |   |   |   |   |   |   |   |   |   [379] humidity_3pm > 66: No (n = 617, err = 24.3%)
## |   |   |   |   |   |   |   [380] pressure_3pm > 1023
## |   |   |   |   |   |   |   |   [381] temp_9am <= 12.4
## |   |   |   |   |   |   |   |   |   [382] wind_gust_speed <= 24: No (n = 1378, err = 2.2%)
## |   |   |   |   |   |   |   |   |   [383] wind_gust_speed > 24
## |   |   |   |   |   |   |   |   |   |   [384] pressure_3pm <= 1026.2
## |   |   |   |   |   |   |   |   |   |   |   [385] humidity_3pm <= 65: No (n = 637, err = 5.5%)
## |   |   |   |   |   |   |   |   |   |   |   [386] humidity_3pm > 65: No (n = 127, err = 14.2%)
## |   |   |   |   |   |   |   |   |   |   [387] pressure_3pm > 1026.2
## |   |   |   |   |   |   |   |   |   |   |   [388] wind_dir_9am <= SSW: No (n = 634, err = 1.6%)
## |   |   |   |   |   |   |   |   |   |   |   [389] wind_dir_9am > SSW: No (n = 337, err = 6.8%)
## |   |   |   |   |   |   |   |   [390] temp_9am > 12.4
## |   |   |   |   |   |   |   |   |   [391] wind_gust_speed <= 28
## |   |   |   |   |   |   |   |   |   |   [392] humidity_3pm <= 60: No (n = 363, err = 2.5%)
## |   |   |   |   |   |   |   |   |   |   [393] humidity_3pm > 60: No (n = 253, err = 8.7%)
## |   |   |   |   |   |   |   |   |   [394] wind_gust_speed > 28
## |   |   |   |   |   |   |   |   |   |   [395] cloud_3pm <= 2: No (n = 258, err = 3.9%)
## |   |   |   |   |   |   |   |   |   |   [396] cloud_3pm > 2: No (n = 1172, err = 11.3%)
## |   |   |   |   [397] rain_today in Yes
## |   |   |   |   |   [398] pressure_3pm <= 1013.9
## |   |   |   |   |   |   [399] sunshine <= 8.9
## |   |   |   |   |   |   |   [400] wind_gust_speed <= 37
## |   |   |   |   |   |   |   |   [401] humidity_3pm <= 61
## |   |   |   |   |   |   |   |   |   [402] cloud_3pm <= 6: No (n = 397, err = 23.9%)
## |   |   |   |   |   |   |   |   |   [403] cloud_3pm > 6: No (n = 121, err = 37.2%)
## |   |   |   |   |   |   |   |   [404] humidity_3pm > 61
## |   |   |   |   |   |   |   |   |   [405] humidity_9am <= 74: No (n = 141, err = 29.1%)
## |   |   |   |   |   |   |   |   |   [406] humidity_9am > 74: No (n = 567, err = 47.6%)
## |   |   |   |   |   |   |   [407] wind_gust_speed > 37
## |   |   |   |   |   |   |   |   [408] humidity_9am <= 75
## |   |   |   |   |   |   |   |   |   [409] cloud_3pm <= 5: No (n = 254, err = 31.9%)
## |   |   |   |   |   |   |   |   |   [410] cloud_3pm > 5: No (n = 222, err = 50.0%)
## |   |   |   |   |   |   |   |   [411] humidity_9am > 75
## |   |   |   |   |   |   |   |   |   [412] pressure_3pm <= 1001.6: Yes (n = 66, err = 22.7%)
## |   |   |   |   |   |   |   |   |   [413] pressure_3pm > 1001.6: Yes (n = 856, err = 48.7%)
## |   |   |   |   |   |   [414] sunshine > 8.9: No (n = 414, err = 22.0%)
## |   |   |   |   |   [415] pressure_3pm > 1013.9
## |   |   |   |   |   |   [416] wind_gust_speed <= 33
## |   |   |   |   |   |   |   [417] min_temp <= 11.2
## |   |   |   |   |   |   |   |   [418] pressure_3pm <= 1018.1
## |   |   |   |   |   |   |   |   |   [419] temp_9am <= 15.7: No (n = 323, err = 18.3%)
## |   |   |   |   |   |   |   |   |   [420] temp_9am > 15.7: No (n = 20, err = 50.0%)
## |   |   |   |   |   |   |   |   [421] pressure_3pm > 1018.1
## |   |   |   |   |   |   |   |   |   [422] wind_gust_speed <= 24: No (n = 327, err = 4.6%)
## |   |   |   |   |   |   |   |   |   [423] wind_gust_speed > 24
## |   |   |   |   |   |   |   |   |   |   [424] humidity_9am <= 88: No (n = 367, err = 7.6%)
## |   |   |   |   |   |   |   |   |   |   [425] humidity_9am > 88: No (n = 313, err = 19.8%)
## |   |   |   |   |   |   |   [426] min_temp > 11.2
## |   |   |   |   |   |   |   |   [427] sunshine <= 2.7: No (n = 94, err = 43.6%)
## |   |   |   |   |   |   |   |   [428] sunshine > 2.7
## |   |   |   |   |   |   |   |   |   [429] humidity_3pm <= 61: No (n = 470, err = 13.0%)
## |   |   |   |   |   |   |   |   |   [430] humidity_3pm > 61: No (n = 492, err = 26.2%)
## |   |   |   |   |   |   [431] wind_gust_speed > 33
## |   |   |   |   |   |   |   [432] humidity_9am <= 82
## |   |   |   |   |   |   |   |   [433] humidity_3pm <= 63
## |   |   |   |   |   |   |   |   |   [434] sunshine <= 8.9: No (n = 1436, err = 23.9%)
## |   |   |   |   |   |   |   |   |   [435] sunshine > 8.9: No (n = 188, err = 8.0%)
## |   |   |   |   |   |   |   |   [436] humidity_3pm > 63: No (n = 588, err = 34.5%)
## |   |   |   |   |   |   |   [437] humidity_9am > 82
## |   |   |   |   |   |   |   |   [438] temp_3pm <= 17.8
## |   |   |   |   |   |   |   |   |   [439] rainfall <= 5
## |   |   |   |   |   |   |   |   |   |   [440] humidity_3pm <= 61: No (n = 187, err = 11.8%)
## |   |   |   |   |   |   |   |   |   |   [441] humidity_3pm > 61: No (n = 289, err = 29.1%)
## |   |   |   |   |   |   |   |   |   [442] rainfall > 5
## |   |   |   |   |   |   |   |   |   |   [443] sunshine <= 5.6: Yes (n = 101, err = 43.6%)
## |   |   |   |   |   |   |   |   |   |   [444] sunshine > 5.6: No (n = 264, err = 33.3%)
## |   |   |   |   |   |   |   |   [445] temp_3pm > 17.8: No (n = 835, err = 44.3%)
## |   |   |   [446] wind_gust_speed > 48
## |   |   |   |   [447] pressure_3pm <= 1011.6
## |   |   |   |   |   [448] sunshine <= 8
## |   |   |   |   |   |   [449] humidity_3pm <= 60: Yes (n = 654, err = 40.4%)
## |   |   |   |   |   |   [450] humidity_3pm > 60
## |   |   |   |   |   |   |   [451] wind_gust_speed <= 67: Yes (n = 502, err = 30.9%)
## |   |   |   |   |   |   |   [452] wind_gust_speed > 67
## |   |   |   |   |   |   |   |   [453] wind_gust_dir <= ENE: Yes (n = 32, err = 43.8%)
## |   |   |   |   |   |   |   |   [454] wind_gust_dir > ENE: Yes (n = 169, err = 8.9%)
## |   |   |   |   |   [455] sunshine > 8
## |   |   |   |   |   |   [456] humidity_9am <= 76
## |   |   |   |   |   |   |   [457] wind_dir_3pm <= SSW
## |   |   |   |   |   |   |   |   [458] cloud_3pm <= 5
## |   |   |   |   |   |   |   |   |   [459] wind_gust_dir <= SSW
## |   |   |   |   |   |   |   |   |   |   [460] humidity_3pm <= 53: No (n = 140, err = 10.0%)
## |   |   |   |   |   |   |   |   |   |   [461] humidity_3pm > 53: No (n = 332, err = 27.7%)
## |   |   |   |   |   |   |   |   |   [462] wind_gust_dir > SSW: No (n = 87, err = 41.4%)
## |   |   |   |   |   |   |   |   [463] cloud_3pm > 5
## |   |   |   |   |   |   |   |   |   [464] wind_speed_3pm <= 15: Yes (n = 21, err = 28.6%)
## |   |   |   |   |   |   |   |   |   [465] wind_speed_3pm > 15: No (n = 123, err = 39.0%)
## |   |   |   |   |   |   |   [466] wind_dir_3pm > SSW
## |   |   |   |   |   |   |   |   [467] rain_today in No
## |   |   |   |   |   |   |   |   |   [468] humidity_3pm <= 57: No (n = 210, err = 33.3%)
## |   |   |   |   |   |   |   |   |   [469] humidity_3pm > 57: Yes (n = 174, err = 45.4%)
## |   |   |   |   |   |   |   |   [470] rain_today in Yes: Yes (n = 233, err = 38.6%)
## |   |   |   |   |   |   [471] humidity_9am > 76
## |   |   |   |   |   |   |   [472] rain_today in No
## |   |   |   |   |   |   |   |   [473] wind_gust_dir <= WSW: No (n = 134, err = 41.0%)
## |   |   |   |   |   |   |   |   [474] wind_gust_dir > WSW: Yes (n = 139, err = 33.1%)
## |   |   |   |   |   |   |   [475] rain_today in Yes: Yes (n = 511, err = 32.1%)
## |   |   |   |   [476] pressure_3pm > 1011.6
## |   |   |   |   |   [477] rain_today in No
## |   |   |   |   |   |   [478] humidity_3pm <= 63
## |   |   |   |   |   |   |   [479] wind_gust_speed <= 56
## |   |   |   |   |   |   |   |   [480] sunshine <= 8: No (n = 351, err = 24.8%)
## |   |   |   |   |   |   |   |   [481] sunshine > 8
## |   |   |   |   |   |   |   |   |   [482] wind_speed_3pm <= 20: No (n = 205, err = 21.5%)
## |   |   |   |   |   |   |   |   |   [483] wind_speed_3pm > 20: No (n = 753, err = 10.5%)
## |   |   |   |   |   |   |   [484] wind_gust_speed > 56
## |   |   |   |   |   |   |   |   [485] wind_gust_dir <= WNW
## |   |   |   |   |   |   |   |   |   [486] rainfall <= 0
## |   |   |   |   |   |   |   |   |   |   [487] wind_speed_3pm <= 28: No (n = 237, err = 31.2%)
## |   |   |   |   |   |   |   |   |   |   [488] wind_speed_3pm > 28: No (n = 389, err = 17.2%)
## |   |   |   |   |   |   |   |   |   [489] rainfall > 0: No (n = 187, err = 35.3%)
## |   |   |   |   |   |   |   |   [490] wind_gust_dir > WNW: Yes (n = 77, err = 48.1%)
## |   |   |   |   |   |   [491] humidity_3pm > 63
## |   |   |   |   |   |   |   [492] wind_dir_3pm <= WSW
## |   |   |   |   |   |   |   |   [493] rainfall <= 0
## |   |   |   |   |   |   |   |   |   [494] sunshine <= 6.9
## |   |   |   |   |   |   |   |   |   |   [495] cloud_9am <= 6: Yes (n = 54, err = 42.6%)
## |   |   |   |   |   |   |   |   |   |   [496] cloud_9am > 6: No (n = 76, err = 27.6%)
## |   |   |   |   |   |   |   |   |   [497] sunshine > 6.9
## |   |   |   |   |   |   |   |   |   |   [498] wind_gust_speed <= 57
## |   |   |   |   |   |   |   |   |   |   |   [499] wind_speed_3pm <= 17: No (n = 26, err = 42.3%)
## |   |   |   |   |   |   |   |   |   |   |   [500] wind_speed_3pm > 17: No (n = 302, err = 14.9%)
## |   |   |   |   |   |   |   |   |   |   [501] wind_gust_speed > 57: No (n = 108, err = 35.2%)
## |   |   |   |   |   |   |   |   [502] rainfall > 0: No (n = 231, err = 39.8%)
## |   |   |   |   |   |   |   [503] wind_dir_3pm > WSW: Yes (n = 165, err = 48.5%)
## |   |   |   |   |   [504] rain_today in Yes
## |   |   |   |   |   |   [505] humidity_9am <= 83
## |   |   |   |   |   |   |   [506] humidity_3pm <= 63
## |   |   |   |   |   |   |   |   [507] rainfall <= 8
## |   |   |   |   |   |   |   |   |   [508] pressure_3pm <= 1018: No (n = 362, err = 33.7%)
## |   |   |   |   |   |   |   |   |   [509] pressure_3pm > 1018: No (n = 241, err = 18.7%)
## |   |   |   |   |   |   |   |   [510] rainfall > 8
## |   |   |   |   |   |   |   |   |   [511] wind_gust_speed <= 57: No (n = 155, err = 36.8%)
## |   |   |   |   |   |   |   |   |   [512] wind_gust_speed > 57: Yes (n = 123, err = 43.9%)
## |   |   |   |   |   |   |   [513] humidity_3pm > 63: No (n = 470, err = 48.9%)
## |   |   |   |   |   |   [514] humidity_9am > 83
## |   |   |   |   |   |   |   [515] temp_9am <= 9: No (n = 140, err = 38.6%)
## |   |   |   |   |   |   |   [516] temp_9am > 9: Yes (n = 448, err = 36.8%)
## |   [517] humidity_3pm > 71
## |   |   [518] humidity_3pm <= 82
## |   |   |   [519] wind_gust_speed <= 43
## |   |   |   |   [520] rain_today in No
## |   |   |   |   |   [521] cloud_3pm <= 6
## |   |   |   |   |   |   [522] pressure_3pm <= 1019.6
## |   |   |   |   |   |   |   [523] sunshine <= 8.7
## |   |   |   |   |   |   |   |   [524] rainfall <= 0
## |   |   |   |   |   |   |   |   |   [525] wind_dir_3pm <= S
## |   |   |   |   |   |   |   |   |   |   [526] sunshine <= 2.8: No (n = 36, err = 47.2%)
## |   |   |   |   |   |   |   |   |   |   [527] sunshine > 2.8
## |   |   |   |   |   |   |   |   |   |   |   [528] wind_speed_3pm <= 15: No (n = 420, err = 24.8%)
## |   |   |   |   |   |   |   |   |   |   |   [529] wind_speed_3pm > 15
## |   |   |   |   |   |   |   |   |   |   |   |   [530] temp_3pm <= 11.3: Yes (n = 12, err = 41.7%)
## |   |   |   |   |   |   |   |   |   |   |   |   [531] temp_3pm > 11.3
## |   |   |   |   |   |   |   |   |   |   |   |   |   [532] humidity_9am <= 67: No (n = 84, err = 33.3%)
## |   |   |   |   |   |   |   |   |   |   |   |   |   [533] humidity_9am > 67: No (n = 468, err = 13.0%)
## |   |   |   |   |   |   |   |   |   [534] wind_dir_3pm > S: No (n = 350, err = 34.0%)
## |   |   |   |   |   |   |   |   [535] rainfall > 0: No (n = 524, err = 34.5%)
## |   |   |   |   |   |   |   [536] sunshine > 8.7: No (n = 175, err = 6.3%)
## |   |   |   |   |   |   [537] pressure_3pm > 1019.6
## |   |   |   |   |   |   |   [538] wind_gust_speed <= 26: No (n = 369, err = 9.2%)
## |   |   |   |   |   |   |   [539] wind_gust_speed > 26: No (n = 542, err = 18.5%)
## |   |   |   |   |   [540] cloud_3pm > 6
## |   |   |   |   |   |   [541] pressure_3pm <= 1019.3
## |   |   |   |   |   |   |   [542] pressure_3pm <= 1008.6: Yes (n = 200, err = 34.5%)
## |   |   |   |   |   |   |   [543] pressure_3pm > 1008.6
## |   |   |   |   |   |   |   |   [544] humidity_9am <= 74
## |   |   |   |   |   |   |   |   |   [545] sunshine <= 5.3: Yes (n = 124, err = 31.5%)
## |   |   |   |   |   |   |   |   |   [546] sunshine > 5.3: No (n = 151, err = 42.4%)
## |   |   |   |   |   |   |   |   [547] humidity_9am > 74: No (n = 672, err = 41.4%)
## |   |   |   |   |   |   [548] pressure_3pm > 1019.3
## |   |   |   |   |   |   |   [549] max_temp <= 24.2
## |   |   |   |   |   |   |   |   [550] humidity_3pm <= 76
## |   |   |   |   |   |   |   |   |   [551] max_temp <= 19.4: No (n = 314, err = 15.3%)
## |   |   |   |   |   |   |   |   |   [552] max_temp > 19.4: No (n = 72, err = 31.9%)
## |   |   |   |   |   |   |   |   [553] humidity_3pm > 76: No (n = 256, err = 34.0%)
## |   |   |   |   |   |   |   [554] max_temp > 24.2: Yes (n = 15, err = 26.7%)
## |   |   |   |   [555] rain_today in Yes
## |   |   |   |   |   [556] pressure_3pm <= 1013.8
## |   |   |   |   |   |   [557] cloud_9am <= 6
## |   |   |   |   |   |   |   [558] sunshine <= 8.8: Yes (n = 458, err = 44.1%)
## |   |   |   |   |   |   |   [559] sunshine > 8.8: No (n = 37, err = 27.0%)
## |   |   |   |   |   |   [560] cloud_9am > 6: Yes (n = 586, err = 31.4%)
## |   |   |   |   |   [561] pressure_3pm > 1013.8
## |   |   |   |   |   |   [562] wind_gust_speed <= 28
## |   |   |   |   |   |   |   [563] temp_9am <= 14.9: No (n = 334, err = 23.7%)
## |   |   |   |   |   |   |   [564] temp_9am > 14.9: No (n = 179, err = 46.4%)
## |   |   |   |   |   |   [565] wind_gust_speed > 28
## |   |   |   |   |   |   |   [566] min_temp <= 5.7: No (n = 133, err = 26.3%)
## |   |   |   |   |   |   |   [567] min_temp > 5.7
## |   |   |   |   |   |   |   |   [568] humidity_3pm <= 75: No (n = 496, err = 45.0%)
## |   |   |   |   |   |   |   |   [569] humidity_3pm > 75: Yes (n = 610, err = 44.4%)
## |   |   |   [570] wind_gust_speed > 43
## |   |   |   |   [571] rain_today in No
## |   |   |   |   |   [572] sunshine <= 8.4
## |   |   |   |   |   |   [573] humidity_3pm <= 73: Yes (n = 142, err = 49.3%)
## |   |   |   |   |   |   [574] humidity_3pm > 73
## |   |   |   |   |   |   |   [575] pressure_3pm <= 1010: Yes (n = 177, err = 14.7%)
## |   |   |   |   |   |   |   [576] pressure_3pm > 1010: Yes (n = 339, err = 35.1%)
## |   |   |   |   |   [577] sunshine > 8.4
## |   |   |   |   |   |   [578] wind_gust_speed <= 57
## |   |   |   |   |   |   |   [579] wind_speed_3pm <= 22
## |   |   |   |   |   |   |   |   [580] rainfall <= 0.2: No (n = 338, err = 42.0%)
## |   |   |   |   |   |   |   |   [581] rainfall > 0.2: Yes (n = 64, err = 32.8%)
## |   |   |   |   |   |   |   [582] wind_speed_3pm > 22
## |   |   |   |   |   |   |   |   [583] temp_3pm <= 19.5
## |   |   |   |   |   |   |   |   |   [584] pressure_3pm <= 1013.1: Yes (n = 70, err = 35.7%)
## |   |   |   |   |   |   |   |   |   [585] pressure_3pm > 1013.1: No (n = 198, err = 32.3%)
## |   |   |   |   |   |   |   |   [586] temp_3pm > 19.5
## |   |   |   |   |   |   |   |   |   [587] humidity_3pm <= 74: No (n = 158, err = 14.6%)
## |   |   |   |   |   |   |   |   |   [588] humidity_3pm > 74: No (n = 243, err = 29.6%)
## |   |   |   |   |   |   [589] wind_gust_speed > 57: Yes (n = 395, err = 43.3%)
## |   |   |   |   [590] rain_today in Yes
## |   |   |   |   |   [591] wind_gust_speed <= 57
## |   |   |   |   |   |   [592] sunshine <= 3: Yes (n = 257, err = 21.8%)
## |   |   |   |   |   |   [593] sunshine > 3
## |   |   |   |   |   |   |   [594] wind_speed_3pm <= 30
## |   |   |   |   |   |   |   |   [595] humidity_3pm <= 79: Yes (n = 639, err = 36.3%)
## |   |   |   |   |   |   |   |   [596] humidity_3pm > 79: Yes (n = 195, err = 24.1%)
## |   |   |   |   |   |   |   [597] wind_speed_3pm > 30: No (n = 191, err = 47.1%)
## |   |   |   |   |   [598] wind_gust_speed > 57
## |   |   |   |   |   |   [599] pressure_3pm <= 1015
## |   |   |   |   |   |   |   [600] temp_9am <= 17: Yes (n = 354, err = 8.8%)
## |   |   |   |   |   |   |   [601] temp_9am > 17
## |   |   |   |   |   |   |   |   [602] temp_3pm <= 24.9: Yes (n = 92, err = 33.7%)
## |   |   |   |   |   |   |   |   [603] temp_3pm > 24.9: Yes (n = 67, err = 10.4%)
## |   |   |   |   |   |   [604] pressure_3pm > 1015: Yes (n = 205, err = 26.3%)
## |   |   [605] humidity_3pm > 82
## |   |   |   [606] pressure_3pm <= 1015.1
## |   |   |   |   [607] humidity_3pm <= 86
## |   |   |   |   |   [608] cloud_3pm <= 6
## |   |   |   |   |   |   [609] temp_3pm <= 18.2
## |   |   |   |   |   |   |   [610] pressure_3pm <= 1009.5: Yes (n = 123, err = 8.9%)
## |   |   |   |   |   |   |   [611] pressure_3pm > 1009.5: Yes (n = 138, err = 26.8%)
## |   |   |   |   |   |   [612] temp_3pm > 18.2
## |   |   |   |   |   |   |   [613] rain_today in No
## |   |   |   |   |   |   |   |   [614] humidity_9am <= 81: Yes (n = 77, err = 40.3%)
## |   |   |   |   |   |   |   |   [615] humidity_9am > 81: No (n = 95, err = 31.6%)
## |   |   |   |   |   |   |   [616] rain_today in Yes: Yes (n = 124, err = 31.5%)
## |   |   |   |   |   [617] cloud_3pm > 6
## |   |   |   |   |   |   [618] wind_gust_speed <= 50: Yes (n = 499, err = 23.2%)
## |   |   |   |   |   |   [619] wind_gust_speed > 50
## |   |   |   |   |   |   |   [620] rain_today in No: Yes (n = 133, err = 17.3%)
## |   |   |   |   |   |   |   [621] rain_today in Yes: Yes (n = 161, err = 5.6%)
## |   |   |   |   [622] humidity_3pm > 86
## |   |   |   |   |   [623] rain_today in No
## |   |   |   |   |   |   [624] temp_3pm <= 28.9
## |   |   |   |   |   |   |   [625] sunshine <= 8.5
## |   |   |   |   |   |   |   |   [626] humidity_9am <= 99
## |   |   |   |   |   |   |   |   |   [627] temp_3pm <= 22.3
## |   |   |   |   |   |   |   |   |   |   [628] wind_dir_9am <= ESE: Yes (n = 529, err = 7.2%)
## |   |   |   |   |   |   |   |   |   |   [629] wind_dir_9am > ESE: Yes (n = 476, err = 14.9%)
## |   |   |   |   |   |   |   |   |   [630] temp_3pm > 22.3
## |   |   |   |   |   |   |   |   |   |   [631] max_temp <= 27.6: Yes (n = 54, err = 48.1%)
## |   |   |   |   |   |   |   |   |   |   [632] max_temp > 27.6: Yes (n = 115, err = 13.9%)
## |   |   |   |   |   |   |   |   [633] humidity_9am > 99: Yes (n = 69, err = 39.1%)
## |   |   |   |   |   |   |   [634] sunshine > 8.5: No (n = 13, err = 23.1%)
## |   |   |   |   |   |   [635] temp_3pm > 28.9: No (n = 23, err = 8.7%)
## |   |   |   |   |   [636] rain_today in Yes
## |   |   |   |   |   |   [637] humidity_3pm <= 91
## |   |   |   |   |   |   |   [638] wind_gust_speed <= 46
## |   |   |   |   |   |   |   |   [639] sunshine <= 7.6: Yes (n = 251, err = 8.4%)
## |   |   |   |   |   |   |   |   [640] sunshine > 7.6: Yes (n = 200, err = 24.5%)
## |   |   |   |   |   |   |   [641] wind_gust_speed > 46: Yes (n = 439, err = 6.2%)
## |   |   |   |   |   |   [642] humidity_3pm > 91: Yes (n = 1263, err = 4.4%)
## |   |   |   [643] pressure_3pm > 1015.1
## |   |   |   |   [644] min_temp <= 5.6
## |   |   |   |   |   [645] rain_today in No
## |   |   |   |   |   |   [646] humidity_3pm <= 88
## |   |   |   |   |   |   |   [647] max_temp <= 14.3: No (n = 207, err = 21.7%)
## |   |   |   |   |   |   |   [648] max_temp > 14.3: Yes (n = 39, err = 38.5%)
## |   |   |   |   |   |   [649] humidity_3pm > 88
## |   |   |   |   |   |   |   [650] cloud_3pm <= 6
## |   |   |   |   |   |   |   |   [651] wind_gust_dir <= W
## |   |   |   |   |   |   |   |   |   [652] temp_9am <= 5.9
## |   |   |   |   |   |   |   |   |   |   [653] wind_speed_3pm <= 22: No (n = 167, err = 22.8%)
## |   |   |   |   |   |   |   |   |   |   [654] wind_speed_3pm > 22: Yes (n = 42, err = 45.2%)
## |   |   |   |   |   |   |   |   |   [655] temp_9am > 5.9: Yes (n = 75, err = 44.0%)
## |   |   |   |   |   |   |   |   [656] wind_gust_dir > W
## |   |   |   |   |   |   |   |   |   [657] humidity_3pm <= 96: No (n = 36, err = 41.7%)
## |   |   |   |   |   |   |   |   |   [658] humidity_3pm > 96: Yes (n = 48, err = 12.5%)
## |   |   |   |   |   |   |   [659] cloud_3pm > 6
## |   |   |   |   |   |   |   |   [660] pressure_3pm <= 1024.9: Yes (n = 86, err = 20.9%)
## |   |   |   |   |   |   |   |   [661] pressure_3pm > 1024.9: No (n = 27, err = 22.2%)
## |   |   |   |   |   [662] rain_today in Yes
## |   |   |   |   |   |   [663] rainfall <= 3.2: No (n = 165, err = 46.1%)
## |   |   |   |   |   |   [664] rainfall > 3.2: Yes (n = 305, err = 30.5%)
## |   |   |   |   [665] min_temp > 5.6
## |   |   |   |   |   [666] rain_today in No
## |   |   |   |   |   |   [667] humidity_9am <= 87
## |   |   |   |   |   |   |   [668] humidity_3pm <= 88: Yes (n = 432, err = 37.0%)
## |   |   |   |   |   |   |   [669] humidity_3pm > 88
## |   |   |   |   |   |   |   |   [670] wind_gust_dir <= ESE: Yes (n = 130, err = 7.7%)
## |   |   |   |   |   |   |   |   [671] wind_gust_dir > ESE: Yes (n = 330, err = 24.2%)
## |   |   |   |   |   |   [672] humidity_9am > 87
## |   |   |   |   |   |   |   [673] humidity_3pm <= 93
## |   |   |   |   |   |   |   |   [674] pressure_3pm <= 1019.5: Yes (n = 234, err = 43.6%)
## |   |   |   |   |   |   |   |   [675] pressure_3pm > 1019.5
## |   |   |   |   |   |   |   |   |   [676] wind_gust_speed <= 41: No (n = 158, err = 26.6%)
## |   |   |   |   |   |   |   |   |   [677] wind_gust_speed > 41: Yes (n = 36, err = 38.9%)
## |   |   |   |   |   |   |   [678] humidity_3pm > 93
## |   |   |   |   |   |   |   |   [679] wind_dir_3pm <= W: Yes (n = 201, err = 36.3%)
## |   |   |   |   |   |   |   |   [680] wind_dir_3pm > W: Yes (n = 44, err = 11.4%)
## |   |   |   |   |   [681] rain_today in Yes
## |   |   |   |   |   |   [682] humidity_3pm <= 90
## |   |   |   |   |   |   |   [683] wind_gust_speed <= 31: Yes (n = 272, err = 37.1%)
## |   |   |   |   |   |   |   [684] wind_gust_speed > 31
## |   |   |   |   |   |   |   |   [685] rainfall <= 12: Yes (n = 533, err = 23.5%)
## |   |   |   |   |   |   |   |   [686] rainfall > 12: Yes (n = 225, err = 7.6%)
## |   |   |   |   |   |   [687] humidity_3pm > 90
## |   |   |   |   |   |   |   [688] min_temp <= 9.6: Yes (n = 281, err = 19.9%)
## |   |   |   |   |   |   |   [689] min_temp > 9.6: Yes (n = 765, err = 8.4%)
## 
## Number of inner nodes:    344
## Number of terminal nodes: 345


Your donation will support ongoing development and give you access to the PDF version of the 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.