augVote: Get votes from augmented data

Description Usage Arguments Value

View source: R/PSB_functions.R

Description

This function takes the augmented prediction results and votes for the consensus prediction result

Usage

1
augVote(x, no.Aug, threshold = 0.5, positive.label = 1, negative.label = 0)

Arguments

x

The vector of prediction results.

no.Aug

Number of augmented samples, includes the original sample.

threshold

The proportion of positive votes to be seen as consensus

positive.label

The positive label of the data set (used in featureMatrix function).

negative.label

The negative label of the data set (used in featureMatrix function).

Value

A vector of voted results.


ShaoxunLiu/proteinStructureBoost documentation built on Dec. 18, 2021, 1:05 p.m.