Question: this si my code conf _ matrix = np . zeros ( ( 1 0 , 1 0 ) , dtype = int ) for
this si my code confmatrix npzeros dtypeint
for i in rangelentestlabels:
truelabeltestlabelsi
predictedlabel NNclassifiertestdatai :
confmatrixtruelabel,predictedlabel
printconfmatrix and this is the answer
but i need it to give me this asnwer Confusion Matrix:
how do i do that
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
