Closed TaurusLegend closed 1 year ago
Hi @TaurusLegend Thank you for using ART! This is the expected behavior of ART indicating that attack and estimator/model are not compatible, in this case because FastGradientMethod requires loss gradients and a decision tree model cannot provide loss gradients.
I convert this issue into a discussion in the Discussion tab to continue
Describe the bug Can't apply the evasion attack FastGradientMethod on a SklearnClassifier. The SklearnClassifier is a DecisionTreeClassifier which is optimized using sklearn GridSearchCV and imblearn Pipeline. I tried to follow the example get_started_scikit_learn.py and adapt it to my needs.
To Reproduce
Expected behavior I expected the program to generate adversarial examples using the Fast Gradient Method and using the trained SklearnClassifier to classify them.
Screenshots
System information: