z_score_boost_errors
- z_score_boost_errors(prob: AlignmentProblem, threshold=4, positive_only=True)[source]
Boosted z-score errors
- Parameters:
prob – Alignment problem
threshold – boosting threshold
Returns: boosted z-score errors
This function first computes normal z-scores. It then uses threshold to identify outliers. If positive_only=True (the default), only positive z-scores are considered as outliers. The identified outliers are removed when computing the means and standard deviations and the z-scores are recomputed based on the outlier-corrected mean and standard deviation.