10.9 rain demo predicting rain tomorrow

Predicting Rain Tomorrow

We now use the model to make predictions. The decision tree model is applied to a previously unseen (by the mode) random subset of the dataset of daily observations, the tuning dataset. This dataset contains 26,512 observations.

This provides an insight into the performance of the model on new/unseen data. The performance here is okay based on this dataset. Note any highlighted errors. No model is perfect.

   Actual Predicted Error
1      no        no      
2      no       yes <----
3      no       yes <----
4      no        no      
5      no        no      
6      no        no      
7      no        no      
8     yes        no <----
9      no        no      
10     no        no      
11    yes        no <----
12     no        no      


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