ML Metrics Suite (RMSE, Log Loss, ROC AUC, MCC, Kappa)

Choose regression, classifier or agreement, paste actual values and predictions or two annotators' labels, and get the standard metrics.

브라우저에서 실행됩니다. 파일은 기기 밖으로 나가지 않습니다. 확인하는 방법 보기

…

사용 방법

  1. 1
    Choose the task

    Regression, classifier or agreement.

  2. 2
    Paste actual values

    Or first annotator.

  3. 3
    Paste predictions

    Or second annotator.

  4. 4
    Set threshold

    For classifiers.

  5. 5
    Read the metrics

    And compare models.

이 도구 소개

Accuracy alone rarely tells you how good a model is. Regression models are judged by how large their errors are; classifiers by how well their scores rank positives above negatives and how well calibrated their probabilities are; and labelled datasets by how much annotators agree beyond chance. This suite computes the standard metrics from pasted columns: RMSE, MAE, MAPE and R² for regression; ROC AUC, log loss, Brier score, accuracy and Matthews correlation for binary classifiers; and Cohen's kappa for agreement between two labellers.

Who this is for

Data scientists, students, analysts checking a model's report, and teams creating labelled datasets.

Regression

MSE = mean of squared errors; RMSE is its square root, in the original units. MAE = mean absolute error, less sensitive to outliers. MAPE = mean absolute percentage error. R² = 1 − SSE / SST, the share of variance explained.

ROC AUC

AUC is the probability that a randomly chosen positive gets a higher score than a randomly chosen negative. It is computed exactly from ranks (the Mann-Whitney method), with ties shared. 0.5 is random; 1.0 is perfect ranking.

Log loss and Brier score

Log loss = −mean(y ln p + (1 − y) ln(1 − p)) punishes confident wrong predictions heavily. The Brier score is the mean squared error of probabilities. Both reward well-calibrated probabilities.

Thresholded metrics

At your threshold, the confusion counts give accuracy and the Matthews correlation coefficient, a balanced measure that stays meaningful when classes are imbalanced.

Cohen's kappa

Kappa = (observed agreement − chance agreement) / (1 − chance agreement). Landis and Koch's bands: below 0.2 slight, 0.2 to 0.4 fair, 0.4 to 0.6 moderate, 0.6 to 0.8 substantial and above 0.8 almost perfect.

A worked example

Ten labels with predicted probabilities give AUC 0.96, log loss 0.38, accuracy 0.80, MCC 0.60 and Brier 0.113 at a 0.5 threshold.

## Choosing a metric Choose the metric before looking at results. For forecasting money or quantities, MAE is easy to explain; RMSE suits cases where large errors are especially costly. For ranking and screening, AUC shows how well scores separate classes regardless of threshold. When probabilities feed decisions, log loss and Brier score show whether they can be trusted.

Imbalanced data

With 95% negatives, a model that always predicts negative scores 95% accuracy yet is useless. MCC, AUC and precision-recall measures reveal this; accuracy alone does not.

Reading kappa carefully

Kappa depends on how common each label is, so compare values only between similar tasks.

## Pasting data Paste values separated by commas, spaces or new lines, copied straight from a spreadsheet column. Both columns must have the same length and be in the same order. For classifiers, actual labels are 0 or 1 and predictions are probabilities of class 1. For agreement, any text or numeric labels work, such as yes and no.

Limits

Metrics on small samples are noisy; use cross-validation and confidence intervals for decisions. This is general information, not professional advice.

풀이 예시

Ten predictions give ROC AUC 0.96 and log loss 0.38.

한눈에 보기

자주 묻는 질문

What is a good AUC?

It depends on the problem; 0.5 is random and 1.0 perfect.

RMSE or MAE?

RMSE penalises large errors more; MAE is more robust to outliers.

Why use MCC?

It stays informative with imbalanced classes.

What does kappa measure?

Agreement between two labellers beyond chance.

What does log loss reward?

Confident, correct and well-calibrated probabilities.

Is my data stored?

No. It stays in your browser.

완전 무료요금 없음, 가입 없음
파일은 비공개로 유지됩니다모든 작업이 브라우저 안에서 이루어집니다
내 언어로 쉽게여러 언어로 제공