GetSVMScale: A helper function to ground SVM predictions

Description Usage Arguments Value Examples

View source: R/Visualization.R

Description

SVM predictions are often greater than 1 or less than 0. We need to round them to make them have only two factors

Usage

1

Arguments

pred

The SVM predictions vector.

Value

The predictions, with only two factors.

Examples

1
2
# As used in GetCombinedPlot:
# pred <- GetSVMScale(pred)

orionw/BestModel documentation built on Aug. 17, 2019, 7:29 p.m.