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
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
To install the latest versions of the required R packages call
After a successful installation of all dependencies call `
to run the complete project. Alternative, use tar_make_clustermq()
to run in parallel.
tar_visnetwork()
.tar_load(<object name>)
.See the targets manual for more information on {targets}.
Other targets learning resourcesThis project uses a custom, personal structure for targets-based projects. The following bullet points outline the thoughts behind this structure.
R.utils::sourceDirectory()
instead of a for-loop to source multiple scripts/directories makes _targets.R
a bit cleaner with a minimal increase WRT to dependenciesplans/
(instead of all into _targets.R
) and splitting them up across multiple R scripts allows for a meta-level organization of targets. Including the scripts individually in _targets.R
allows to quickly comment out certain ones (which might relate to a standalone project part). This seems easier than searching for specific target which would avoid other project parts to be runpackages.R
instead of _targets.R
is for the simple reason that the name of packages.R
is very descriptive. When a new package is required, I just think "packages" in my head and grep for packages.R
to add a new package.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4