Machine Learning algorithms usually make decisions without providing any explanations on how they were reached. As a result, such models are not understood and trusted by the users. Counterfactuals are user-friendly explanations that provide valuable information to determine what should be changed in order to modify the outcome of a black box decision-making model without revealing the underlying algorithmic details. We present a novel technique to obtain counterfactual explanations by solving an optimization problem when a k-Nearest Neighborhood classifier is employed in a binary classification. Results from artificial and real datasets demonstrate the validity of the proposal.

Nearest Neighbors Counterfactuals

Magagnini M.
;
De Leone R.
2025-01-01

Abstract

Machine Learning algorithms usually make decisions without providing any explanations on how they were reached. As a result, such models are not understood and trusted by the users. Counterfactuals are user-friendly explanations that provide valuable information to determine what should be changed in order to modify the outcome of a black box decision-making model without revealing the underlying algorithmic details. We present a novel technique to obtain counterfactual explanations by solving an optimization problem when a k-Nearest Neighborhood classifier is employed in a binary classification. Results from artificial and real datasets demonstrate the validity of the proposal.
2025
Black Box
Counterfactual Explanations
k-Nearest Neighborhood Classifier
Machine Learning
Optimization Problem
273
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11581/503385
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 0
social impact