Template to create a recipe
or
formula
objects used in model training stage.
new()
Method for initializing the object arguments during runtime.
GenericModelFit$new()
createFormula()
The function is responsible of creating a
formula
for M.L. model.
GenericModelFit$createFormula(instances, class.name, simplify = TRUE)
instances
A data.frame containing the instances used to create the recipe.
class.name
A character vector representing the name of the target class.
simplify
A logical argument defining whether the formula should be generated as simple as possible.
A formula
object.
createRecipe()
The function is responsible of creating a
recipe
for M.L. model.
GenericModelFit$createRecipe(instances, class.name)
instances
A data.frame containing the instances used to create the recipe.
class.name
A character vector representing the name of the target class.
A object of class recipe
.
clone()
The objects of this class are cloneable with this method.
GenericModelFit$clone(deep = FALSE)
deep
Whether to make a deep clone.
DefaultModelFit
, train