fixup_target_levels_prediction_classif: Fix target levels

View source: R/LearnerClassifKeras.R

fixup_target_levels_prediction_classifR Documentation

Fix target levels

Description

Fix target levels

Usage

fixup_target_levels_prediction_classif(prob, task, out = "response")

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/mlr3keras documentation built on April 12, 2022, 11:35 a.m.