Learn R Programming

mlr3 (version 0.12.0)

mlr_tasks_penguins: Palmer Penguins Data Set

Description

Classification data to predict the species of penguins from the palmerpenguins package, see palmerpenguins::penguins. A better alternative to the iris data set.

Arguments

Format

R6::R6Class inheriting from TaskClassif.

Construction

mlr_tasks$get("penguins")
tsk("penguins")

Meta Information

  • Task type: “classif”

  • Dimensions: 344x8

  • Properties: “multiclass”

  • Has Missings: TRUE

  • Target: “species”

  • Features: “bill_depth”, “bill_length”, “body_mass”, “flipper_length”, “island”, “sex”, “year”

Pre-processing

  • The unit of measurement have been removed from the column names. Lengths are given in millimeters (mm), weight in gram (g).

References

Gorman KB, Williams TD, Fraser WR (2014). “Ecological Sexual Dimorphism and Environmental Variability within a Community of Antarctic Penguins (Genus Pygoscelis).” PLoS ONE, 9(3), e90081. 10.1371/journal.pone.0090081.

https://github.com/allisonhorst/palmerpenguins

See Also

  • Chapter in the mlr3book: https://mlr3book.mlr-org.com/tasks.html

  • Package mlr3data for more toy tasks.

  • Package mlr3oml for downloading tasks from https://openml.org.

  • Package mlr3viz for some generic visualizations.

  • Dictionary of Tasks: mlr_tasks

  • as.data.table(mlr_tasks) for a table of available Tasks in the running session (depending on the loaded packages).

  • Extension packages for additional task types:

    • mlr3proba for probabilistic supervised regression and survival analysis.

    • mlr3cluster for unsupervised clustering.

Other Task: TaskClassif, TaskRegr, TaskSupervised, TaskUnsupervised, Task, mlr_tasks_boston_housing, mlr_tasks_breast_cancer, mlr_tasks_german_credit, mlr_tasks_iris, mlr_tasks_mtcars, mlr_tasks_pima, mlr_tasks_sonar, mlr_tasks_spam, mlr_tasks_wine, mlr_tasks_zoo, mlr_tasks