I tired to apply counterfactuals for xgboost model but got this error
ValueError:predict_function should be a tf.keras.Model or a torch.nn.Module instead of <class 'xgboost.sklearn.XGBClassifier'>.
Does this counterfaculas working only for keras or torch models?