fixup_target_levels_prediction_classif: Fix target levels

Description Usage Arguments Value

View source: R/LearnerMultioutputKeras.R

Description

Fix target levels

Usage

1
2
3
4
5
6
fixup_target_levels_prediction_classif(
  prob,
  task,
  out = "response",
  threshold = 0.5
)

Arguments

prob

numeric
The prediction to fix levels for.

task

Task
The Task to create prediction from.

out

character
Output type, either "response" or "prob".

Value

A PredictionClassif


mlr-org/mlr3multioutput documentation built on Nov. 22, 2020, 1:17 p.m.