20.72 C5.0 Rules Model

library(C50)
model <- C5.0(form, ds[tr, vars], rules=TRUE)
model
## 
## Call:
## C5.0.formula(formula=form, data=ds[tr, vars], rules=TRUE)
## 
## Rule-Based Model
## Number of samples: 158807 
## Number of predictors: 20 
## 
## Number of Rules: 206 
## 
## Non-standard options: attempt to group attributes
C5imp(model)
##                 Overall
## humidity_3pm     100.00
## rainfall          50.88
## wind_gust_speed   50.13
## pressure_3pm      48.14
## max_temp          39.47
## sunshine          23.54
## cloud_3pm         22.16
## humidity_9am      22.12
## temp_3pm          20.92
## wind_speed_3pm    12.65
## wind_speed_9am    11.92
## temp_9am          11.80
## wind_gust_dir     10.52
## pressure_9am      10.21
## wind_dir_3pm       9.89
## cloud_9am          8.76
## rain_today         7.45
## min_temp           7.27
## wind_dir_9am       6.05
## evaporation        1.76


Your donation will support ongoing availability 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-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0