SHARE
TWEET

Untitled

a guest Oct 15th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "#Test for the confusion matrix - cat/dog/rabbit example\n",
  2.     "#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",
  3.     "#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",
  4.     "# ---------expexted results--------------\n",
  5.     "#cat_cm = [5,2,3,17]\n",
  6.     "#dog_cm = [3,5,3,16]\n",
  7.     "#rabbit_cm = [11,1,2,13]\n",
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top