View full-text article in PMC Sensors (Basel). 2023 Sep 11;23(18):7800. doi: 10.3390/s23187800 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 eorig =L(y,f^ (X)) For each feature j ∈ {1,...,p} do: -Randomly shuffle column j of dataset X to generate permuted feature matrix Xperm -Estimate error eperm=L(Y, f^ (Xperm)) based on the predictions of permuted data -Calculate feature importance attribution as FIj=eperm−eorig Sort features by descending FI