Consistent Nonparametric Different-Feature Selection via the Sparsest $k$-Subgraph Problem