 = df_test.drop(self.target_label, axis=1, errors=&#39;ignore&#39;)
            df_test = pd.concat([pd.DataFrame(columns=featurenames),
                                  df_test[featurenames[self.shap_index[:self.query_limit]]]]).fillna(&#39;&#39;)
            X= df_test.values.astype(str)

            pred = np.array([funcw(s,
                         self.veritas_model[&#39;model&#39;],
                         self.veritas_model[&#39;model_neg&#39;]) for s in X])

            # Calculating metrics and d