Skip to contents

Produce confidence score based on top 95 percent for XGBoost prediction

Usage

confidence_score_top95(vec)

Arguments

vec

A vector of predicted probability for each cell type

Value

A numeric confidence score from 0 to 1.