mlr_tasks_lazy_iris {mlr3torch}R Documentation

Iris Classification Task

Description

A classification task for the popular datasets::iris data set. Just like the iris task, but the features are represented as one lazy tensor column.

Format

R6::R6Class inheriting from mlr3::TaskClassif.

Construction

tsk("lazy_iris")

Properties

Source

https://en.wikipedia.org/wiki/Iris_flower_data_set

References

Anderson E (1936). “The Species Problem in Iris.” Annals of the Missouri Botanical Garden, 23(3), 457. doi:10.2307/2394164.

Examples


task = tsk("lazy_iris")
task
df = task$data()
materialize(df$x[1:6], rbind = TRUE)


[Package mlr3torch version 0.1.0 Index]