Fix target levels

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