GetFactorEqual: A quick helper function to flip the factors of 0's and 1's

Description Usage Arguments Value Examples

View source: R/Ensembling.R

Description

A quick helper function to flip the factors of 0's and 1's

Usage

1

Arguments

pred

The predictions from the model

Value

The predictions vector but in the correct format

Examples

1
2
# This function is used by GetWeightsFromTestSet It's usage is as follows:
# test.set <- GetFactorEqual(test.set)

orionw/ModelComparison documentation built on Nov. 4, 2019, 11:11 p.m.