Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "#Test for the confusion matrix - cat/dog/rabbit example\n",
- "#actual = np.array([0,0,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2])\n",
- "#predicted=np.array([1,1,1,0,0,0,0,0,0,0,2,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2])\n",
- "# ---------expexted results--------------\n",
- "#cat_cm = [5,2,3,17]\n",
- "#dog_cm = [3,5,3,16]\n",
- "#rabbit_cm = [11,1,2,13]\n",
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement