Sensitivity Calculator for Machine Learning

Measure recall, specificity, precision, F1 score, threshold tradeoffs, confidence intervals, multiclass performance, and confusion matrix results with clear steps and exports for model evaluation.

Calculator Inputs

Confusion Matrix Counts

Label Lists and Multiclass Analysis

Enter comma-separated labels. A CSV may contain actual and predicted columns.

Probability Threshold Analysis

Use binary actual labels and matching positive-class probabilities.

Multiple Model Comparison

Enter one model per line using: Model,TP,FN,FP,TN.


Business and Risk Costs

Formula Used

Sensitivity = TP ÷ (TP + FN)

Specificity = TN ÷ (TN + FP)

Precision = TP ÷ (TP + FP)

F1 Score = 2 × Precision × Recall ÷ (Precision + Recall)

How to Use

  1. Select a calculation mode.
  2. Enter confusion counts, labels, probabilities, or model rows.
  3. Choose confidence and precision settings.
  4. Add false-negative and false-positive costs when needed.
  5. Calculate, review the interpretation, then export your report.

Example Data

ScenarioTPFNFPTNSensitivity
Medical screening955188295.00%
Fraud detection76241218876.00%
Defect detection881299188.00%

Frequently Asked Questions

What is sensitivity in machine learning?

Sensitivity measures correctly detected positive cases. It is also called recall. Higher values mean fewer positives are missed.

How is sensitivity different from precision?

Sensitivity focuses on actual positives. Precision focuses on predicted positives. Both metrics answer different model-quality questions.

How is sensitivity different from specificity?

Sensitivity measures positive detection. Specificity measures negative rejection. Strong classifiers often balance both values.

Can sensitivity equal one hundred percent?

Yes, when every positive case is detected. False negatives must equal zero. Specificity may still be weak.

What happens when no positive cases exist?

The denominator becomes zero. Sensitivity is then undefined. Add positive examples before interpreting recall.

Which threshold gives the best sensitivity?

Lower thresholds usually increase sensitivity. They may also increase false positives. Choose thresholds using real costs.

What is macro-average sensitivity?

Macro averaging treats every class equally. It ignores class frequency. This helps reveal minority-class performance.

What is weighted-average sensitivity?

Weighted averaging uses class support. Larger classes influence the result more. It reflects overall dataset composition.

Why use a confidence interval?

A confidence interval shows estimation uncertainty. Wider intervals suggest limited sample evidence. Larger samples usually narrow intervals.

Related Calculators

Confusion Matrix CalculatorClassification Accuracy CalculatorRecall CalculatorSpecificity CalculatorFalse Positive Rate CalculatorFalse Negative Rate CalculatorMatthews Correlation Coefficient CalculatorBalanced Accuracy CalculatorLog Loss CalculatorBinary Cross-Entropy Calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.