683 lines
56 KiB
Plaintext
683 lines
56 KiB
Plaintext
|
{
|
|||
|
"cells": [
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 1,
|
|||
|
"id": "f027fe48",
|
|||
|
"metadata": {},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"import numpy as np\n",
|
|||
|
"import pandas as pd\n",
|
|||
|
"import seaborn as sns\n",
|
|||
|
"import matplotlib as mpl\n",
|
|||
|
"from matplotlib import pyplot as plt"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "markdown",
|
|||
|
"id": "d3f5ae86",
|
|||
|
"metadata": {},
|
|||
|
"source": [
|
|||
|
"# Render Confusion Matrices\n",
|
|||
|
"\n",
|
|||
|
"DIGITs generates confusion matrix tables, need to render as is, not generate using scikit-learn's func"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 2,
|
|||
|
"id": "753e7bc3",
|
|||
|
"metadata": {},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"frame = pd.read_csv('architecture-investigations/fc/3-layers/1024/conf.csv', index_col=0)\n",
|
|||
|
"accuracy_col = frame.pop('Per-class accuracy')"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 3,
|
|||
|
"id": "6250e9b7",
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"data": {
|
|||
|
"text/html": [
|
|||
|
"<div>\n",
|
|||
|
"<style scoped>\n",
|
|||
|
" .dataframe tbody tr th:only-of-type {\n",
|
|||
|
" vertical-align: middle;\n",
|
|||
|
" }\n",
|
|||
|
"\n",
|
|||
|
" .dataframe tbody tr th {\n",
|
|||
|
" vertical-align: top;\n",
|
|||
|
" }\n",
|
|||
|
"\n",
|
|||
|
" .dataframe thead th {\n",
|
|||
|
" text-align: right;\n",
|
|||
|
" }\n",
|
|||
|
"</style>\n",
|
|||
|
"<table border=\"1\" class=\"dataframe\">\n",
|
|||
|
" <thead>\n",
|
|||
|
" <tr style=\"text-align: right;\">\n",
|
|||
|
" <th></th>\n",
|
|||
|
" <th>AM General Hummer SUV 2000</th>\n",
|
|||
|
" <th>Acura RL Sedan 2012</th>\n",
|
|||
|
" <th>Acura TL Sedan 2012</th>\n",
|
|||
|
" <th>Acura TL Type-S 2008</th>\n",
|
|||
|
" <th>Acura TSX Sedan 2012</th>\n",
|
|||
|
" <th>Acura Integra Type R 2001</th>\n",
|
|||
|
" <th>Acura ZDX Hatchback 2012</th>\n",
|
|||
|
" <th>Aston Martin V8 Vantage Convertible 2012</th>\n",
|
|||
|
" <th>Aston Martin V8 Vantage Coupe 2012</th>\n",
|
|||
|
" <th>Aston Martin Virage Convertible 2012</th>\n",
|
|||
|
" <th>...</th>\n",
|
|||
|
" <th>Toyota Camry Sedan 2012</th>\n",
|
|||
|
" <th>Toyota Corolla Sedan 2012</th>\n",
|
|||
|
" <th>Toyota 4Runner SUV 2012</th>\n",
|
|||
|
" <th>Volkswagen Golf Hatchback 2012</th>\n",
|
|||
|
" <th>Volkswagen Golf Hatchback 1991</th>\n",
|
|||
|
" <th>Volkswagen Beetle Hatchback 2012</th>\n",
|
|||
|
" <th>Volvo C30 Hatchback 2012</th>\n",
|
|||
|
" <th>Volvo 240 Sedan 1993</th>\n",
|
|||
|
" <th>Volvo XC90 SUV 2007</th>\n",
|
|||
|
" <th>smart fortwo Convertible 2012</th>\n",
|
|||
|
" </tr>\n",
|
|||
|
" </thead>\n",
|
|||
|
" <tbody>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>AM General Hummer SUV 2000</th>\n",
|
|||
|
" <td>6</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>1</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>Acura RL Sedan 2012</th>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>2</td>\n",
|
|||
|
" <td>1</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>2</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>Acura TL Sedan 2012</th>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>1</td>\n",
|
|||
|
" <td>3</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>2</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>Acura TL Type-S 2008</th>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>3</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>Acura TSX Sedan 2012</th>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>1</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>5</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>...</th>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>Volkswagen Beetle Hatchback 2012</th>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>5</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>Volvo C30 Hatchback 2012</th>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>1</td>\n",
|
|||
|
" <td>4</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>Volvo 240 Sedan 1993</th>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>10</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>Volvo XC90 SUV 2007</th>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>7</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" <tr>\n",
|
|||
|
" <th>smart fortwo Convertible 2012</th>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>...</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>0</td>\n",
|
|||
|
" <td>10</td>\n",
|
|||
|
" </tr>\n",
|
|||
|
" </tbody>\n",
|
|||
|
"</table>\n",
|
|||
|
"<p>196 rows × 196 columns</p>\n",
|
|||
|
"</div>"
|
|||
|
],
|
|||
|
"text/plain": [
|
|||
|
" AM General Hummer SUV 2000 \\\n",
|
|||
|
"AM General Hummer SUV 2000 6 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Acura RL Sedan 2012 Acura TL Sedan 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 0 \n",
|
|||
|
"Acura RL Sedan 2012 2 1 \n",
|
|||
|
"Acura TL Sedan 2012 1 3 \n",
|
|||
|
"Acura TL Type-S 2008 0 0 \n",
|
|||
|
"Acura TSX Sedan 2012 1 0 \n",
|
|||
|
"... ... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 0 \n",
|
|||
|
"\n",
|
|||
|
" Acura TL Type-S 2008 Acura TSX Sedan 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 2 \n",
|
|||
|
"Acura TL Sedan 2012 0 2 \n",
|
|||
|
"Acura TL Type-S 2008 3 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 5 \n",
|
|||
|
"... ... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 0 \n",
|
|||
|
"\n",
|
|||
|
" Acura Integra Type R 2001 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Acura ZDX Hatchback 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Aston Martin V8 Vantage Convertible 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Aston Martin V8 Vantage Coupe 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Aston Martin Virage Convertible 2012 ... \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 ... \n",
|
|||
|
"Acura RL Sedan 2012 0 ... \n",
|
|||
|
"Acura TL Sedan 2012 0 ... \n",
|
|||
|
"Acura TL Type-S 2008 0 ... \n",
|
|||
|
"Acura TSX Sedan 2012 0 ... \n",
|
|||
|
"... ... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 ... \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 ... \n",
|
|||
|
"Volvo 240 Sedan 1993 0 ... \n",
|
|||
|
"Volvo XC90 SUV 2007 0 ... \n",
|
|||
|
"smart fortwo Convertible 2012 0 ... \n",
|
|||
|
"\n",
|
|||
|
" Toyota Camry Sedan 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Toyota Corolla Sedan 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Toyota 4Runner SUV 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Volkswagen Golf Hatchback 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Volkswagen Golf Hatchback 1991 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Volkswagen Beetle Hatchback 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 5 \n",
|
|||
|
"Volvo C30 Hatchback 2012 1 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Volvo C30 Hatchback 2012 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 4 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 0 \n",
|
|||
|
"\n",
|
|||
|
" Volvo 240 Sedan 1993 Volvo XC90 SUV 2007 \\\n",
|
|||
|
"AM General Hummer SUV 2000 0 0 \n",
|
|||
|
"Acura RL Sedan 2012 0 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 0 \n",
|
|||
|
"... ... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 10 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 7 \n",
|
|||
|
"smart fortwo Convertible 2012 0 0 \n",
|
|||
|
"\n",
|
|||
|
" smart fortwo Convertible 2012 \n",
|
|||
|
"AM General Hummer SUV 2000 1 \n",
|
|||
|
"Acura RL Sedan 2012 0 \n",
|
|||
|
"Acura TL Sedan 2012 0 \n",
|
|||
|
"Acura TL Type-S 2008 0 \n",
|
|||
|
"Acura TSX Sedan 2012 0 \n",
|
|||
|
"... ... \n",
|
|||
|
"Volkswagen Beetle Hatchback 2012 0 \n",
|
|||
|
"Volvo C30 Hatchback 2012 0 \n",
|
|||
|
"Volvo 240 Sedan 1993 0 \n",
|
|||
|
"Volvo XC90 SUV 2007 0 \n",
|
|||
|
"smart fortwo Convertible 2012 10 \n",
|
|||
|
"\n",
|
|||
|
"[196 rows x 196 columns]"
|
|||
|
]
|
|||
|
},
|
|||
|
"execution_count": 3,
|
|||
|
"metadata": {},
|
|||
|
"output_type": "execute_result"
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"frame"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 4,
|
|||
|
"id": "af1f4956",
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"data": {
|
|||
|
"text/plain": [
|
|||
|
"<Figure size 864x720 with 0 Axes>"
|
|||
|
]
|
|||
|
},
|
|||
|
"metad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53ulWFrQWB8CxIABgrq8nk4zOs8AIK8kzrb17N+q8zbLCLe7sXvFsk4gbZu3FwU8WGZ2H4meFzgXOXzHikGdaF25m+0aedC1DjYgbZmPEobU6mnvlaWSeFvFcnQtcoXNOhLoUaflq4Sbu9bSO30Pvj3St1wfhNTcEQUjOz/ggfscnAqeOGWM5CIJQLFqLQ5D5VBkYQWVgZGkmZZR7ePdJ2m4WhKTo3I8Uhtbi0KgN3lodxdoH22LdI0272eRMFtShcz9SGFqLQxjPX78hUifiye0dy47HrejeIigRiHKjY/7nGSZjxCEoEZqGxrEwORU4Ucqv2GkXcXn3MvktIJiLv+zXvtz8ZTJroTButKIeizu78cyW1WgfHM4oVEIY9ZaVC/rj5V0pRiuahsbx0ptYZkAWiAiDuUTJO2vEAQDaHmGc3N6xrI9BSE9W09bLiK7xjjJyZ5U4CIKQHUb3OTRq89Zzz1bUVOXasEn7XKhFhzJhbZ9Do4RtGhpfYTrN9fUUtvCq9hmqC4GgH7qXCWPFIUrHo99yaK50rhjSXNzZHalNqGu7Ucge6dB+DWPFIYrqeplc+9f77s2TELLBhkql85L+otFGHPIoWPMb1gEIFpI4BUAKSzQknexCG3FIUrC8yl+PFzvOXHZ/lUOcNrxVhXJh9GhFEmzbF0MoL1mMdlg7WiEIQn5YJw5hvc3evhh+h7VRfUMIgk7kvVLYWHGolyhRe5u9ZkVzpROrZ17ONGy6Iv0e9pFnJ7Cx4pAkUWorx8LkVN1OTRvHu2U0QYiDseKQhKDK0TQ0jhc7zgwUDnHwEg9JK7solTjU45yHZnD0mvWB53R92+pYEXVNKxPQMT9FHOAU6kZ7cxaVcXGeU1sRVRUuHQu1iegorCIOLs2VTrQPDgf2NRT
|
|||
|
"text/plain": [
|
|||
|
"<Figure size 288x288 with 1 Axes>"
|
|||
|
]
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
},
|
|||
|
"output_type": "display_data"
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"plt.figure(figsize=(12, 10)\n",
|
|||
|
"# , dpi=400\n",
|
|||
|
" )\n",
|
|||
|
"\n",
|
|||
|
"plt.matshow(frame)\n",
|
|||
|
"\n",
|
|||
|
"plt.title('Confusion matrix')\n",
|
|||
|
"plt.show()"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 5,
|
|||
|
"id": "cde63a06",
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"data": {
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAnYAAAJDCAYAAACG41nnAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAw1klEQVR4nO3de7Rk11kY+G9jIbuFZNO26Gu3jB+0bKCxxsQDhrHSYMlhbFomJpmMbTCsiQyrMw8yuIEhJmEIIfPwyspEYgaGyQWssGICBkIyYHUiWJZMZAHGjzFR3Aa722AstX3bD1kP07Ys9Z4/7q3q01LVrcetOmeffX6/tbR0uqruqX1OnTp33+/b394p5xwAAPTfl3TdAAAAVkPHDgCgEjp2AACV0LEDAKiEjh0AQCV07AAAKqFjB5VKKe1LKf12Sun+lNKv72E/r0sp/c4q29aVlNKRlNKfdt0OgHVJ5rGDbqWUvjsifigiviYiHoyI90fE/5pzfuce9/u9EfF3I+IlOedH9trO0qWUckQ8L+d8quu2AHRFxA46lFL6oYi4OSL+t4jYiIhnRcT/HRGvWsHunx0RHxpCp24eKaVLum4DwLrp2EFHUkpPiYifioj/Ief8mznnz+Wcv5hz/u2c8/+085onppRuTimd2fnv5pTSE3eee2lK6Z6U0g+nlM6mlD6eUrpx57l/FBE/ERGvSSk9lFL6vpTST6aU3tJ4/+eklPKow5NS+tsppY+klB5MKf1ZSul1jcff2fi5l6SU3r2T4n13SukljefekVL6xymlu3b28z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|
|||
|
"text/plain": [
|
|||
|
"<Figure size 864x720 with 2 Axes>"
|
|||
|
]
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
},
|
|||
|
"output_type": "display_data"
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"plt.figure(figsize=(12, 10)\n",
|
|||
|
"# , dpi=400\n",
|
|||
|
" )\n",
|
|||
|
"sns.heatmap(frame, xticklabels=False, yticklabels=False)\n",
|
|||
|
"\n",
|
|||
|
"plt.title('Confusion matrix')\n",
|
|||
|
"plt.show()"
|
|||
|
]
|
|||
|
}
|
|||
|
],
|
|||
|
"metadata": {
|
|||
|
"kernelspec": {
|
|||
|
"display_name": "Python 3",
|
|||
|
"language": "python",
|
|||
|
"name": "python3"
|
|||
|
},
|
|||
|
"language_info": {
|
|||
|
"codemirror_mode": {
|
|||
|
"name": "ipython",
|
|||
|
"version": 3
|
|||
|
},
|
|||
|
"file_extension": ".py",
|
|||
|
"mimetype": "text/x-python",
|
|||
|
"name": "python",
|
|||
|
"nbconvert_exporter": "python",
|
|||
|
"pygments_lexer": "ipython3",
|
|||
|
"version": "3.9.2"
|
|||
|
}
|
|||
|
},
|
|||
|
"nbformat": 4,
|
|||
|
"nbformat_minor": 5
|
|||
|
}
|