Extending
This chapter gives instructions on how to extend mlr3 and its extension packages with custom objects.
The approach is always the same:
- determine the base class you want to inherit from,
- extend the class with your custom functionality,
- test your implementation
- (optionally) add new object to the respective
Dictionary
.
The chapter Create a new learner illustrates the steps needed to create a custom learner in mlr3.