Skip to content

Commit

Permalink
Update ancestry.py
Browse files Browse the repository at this point in the history
more descriptive
  • Loading branch information
matren395 committed Feb 21, 2025
1 parent 7335436 commit c334e87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gnomad/sample_qc/ancestry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c334e87

Please sign in to comment.