Landslide benchmark — binary-classification metrics

Geotechnical Data Analysis, Model Benchmarks

By Foundation Design Method Library

159 Rank #124 Views 2,899
Workspace
QUICK ACCESS
Related engineering apps Cases & data

App-specific engineering geometry and parameter schematic

Theory and Method

\documentclass[11pt]{article} \usepackage{amsmath,amssymb,geometry,xurl,hyperref} \geometry{margin=0.85in} \setlength{\emergencystretch}{3em} \begin{document} \section{Landslide benchmark - binary-classification metrics} \subsection{Purpose} Evaluate a binary landslide or failure classifier from an independently assembled confusion matrix. \subsection{Governing equations} \[ Precision=\frac{TP}{TP+FP},\quad Recall=\frac{TP}{TP+FN},\quad F_1=\frac{2TP}{2TP+FP+FN} \] \subsection{Inputs and units} \begin{itemize} \item \textbf{Observed landslides correctly predicted} ($\mathtt{TP}$): count. Default 80. \item \textbf{Observed landslides missed} ($\mathtt{FN}$): count. Default 20. \item \textbf{Stable cases incorrectly predicted as landslides} ($\mathtt{FP}$): count. Default 10. \item \textbf{Stable cases correctly predicted} ($\mathtt{TN}$): count. Default 90. \end{itemize} \subsection{How to use the result} Enter values on the stated measurement and unit basis. Intermediate quantities are calculated in the order shown in the downloadable method. Interpret the reported quantities within the physical assumptions below. \begin{itemize} \item Accuracy: \%. \item Landslide precision: \%. \item Landslide recall: \%. \item Specificity: \%. \item F1 score: \%. \item Balanced accuracy: \%. \end{itemize} \subsection{Worked default example} \begin{itemize} \item Accuracy: 85 \%. \item Landslide precision: 88.8888889 \%. \item Landslide recall: 80 \%. \item Specificity: 90 \%. \item F1 score: 84.2105263 \%. \item Balanced accuracy: 85 \%. \end{itemize} \subsection{Verification example} A separate hand-checkable or limiting-case benchmark uses the following inputs: \begin{itemize} \item $\mathtt{TP}=80$: count. \item $\mathtt{FN}=20$: count. \item $\mathtt{FP}=10$: count. \item $\mathtt{TN}=90$: count. \end{itemize} Expected benchmark quantities: \begin{itemize} \item Accuracy: 85. \item Landslide precision: 88.8888889. \item Landslide recall: 80. \item Specificity: 90. \item F1 score: 84.2105263. \item Balanced accuracy: 85. \end{itemize} \subsection{Assumptions and limits} Counts must use the same held-out test set and declared threshold. Accuracy alone can obscure class imbalance; location/time leakage and inventory completeness must be assessed separately. \subsection{Reference} Scikit-learn - Model evaluation and classification metrics. \url{https://scikit-learn.org/stable/modules/model_evaluation.html} Definitions of precision, recall, F1 and balanced accuracy. The implementation here is independent and has no scikit-learn runtime dependency. \end{document}

Engineering Calculator

Engineering Calculation Results