LearningStrategy
LearningStrategy
Details
Represents a reusable learning strategy composed of a partner selection function,
an interaction function, and a descriptive label.
Methods
Create a new LearningStrategy
Arguments
partner_selection
Function to select the teacher (or NULL)
interaction
Function to define the interaction (or NULL)
label
A string label for this strategy
Method get_partner_selection()
Get the partner selection function
Usage
LearningStrategy$get_partner_selection()
Method get_interaction()
Get the interaction function
Usage
LearningStrategy$get_interaction()
Method get_model_step()
Get the interaction function
Usage
LearningStrategy$get_model_step()
Method get_label()
Get the strategy label
Usage
LearningStrategy$get_label()
Method clone()
The objects of this class are cloneable with this method.
Usage
LearningStrategy$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.