9  Supervised Learning

All supervised learning in rtemis is done using the train() function.
train() can perform:

9.1 Overview

Figure 9.1: Overview of the train() function

9.2 Conventions

  • The input dataset columns should be either numeric or factors.
  • The last column of the input data is the outcome variable.
  • If the outcome variable is numeric, regression is performed.
  • If the outcome variable is a factor, classification is performed.
  • In binary classification, the second factor level is considered the positive case.
© 2025 E.D. Gennatas