Table 1 KNN model evaluation results.

From: Analysis of mid-infrared spectrum characteristics of sandstone with different acidification degrees based on fusion model

pH

R2

MSE

RMSE

MAE

1

0.812

0.009

0.095

0.045

2

0.961

0.001

0.036

0.014

3

0.983

0.002

0.042

0.021

4

0.997

0.004

0.021

0.014