Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
NLP-Project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
almohanad.hafez
NLP-Project
Commits
6097a6b2
Commit
6097a6b2
authored
Oct 16, 2024
by
Almouhannad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change test set size
parent
b82572c0
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
296 additions
and
296 deletions
+296
-296
1.1-Preprocessing.ipynb
1.1-Preprocessing.ipynb
+19
-19
1.2-Morphological-Analyzer-Classifier.ipynb
1.2-Morphological-Analyzer-Classifier.ipynb
+46
-46
Preprocessed_Symptom2Disease_Test.csv
data/Preprocessed_Symptom2Disease_Test.csv
+231
-0
Preprocessed_Symptom2Disease_Train.csv
data/Preprocessed_Symptom2Disease_Train.csv
+0
-231
No files found.
1.1-Preprocessing.ipynb
View file @
6097a6b2
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 1,
"execution_count": 1
3
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
2
,
"execution_count":
14
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
3
,
"execution_count":
15
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
4
,
"execution_count":
16
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
"4 4 Psoriasis My nails have small dents or pits in them, and..."
"4 4 Psoriasis My nails have small dents or pits in them, and..."
]
]
},
},
"execution_count":
4
,
"execution_count":
16
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
5
,
"execution_count":
17
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
"4 My nails have small dents or pits in them, and... Psoriasis"
"4 My nails have small dents or pits in them, and... Psoriasis"
]
]
},
},
"execution_count":
5
,
"execution_count":
17
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -229,7 +229,7 @@
...
@@ -229,7 +229,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
6
,
"execution_count":
18
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
7
,
"execution_count":
19
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -293,7 +293,7 @@
...
@@ -293,7 +293,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
8
,
"execution_count":
20
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -360,7 +360,7 @@
...
@@ -360,7 +360,7 @@
"4 I've been quite exhausted and ill. My throat h... Common Cold"
"4 I've been quite exhausted and ill. My throat h... Common Cold"
]
]
},
},
"execution_count":
8
,
"execution_count":
20
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -380,7 +380,7 @@
...
@@ -380,7 +380,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
9
,
"execution_count":
21
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -441,7 +441,7 @@
...
@@ -441,7 +441,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
10
,
"execution_count":
22
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -508,7 +508,7 @@
...
@@ -508,7 +508,7 @@
"4 i've been quite exhausted and ill. my throat h... common cold"
"4 i've been quite exhausted and ill. my throat h... common cold"
]
]
},
},
"execution_count":
10
,
"execution_count":
22
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -528,27 +528,27 @@
...
@@ -528,27 +528,27 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
11
,
"execution_count":
23
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"name": "stdout",
"name": "stdout",
"output_type": "stream",
"output_type": "stream",
"text": [
"text": [
"Train set shape: (
922
, 2)\n",
"Train set shape: (
691
, 2)\n",
"Test set shaape: (
231
, 2)\n"
"Test set shaape: (
462
, 2)\n"
]
]
}
}
],
],
"source": [
"source": [
"train_df, test_df = train_test_split(df, test_size=0.
2
, random_state=42)\n",
"train_df, test_df = train_test_split(df, test_size=0.
4
, random_state=42)\n",
"print(f\"Train set shape: {train_df.shape}\")\n",
"print(f\"Train set shape: {train_df.shape}\")\n",
"print(f\"Test set shaape: {test_df.shape}\")"
"print(f\"Test set shaape: {test_df.shape}\")"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
12
,
"execution_count":
24
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
...
1.2-Morphological-Analyzer-Classifier.ipynb
View file @
6097a6b2
This diff is collapsed.
Click to expand it.
data/Preprocessed_Symptom2Disease_Test.csv
View file @
6097a6b2
This diff is collapsed.
Click to expand it.
data/Preprocessed_Symptom2Disease_Train.csv
View file @
6097a6b2
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment