Table 3: Confusion matrices of different numbers of node configuration scenarios for stress testing with computational times.

TP rateFP ratePrecisionRecallF-measureROC areaClass

17 nodes101111Cbr
0.62010.620.770.78AODV
00.05000AODV_MITM
Weighted average0.95010.950.970.971

18 nodes101111Cbr
0.62010.6150.760.781AODV
00.079000AODV_MITM
19 nodes101110.999Cbr
0.547010.5470.7070.748AODV
00.148000AODV_MITM
Weighted average0.852010.8520.9040.916

20 nodes101111Cbr
0.658010.6580.7940.794AODV
00.039000AODV_MITM
Weighted average0.961010.9610.9770.98