Skip to content

Commit

Permalink
Display accuracy as \%
Browse files Browse the repository at this point in the history
  • Loading branch information
rlacombe committed Jun 5, 2024
1 parent a002ba2 commit 03bc925
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ def print_accuracy_slope_bias_metrics(results_df, model_classification_col_names
print(f"""
---------------------------------------------------
Metric, 95% confidence interval:
Accuracy: {mean_accuracy:.3f} +/- {1.96*std_accuracy:.3f}
Slope: {mean_slope:.3f} +/- {1.96*std_slope:.3f}
Bias: {mean_bias:.3f} +/- {1.96*std_bias:.3f}
Accuracy: {100*mean_accuracy:.1f} ±{100**std_accuracy:.1f}
Slope: {mean_slope:.3f} ±{std_slope:.3f}
Bias: {mean_bias:.3f} ±{std_bias:.3f}
"""
)

Expand Down

0 comments on commit 03bc925

Please sign in to comment.