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: 123722 
## Number of predictors: 20 
## 
## Number of Rules: 204 
## 
## Non-standard options: attempt to group attributes
C5imp(model)
##                 Overall
## humidity_3pm     100.00
## pressure_3pm      53.22
## wind_gust_speed   47.86
## rainfall          44.72
## wind_dir_3pm      41.80
## cloud_3pm         31.60
## temp_3pm          30.43
## sunshine          29.96
## rain_today        29.42
## wind_speed_3pm    22.57
## cloud_9am         17.70
## wind_gust_dir     16.99
## humidity_9am      16.32
## temp_9am          14.69
## min_temp          14.40
## wind_speed_9am    12.50
## wind_dir_9am       6.33
## evaporation        4.65
## pressure_9am       1.90
## max_temp           1.08


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.