Target label flipping
Perform poisoning TLF attack by flipping labels of some samples from one class to the target class
post
Perform target label flipping attack
Body
Responses
200
Successful operation
application/json
post
POST /strongcourage/MAIP/v1/attacks/poisoning/target-label-flipping HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: application/json
Accept: */*
Content-Length: 149
{
"targetLabelFlippingConfig": {
"poisoningAttacksConfig": {
"modelId": "e0a0588e-96c4-4fdf-9237-a8e94a6f5ffe.h5",
"poisoningRate": "50"
},
"targetClass": "1"
}
}
200
Successful operation
{
"isRunning": true,
"config": {
"ctganConfig": {
"modelId": "e0a0588e-96c4-4fdf-9237-a8e94a6f5ffe.h5",
"numberEpochs": "5",
"numberSyntheticSamples": "10000"
}
},
"lastRunAt": "123243534534"
}