cleverhans

Random Forest Black Box with CleverHans

浪子不回头ぞ 提交于 2020-01-03 02:45:07
问题 I am new to this stuff and trying to attack Random Forest with Black Box FGSM (from clever hans) But I'm not sure how to implement it. They've a blackbox example for Mnist data but I dont understand where should I put my random forest and where should I attack. Any help would be appreciated. 回答1: In the current tutorial, the black-box model is a neural network implemented with TensorFlow and its predictions (the labels) are used to train a substitute model (a copy of the black-box model). The

Generating adversarial data from cleverhans attack models

若如初见. 提交于 2019-12-24 11:56:21
问题 I want a code example to how to generate train data from clever hans' adversarial attacks. adv_x = fgsm.generate_np(X_test, **fgsm_params) This generates adversarial x data but how can I get y? adv_pred = model.predict_classes(adv_x) And this will give the "fooled" results right? What I want is to correctly show generated x, y, fooled y (by which I mean results of models predictions that may be false because of the attack). I'm using Mnist btw, if it helps. 回答1: Based on the code snippets you

Random Forest Black Box with CleverHans

牧云@^-^@ 提交于 2019-12-06 15:33:19
I am new to this stuff and trying to attack Random Forest with Black Box FGSM (from clever hans) But I'm not sure how to implement it. They've a blackbox example for Mnist data but I dont understand where should I put my random forest and where should I attack. Any help would be appreciated. In the current tutorial, the black-box model is a neural network implemented with TensorFlow and its predictions (the labels) are used to train a substitute model (a copy of the black-box model). The substitute model is then used to craft adversarial examples that transfer to the black-box model. In your