Get the status of retraining model process
Successful operation
true
"fadfafewfwefwe"
"123243534534"
Retraining models using different training datasets
const response = await fetch('https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/retrain/', { method: 'GET', headers: {}, }); const data = await response.json();
{ "isRunning": true, "config": { "retrainConfig": { "modelId": "e0a0588e-96c4-4fdf-9237-a8e94a6f5ffe.h5", "trainingDataset": "/tmp/Botnet_Train.csv", "testingDataset": "/tmp/Botnet_Test.csv", "training_parameters": { "nb_epoch_cnn": 2, "nb_epoch_sae": 5, "batch_size_cnn": 32, "batch_size_sae": 16 } } }, "lastRetrainId": "fadfafewfwefwe", "lastRetrainAt": "123243534534" }
const response = await fetch('https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/retrain/', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();