Commit e09548aa authored by Bryce Hepner's avatar Bryce Hepner

No changes to core, some testing added at end

parent ceeb3679
......@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 59,
"execution_count": 1,
"id": "14f74f21",
"metadata": {},
"outputs": [],
......@@ -25,7 +25,7 @@
},
{
"cell_type": "code",
"execution_count": 49,
"execution_count": 2,
"id": "c16af61f",
"metadata": {},
"outputs": [],
......@@ -78,7 +78,7 @@
},
{
"cell_type": "code",
"execution_count": 61,
"execution_count": 3,
"id": "53786325",
"metadata": {},
"outputs": [],
......@@ -154,13 +154,13 @@
},
{
"cell_type": "code",
"execution_count": 62,
"execution_count": 4,
"id": "6b965751",
"metadata": {},
"outputs": [],
"source": [
"\"\"\"\n",
"this huffman coding code is found online\n",
"this huffman encoding code is found online\n",
"https://favtutor.com/blogs/huffman-coding\n",
"\"\"\"\n",
"\n",
......@@ -207,7 +207,7 @@
},
{
"cell_type": "code",
"execution_count": 63,
"execution_count": 5,
"id": "b7561883",
"metadata": {},
"outputs": [],
......@@ -315,7 +315,7 @@
},
{
"cell_type": "code",
"execution_count": 64,
"execution_count": 6,
"id": "2eb774d2",
"metadata": {},
"outputs": [],
......@@ -355,7 +355,7 @@
},
{
"cell_type": "code",
"execution_count": 79,
"execution_count": 7,
"id": "8eeb40d0",
"metadata": {},
"outputs": [],
......@@ -439,7 +439,7 @@
},
{
"cell_type": "code",
"execution_count": 74,
"execution_count": 8,
"id": "f959fe93",
"metadata": {},
"outputs": [],
......@@ -499,7 +499,7 @@
},
{
"cell_type": "code",
"execution_count": 80,
"execution_count": 9,
"id": "3e0e9742",
"metadata": {},
"outputs": [
......@@ -524,17 +524,17 @@
},
{
"cell_type": "code",
"execution_count": 81,
"execution_count": 10,
"id": "004e8ba8",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0.4437662760416667"
"0.4232928466796875"
]
},
"execution_count": 81,
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
......@@ -545,9 +545,29 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 11,
"id": "a282f9e6",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2621552\n",
"2621552\n"
]
}
],
"source": [
"print(sys.getsizeof(encoded_matrix))\n",
"print(sys.getsizeof(reconstruct_image))"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "7efe26b9",
"metadata": {},
"outputs": [],
"source": []
}
......@@ -568,7 +588,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.1"
"version": "3.8.10"
}
},
"nbformat": 4,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment