From c334e873747ffc421f080f06368fea895ab151bd Mon Sep 17 00:00:00 2001 From: Daniel Marten Date: Fri, 21 Feb 2025 13:47:19 -0500 Subject: [PATCH] Update ancestry.py more descriptive --- gnomad/sample_qc/ancestry.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnomad/sample_qc/ancestry.py b/gnomad/sample_qc/ancestry.py index 3d8e70c9..6bb62a69 100644 --- a/gnomad/sample_qc/ancestry.py +++ b/gnomad/sample_qc/ancestry.py @@ -170,7 +170,9 @@ def apply_sklearn_classification_model( raise TypeError("The supplied model is not an sklearn model!") logger.warning( - "sklearn models have different rounding behavior than ONNX models. This may lead to subtly different results around cutoffs." + "sklearn models have different rounding behavior than ONNX models. This may " + "lead to subtly different assignment results for samples around probability " + "cutoffs." ) classification = fit.predict(data_pd) probs = fit.predict_proba(data_pd)