Updated Machine Learning Templates for R

As I work on practicing and solving machine learning (ML) problems, I find myself repeating a set of steps and activities repeatedly.

Thanks to Dr. Jason Brownlee’s suggestions on creating a machine learning template, I have pulled together a set of project templates that can be used to support regression ML problems using R.

Version 5 of the templates contain several minor adjustments and corrections to address discrepancies in the prevision versions of the template.

The new templates also standardized the dataframes used in the script as follow:

originalDataset: This dataframe contains the original data imported from the data source.

xy_train: Training dataframe that has the attributes and the target/class variable.

x_train: Training dataframe that has the attributes only.

y_train: Training dataframe that has the target/class variable only.

xy_test: Test dataframe that has the attributes and the target/class variable.

x_test: Test dataframe that has the attributes only.

y_test: Test dataframe that has the target/class variable only.

You will find the R templates from the Machine Learning Project Templates page.