write_learner_template: Generate a file containing a template 'sl3' Learner

View source: R/utils.R

write_learner_templateR Documentation

Generate a file containing a template sl3 Learner

Description

Generates a template file that can be used to write new sl3 Learners. For more information, see the Defining New Learners vignette.

Usage

write_learner_template(file)

Arguments

file

the path where the file should be written

Value

the return from file.copy. TRUE if writing the template was successful.


tlverse/sl3 documentation built on Nov. 18, 2024, 12:46 a.m.