Network-Intrusion-Detection icon indicating copy to clipboard operation
Network-Intrusion-Detection copied to clipboard

Confusion matrix values in folder NSL-KDD/CNN/binary/cnn3test.py

Open Abhishek96414 opened this issue 3 years ago • 1 comments

At line 115 of given file path, cm = metrics.confusion_matrix(y_test, y_pred), what does the values in confusion matrix convey? I,m not able to guess what these values convey as of now! I have got a 2 * 2 matrix as answer with values ((9657,53),(2534,4926)).

Abhishek96414 avatar Dec 11 '20 20:12 Abhishek96414

Details available in https://scikit-learn.org/stable/modules/generated/sklearn.metrics.confusion_matrix.html

vinayakumarr avatar Jan 04 '21 03:01 vinayakumarr