# NOT RUN {
data("Sonar", package = "mlbench")
task = TaskClassif$new("sonar", backend = Sonar, target = "Class", positive = "M")
task$task_type
task$formula()
task$truth()
task$class_names
task$positive
# possible properties:
mlr_reflections$task_properties$classif
# }
Run the code above in your browser using DataLab