I am doing a binary classification in Keras, using DenseNet. Created weighted classes: As a result, I have I fitted the model with class_weight But when I want to evaluate the model, I am not sure how to evaluate the weighted model, because the class_weight is a part of the history. How to update this code, using instead of default
Tag: transfer-learning
Confusion Matrix in transfer learning with keras
I was going to draw confusion matrix in my model and I used Transfer learning concept based on Deep Learning model. Confusion Matrix’s code Now below the shape of test_labels and Predictions are given, The above code is perfectly working but I saw error in below. So please concern below code, and here is the error, Note: This is value