| GenericModelFit {D2MCS} | R Documentation |
Abstract class for defining model fitting method.
Description
Template to create a recipe or
formula objects used in model training stage.
Methods
Public methods
Method new()
Method for initializing the object arguments during runtime.
Usage
GenericModelFit$new()
Method createFormula()
The function is responsible of creating a
formula for M.L. model.
Usage
GenericModelFit$createFormula(instances, class.name, simplify = TRUE)
Arguments
instancesA data.frame containing the instances used to create the recipe.
class.nameA character vector representing the name of the target class.
simplifyA logical argument defining whether the formula should be generated as simple as possible.
Returns
A formula object.
Method createRecipe()
The function is responsible of creating a
recipe for M.L. model.
Usage
GenericModelFit$createRecipe(instances, class.name)
Arguments
instancesA data.frame containing the instances used to create the recipe.
class.nameA character vector representing the name of the target class.
Returns
A object of class recipe.
Method clone()
The objects of this class are cloneable with this method.
Usage
GenericModelFit$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
See Also
[Package D2MCS version 1.0.1 Index]