code: def test_get_min_nb_features(self):
      contrib = pd.DataFrame(
          np.random.randint(10, size=(15, 4)), columns=list("ABCD")
      )
      selection = [1, 3]
      distance = 0.1
      mode = "regression"
      t = get_min_nb_features(selection, contrib, mode, distance)
      assert type(t) == list
      assert all(isinstance(x, int) for x in t)
      assert len(t) == len(selection)
  
file_path: shapash/tests/unit_tests/utils/test_explanation_metrics.py
imports: import unittest
  import numpy
  import pandas
  from sklearn.linear_model import LinearRegression
  from shapash.utils.explanation_metrics import _df_to_array, _compute_distance, _compute_similarities, _get_radius, find_neighbors, shap_neighbors, get_min_nb_features, get_distance
label_desc: Use image node_id 7 for calling the TestExplanationMetrics obj's underlying member method code with example usage: obj.test_get_min_nb_features() without return types