CalcWorldHub
Free online calculators · no signup

Evaluate models, predictions and datasets

Match a metric to the decision and the data you have. Classification scores depend on the positive class and threshold; prediction metrics use different error penalties, while ranking and clustering measures answer separate questions.

Browse all Data science tools
Choose by task

Choose a data science calculator

Match the metric to the task: thresholded classification, numeric prediction, ranking or clustering.

Evaluate binary classifiers

Precision focuses on predicted positives; recall focuses on actual positives. Compare both with an F-score when balancing the tradeoff.

Measure prediction error and uncertainty

Use squared-error metrics when larger residuals should carry more weight; interval coverage pairs the hit rate with interval width.

Assess ranking and grouping

Ranking metrics account for order and relevance; clustering agreement compares partitions against reference labels.

Common question

How do precision and recall differ?

Precision is the share of predicted positives that are truly positive. Recall is the share of actual positives the model identifies. A threshold change can move the two in opposite directions, so choose based on the relative cost of false positives and false negatives.

All data science tools

Browse all 53 calculators in this topic. Open a tool for its inputs, method and limitations.

Search all 53 Data science calculators.

All 53 Data science calculators are listed below.

Classification precision calculatorFind the share of positive predictions that are correct.Classification recall calculatorFind the share of actual positives detected by a model.Classification specificity calculatorFind the share of actual negatives correctly identified.Balanced accuracy calculatorAverage sensitivity and specificity for imbalanced classes.F1 score calculatorCombine precision and recall using their harmonic mean.False positive rate calculatorMeasure actual negatives incorrectly labeled positive.False negative rate calculatorMeasure actual positives missed by a classifier.Matthews correlation coefficient calculatorSummarize binary classification quality across all four confusion-matrix cells.Log-cosh loss calculatorCompute a smooth robust loss from four prediction residuals.Mean squared error calculatorAverage squared residuals for four predictions.Root mean squared error calculatorReturn prediction error to the original measurement scale.Cosine vector similarity calculatorCompare vector direction independently of overall magnitude using cosine similarity.Minkowski vector distance calculatorMeasure a p-norm distance, including Manhattan p=1 and Euclidean p=2, between equal-length vectors.Set overlap similarity comparison calculatorCompare Jaccard, Dice, overlap coefficient, and asymmetric Tversky similarity on the same two sets.Discrete probability distribution comparison calculatorCompare aligned discrete distributions using normalized weights and three complementary divergence measures.Empirical one dimensional Wasserstein distance calculatorMeasure the one-dimensional earth-mover distance between two equally weighted empirical samples, even of different sizes.Two dimensional Mahalanobis distance calculatorMeasure a two-feature point’s distance from a reference mean using its covariance geometry.Stable softmax probabilities calculatorConvert arbitrary class scores to a probability vector using a numerically stable softmax and temperature.Logistic regression feature score calculatorEvaluate a fitted binary logistic model for one feature vector using its coefficients and intercept.Multiclass cross entropy with label smoothing calculatorEvaluate one multiclass prediction with optional uniform label smoothing.One k means assignment and update calculatorRun one visible two-dimensional Lloyd iteration and inspect the updated centers and assignment error.Two feature principal components calculatorCenter two measured features, compute their sample covariance matrix, and find the principal variance directions.Two dimensional k nearest neighbors calculatorClassify a two-feature query by unweighted nearest-neighbor voting with deterministic ties.Decision tree split information gain calculatorCompare entropy and Gini reduction for a binary split from aligned class counts.Ordinal weighted Cohen kappa calculatorAssess ordinal agreement with linear or quadratic penalties for category separation.ROC AUC from binary scores calculatorEvaluate ranking discrimination directly from labeled binary prediction scores.Average precision from binary scores calculatorCompute noninterpolated average precision from a precision–recall threshold sweep.Two dimensional internal cluster quality calculatorEvaluate the geometry of an entered clustering using center scatter, between/within variance, and pointwise silhouette.Clustering label agreement scores calculatorCompare two partitions of the same items without requiring their label names to match.Expected calibration error equal width bins calculatorCompare positive-class probabilities with observed event frequencies in equal-width bins.Token sequence perplexity calculatorSummarize a model’s assigned probability to an observed token sequence as geometric inverse likelihood.Micro and macro F1 score calculatorCompute micro-averaged and macro-averaged F1 from per-class true-positive, false-positive, and false-negative counts.Class imbalance ratio calculatorCompare the largest and smallest class counts in a two-class dataset before model evaluation.Top-k accuracy calculatorCalculate the share of evaluated examples whose correct class appears among the model's top k predictions.Balanced class weights calculatorCompute inverse-frequency sample weights for two classes using the balanced class-weight convention.Fleiss kappa multiple-rater agreement calculatorMeasure chance-corrected nominal agreement when several raters classify the same items.Mean Poisson Deviance CalculatorEvaluate paired nonnegative count targets and positive predictions with the mean Poisson deviance loss.Mean Pinball Loss CalculatorEvaluate quantile predictions with an asymmetric loss that penalizes under- and overestimates differently.Normalized Discounted Cumulative Gain (NDCG@k) CalculatorScore a ranked result list using graded relevance, rank discounting, and an ideal-order normalization.Mean Absolute Scaled Error (MASE) CalculatorCompare forecast errors with a naïve or seasonal-naïve baseline computed from the training series.Explained Variance Score CalculatorCompare prediction residual variation with target variation to calculate an explained-variance score.Binary Hinge Loss CalculatorCalculate average hinge loss from binary class labels and raw decision scores.Top-K Cumulative Gain and Lift CalculatorMeasure how many positive outcomes appear in a ranked top-K group compared with random selection.Krippendorff Alpha for Nominal Ratings CalculatorMeasure chance-corrected nominal agreement across multiple raters, allowing different items to have missing ratings.Research h-Index CalculatorCalculate a research h-index from a list of per-publication citation counts.AIC, AICc and BIC Model Comparison CalculatorCompute likelihood-based AIC, small-sample AICc, and BIC from a model log-likelihood and parameter count.Global Moran's I Spatial Autocorrelation CalculatorCalculate global Moran’s I from observations and a supplied spatial-weights matrix.Prediction Interval Coverage and Width CalculatorMeasure empirical prediction-interval coverage and average width from actual values and matching lower and upper bounds.Population Stability Index (PSI) CalculatorCalculate population stability index from positive baseline and observed bin shares.Maximum Calibration Error (MCE) CalculatorCalculate maximum calibration error from empirical accuracy and confidence in matched bins.Test-Retest Standard Error of Measurement CalculatorEstimate classical test-retest score measurement error from a score standard deviation and a matching reliability coefficient.Dataset Train-Test Split Count CalculatorEstimate integer training and test sample counts from a dataset size and test fraction.Binary Log Loss over Prediction Cohort CalculatorCalculate mean binary log loss from actual labels and predicted positive-class probabilities.

Using these estimates

Each tool explains its formula and limitations. Confirm inputs against reliable source data before using a result for an important decision.

Also browse the full topic directory.