Data Science Desktop Survival Guide
by Graham Williams
Chapter: ML Template
20200607 Having started with a template for data wrangling in Chapter 7, explored the data in Chapter 8, learnt how to transform the data in Chapter 9, and gained initial insights through visualisations in Chapter 10 we are now ready to use machine learning to build analytic models. In this chapter we develop a template for building and evaluating models. As with the data template in Chapter 7 the intention is that the template be used as the starting point for building and evaluating models.
R offers an full suite of model builders. We will use one such model builder in this chapter. A model builder is access via a function call and the arguments to the function are generally similar across different model builders. Non-the-less, each algorithm is generally implemented by different developers and so idiosyncratic differences occur.