Learn R Programming

MAMA (version 2.2.1)

selectAlpha: Function to select the most optimal alpha parameter

Description

Function selects the most optimal value of alpha parameter according to pAUC. For each of possible alphas the pAUC is computed as a measure of the separabilty of two distributions of similarity score: random and subsampled (prepared by function RandomScore. Alpha with maximal pAUC is selected.

Usage

selectAlpha(alpha, subsample, random)

Arguments

alpha
Vector of possible alphas
subsample
Similarity scores after subsampling
random
Similarity scores after permuting class labels

Value

A list:
alpha
selected value of alpha
pAUC
pAUC for all alphas achivied

See Also

RandomScore