liveBook · Manning

Matthews correlation coefficient

The Matthews correlation coefficient is a binary-classification metric that measures agreement between predictions and true labels using all four confusion-matrix counts, ranging from −1 to +1.

How 2 Manning books explain it

Starting Data Analytics with Generative AI and Python

A binary-classification metric ranging from -1 to +1 that summarizes agreement between predicted and observed classes using all four confusion-matrix counts.

How it is used
Evaluates binary classifiers when class sizes differ and supports comparing multiple models with one summary score.
How deep it goes
Defines the score and its range, but stops short of presenting its mathematical formula or calculation steps.
Examples
Uses keyword-based customer-review sentiment predictions compared with review-score labels and manually labeled assessment data.
What you can do after
Evaluate binary-classification quality and compare models using a score that incorporates all four confusion-matrix counts.

Read how Starting Data Analytics with Generative AI and Python explains matthews correlation coefficient →

Build AI Drug Discovery Pipelines

The Matthews correlation coefficient is a binary-classification metric computed from all four entries of the confusion matrix and ranging from -1 to +1.

How it is used
Evaluates binary ligand-screening models, particularly when hERG blocker classes are imbalanced.
How deep it goes
Defines the confusion-matrix formula and score range, then demonstrates test-set comparison without detailing statistical testing.
Examples
Uses hERG blocker prediction, a test-set MCC of 0.452, and a published comparison score of 0.576.
What you can do after
Evaluate binary classifiers on imbalanced test sets and compare their performance with baselines or published methods.

Read how Build AI Drug Discovery Pipelines explains matthews correlation coefficient →

Related concepts

Questions about matthews correlation coefficient

What is matthews correlation coefficient?

The Matthews correlation coefficient is a binary-classification metric that measures agreement between predictions and true labels using all four confusion-matrix counts, ranging from −1 to +1.

Which Manning books explain matthews correlation coefficient?

Starting Data Analytics with Generative AI and Python and Build AI Drug Discovery Pipelines.

What is matthews correlation coefficient a kind of?

Matthews correlation coefficient is a kind of metric. A metric is a quantitative measure that assigns values to a property or outcome so it can be assessed, compared, or monitored.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.