Learn R Programming

TeachNet (version 0.7.1)

transformPrediction: Transforms prediction

Description

Transforms prediction from prediction to class

Usage

transformPrediction(pred, threshold)

Arguments

pred

Prediction

threshold

A threshold up to which a prediction is class 0 or 1. A value from 0 to 1