Home

Awesome

mlr3-targets

<!-- badges: start -->

renv-fixed renv-latest

<!-- badges: end -->

The goal of mlr3-targets is to show how to use the mlr3 machine-learning framework in combination with the workflow package targets.

This example project showcases a benchmark of different learners (SVM, KKNN, RF), including hyperparameter tuning, across the iris and spam datasets.

The project shows examples of

Usage

To clone this repo, execute the following

usethis::use_course("mlr-org/mlr3-targets")

To install a fixed snapshot of the required R packages call

renv::restore()

To install the latest versions of the required R packages call

renv::hydrate()

After a successful installation of all dependencies call `

tar_make()

to run the complete project. Alternative, use tar_make_clustermq() to run in parallel.

See the targets manual for more information on {targets}.

Other targets learning resources

Acknowledgements

Custom structure justification

This project uses a custom, personal structure for targets-based projects. The following bullet points outline the thoughts behind this structure.