21.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: 134001 
## Number of predictors: 20 
## 
## Number of Rules: 210 
## 
## Non-standard options: attempt to group attributes
C5imp(model)
##                 Overall
## humidity_3pm     100.00
## wind_gust_speed   49.66
## rainfall          45.48
## pressure_3pm      40.91
## cloud_9am         33.37
## cloud_3pm         32.45
## sunshine          28.52
## temp_3pm          18.60
## min_temp          17.81
## rain_today        17.73
## humidity_9am      15.31
## temp_9am          13.08
## wind_gust_dir     10.77
## evaporation        8.42
## pressure_9am       8.36
## wind_speed_3pm     7.43
## max_temp           6.79
## wind_dir_9am       5.41
## wind_dir_3pm       4.83
## wind_speed_9am     3.49


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.