Skip to content

Commit

Permalink
Clean one image
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolpantunes committed Sep 22, 2023
1 parent 80d881e commit 4ff9477
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 82 deletions.
66 changes: 33 additions & 33 deletions notebooks/notebook_00.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"['our', 'account', 'your', 'review', 'website', 'password', 'send', 'us']\n"
"['password', 'our', 'website', 'account', 'send', 'us', 'review', 'your']\n"
]
}
],
Expand All @@ -156,7 +156,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"['importance', 'activity', 'report', 'benefits', 'vows', 'the', 'physical', 'Your']\n"
"['the', 'vows', 'report', 'importance', 'benefits', 'Your', 'physical', 'activity']\n"
]
}
],
Expand Down Expand Up @@ -233,35 +233,35 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Number of ham emails with the word 'password': 2\n",
"Hamicity of the word 'password': 0.5 \n",
"Number of ham emails with the word 'our': 4\n",
"Hamicity of the word 'our': 0.8333333333333334 \n",
"Number of ham emails with the word 'account': 1\n",
"Hamicity of the word 'account': 0.3333333333333333 \n",
"Number of ham emails with the word 'your': 3\n",
"Hamicity of the word 'your': 0.6666666666666666 \n",
"Number of ham emails with the word 'review': 1\n",
"Hamicity of the word 'review': 0.3333333333333333 \n",
"Number of ham emails with the word 'website': 1\n",
"Hamicity of the word 'website': 0.3333333333333333 \n",
"Number of ham emails with the word 'password': 2\n",
"Hamicity of the word 'password': 0.5 \n",
"Number of ham emails with the word 'account': 1\n",
"Hamicity of the word 'account': 0.3333333333333333 \n",
"Number of ham emails with the word 'send': 3\n",
"Hamicity of the word 'send': 0.6666666666666666 \n",
"Number of ham emails with the word 'us': 2\n",
"Hamicity of the word 'us': 0.5 \n"
"Hamicity of the word 'us': 0.5 \n",
"Number of ham emails with the word 'review': 1\n",
"Hamicity of the word 'review': 0.3333333333333333 \n",
"Number of ham emails with the word 'your': 3\n",
"Hamicity of the word 'your': 0.6666666666666666 \n"
]
},
{
"data": {
"text/plain": [
"{'our': 0.8333333333333334,\n",
" 'account': 0.3333333333333333,\n",
" 'your': 0.6666666666666666,\n",
" 'review': 0.3333333333333333,\n",
"{'password': 0.5,\n",
" 'our': 0.8333333333333334,\n",
" 'website': 0.3333333333333333,\n",
" 'password': 0.5,\n",
" 'account': 0.3333333333333333,\n",
" 'send': 0.6666666666666666,\n",
" 'us': 0.5}"
" 'us': 0.5,\n",
" 'review': 0.3333333333333333,\n",
" 'your': 0.6666666666666666}"
]
},
"execution_count": 5,
Expand All @@ -283,35 +283,35 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Number of ham emails with the word 'importance': 1\n",
"Hamicity of the word 'importance': 0.4 \n",
"Number of ham emails with the word 'activity': 2\n",
"Hamicity of the word 'activity': 0.6 \n",
"Number of ham emails with the word 'the': 1\n",
"Hamicity of the word 'the': 0.4 \n",
"Number of ham emails with the word 'vows': 1\n",
"Hamicity of the word 'vows': 0.4 \n",
"Number of ham emails with the word 'report': 1\n",
"Hamicity of the word 'report': 0.4 \n",
"Number of ham emails with the word 'importance': 1\n",
"Hamicity of the word 'importance': 0.4 \n",
"Number of ham emails with the word 'benefits': 1\n",
"Hamicity of the word 'benefits': 0.4 \n",
"Number of ham emails with the word 'vows': 1\n",
"Hamicity of the word 'vows': 0.4 \n",
"Number of ham emails with the word 'the': 1\n",
"Hamicity of the word 'the': 0.4 \n",
"Number of ham emails with the word 'Your': 1\n",
"Hamicity of the word 'Your': 0.4 \n",
"Number of ham emails with the word 'physical': 1\n",
"Hamicity of the word 'physical': 0.4 \n",
"Number of ham emails with the word 'Your': 1\n",
"Hamicity of the word 'Your': 0.4 \n"
"Number of ham emails with the word 'activity': 2\n",
"Hamicity of the word 'activity': 0.6 \n"
]
},
{
"data": {
"text/plain": [
"{'importance': 0.4,\n",
" 'activity': 0.6,\n",
"{'the': 0.4,\n",
" 'vows': 0.4,\n",
" 'report': 0.4,\n",
" 'importance': 0.4,\n",
" 'benefits': 0.4,\n",
" 'vows': 0.4,\n",
" 'the': 0.4,\n",
" 'your': 0.4,\n",
" 'physical': 0.4,\n",
" 'your': 0.4}"
" 'activity': 0.6}"
]
},
"execution_count": 6,
Expand Down Expand Up @@ -458,7 +458,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.9.18"
},
"orig_nbformat": 4
},
Expand Down
34 changes: 18 additions & 16 deletions notebooks/notebook_01.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,19 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"[nltk_data] Downloading package punkt to /home/mantunes/nltk_data...\n",
"[nltk_data] Unzipping tokenizers/punkt.zip.\n",
"[nltk_data] Package punkt is already up-to-date!\n",
"[nltk_data] Downloading package wordnet to /home/mantunes/nltk_data...\n",
"[nltk_data] Downloading package omw-1.4 to /home/mantunes/nltk_data...\n"
"[nltk_data] Package wordnet is already up-to-date!\n",
"[nltk_data] Downloading package omw-1.4 to /home/mantunes/nltk_data...\n",
"[nltk_data] Package omw-1.4 is already up-to-date!\n"
]
},
{
Expand All @@ -83,7 +85,7 @@
"True"
]
},
"execution_count": 2,
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -112,7 +114,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -155,7 +157,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -250,7 +252,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -260,7 +262,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 5,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -290,7 +292,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -327,7 +329,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -361,7 +363,7 @@
"└────────┴───────────────────────────────────┘"
]
},
"execution_count": 8,
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -373,7 +375,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -386,7 +388,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -396,7 +398,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand All @@ -419,7 +421,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -457,7 +459,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.9.18"
},
"orig_nbformat": 4
},
Expand Down
26 changes: 13 additions & 13 deletions notebooks/notebook_02.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 4ff9477

Please sign in to comment.