Table 3 Description of performance evaluation matrices.

From: An AI-powered smart Agribot for detecting locusts in farmlands using IoT and deep learning

Metrics

Description

Accuracy (A)

Shows the overall exact prediction percentage.

\(\:\text{A}=\frac{TP+TN}{FP+TP+FN+TN}\times\:100\)

Precision (P)

Defines as a way to compute a model’s quality.

\(\:\text{P}=\frac{TP}{TP+FP}\times\:100\)

Recall (R)

Describes as a measurement of model quantity.

\(\:\text{R}=\frac{TP}{TP+FN}\times\:100\)

F1-score (F1)

Shows how reliable and accurate a model is.

\(\:\text{F}1=2\times\:\frac{R\times\:P}{R+P}\times\:100\)