secml icon indicating copy to clipboard operation
secml copied to clipboard

Boolean feature value return from CAttackPoisoningSVM attack issue

Open McFadden-S opened this issue 1 year ago • 0 comments

I am using the CAttackPoisoningSVM attack on a Drebin dataset and looking at the poison dataset that results from the adv_xc returned from the run method. I am looking to have a set of poison points with binary feature values to add to my initial set so I can send the new poisoned dataset to another framework. I set my solver params to {eta:1, eta_min:1, eta_max:none, eps:1e-4}

The returned value for adv_xc in the debugger CDataset{'X': CArray(10, 10000)(dense: [[6.068561e-04 5.504459e-05 0.000000e+00 ... 7.285119e-04 5.873739e-04 ...

The ideal returned value for adv_xc in the debugger CDataset{'X': CArray(10, 10000)(dense: [[0.000000e+00 0.000000e+00 1.000000e+00 ... 0.000000e+00 1.000000e+00...

McFadden-S avatar Aug 03 '22 16:08 McFadden-S