I'm currently trying to make a confusion matrix for my neural network model, but keep getting this error:
ValueError: Classification metrics can't handle a mix of binary and continuous targets.
Run Code Online (Sandbox Code Playgroud)
I have a peptide dataset that I'm using with 100 positive and 100 negative examples, and the labels are 1s and 0s. I've converted each peptide into a Word2Vec embedding that was put into a ML model and trained.
This is my code:
pos = "/content/drive/MyDrive/pepfun/Training_format_pos (1).txt"
neg = "/content/drive/MyDrive/pepfun/Training_format_neg.txt" …Run Code Online (Sandbox Code Playgroud)