20.71 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: 192787 
## Number of predictors: 20 
## 
## Number of Rules: 269 
## 
## Non-standard options: attempt to group attributes
C5imp(model)
##                 Overall
## temp_9am         100.00
## humidity_3pm      26.28
## wind_gust_speed   23.17
## sunshine          19.77
## cloud_3pm         19.19
## rain_today        19.11
## min_temp          17.72
## pressure_3pm      13.61
## humidity_9am       9.72
## rainfall           8.90
## max_temp           7.94
## wind_speed_9am     7.16
## temp_3pm           6.95
## cloud_9am          6.69
## wind_dir_3pm       6.53
## wind_dir_9am       6.28
## wind_speed_3pm     6.25
## evaporation        5.83
## wind_gust_dir      5.18
## pressure_9am       4.36


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