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
cc95536f
Commit
cc95536f
authored
Nov 16, 2024
by
Almouhannad Hafez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Id col in augmented data
parent
e85a9af8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7205 additions
and
7202 deletions
+7205
-7202
4.data_augmentation.ipynb
4.data_augmentation.ipynb
+4
-1
augmented_Symptom2Disease.csv
data/augmented_Symptom2Disease.csv
+7201
-7201
No files found.
4.data_augmentation.ipynb
View file @
cc95536f
...
...
@@ -197,6 +197,9 @@
"metadata": {},
"outputs": [],
"source": [
"augmented_df = augmented_df.drop(columns=['Unnamed: 0'])\n",
"augmented_df['Id'] = range(len(augmented_df))\n",
"augmented_df = augmented_df[['Id', 'label', 'text']]\n",
"augmented_df.to_csv(CONSTANTS.AUGMENTED_DATASET_PATH, index=False)"
]
},
...
...
@@ -302,7 +305,7 @@
"source": [
"df = augmented_df\n",
"\n",
"df = df.drop(columns=['
Unnamed: 0
'])\n",
"df = df.drop(columns=['
Id
'])\n",
"df = df[['text', 'label']]\n",
"\n",
"df.head()"
...
...
data/augmented_Symptom2Disease.csv
View file @
cc95536f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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