Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
22_23-J 18
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
22_23-J 18
22_23-J 18
Commits
1aa40656
Commit
1aa40656
authored
Mar 09, 2023
by
Lelkada L L P S M
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
files changes
parent
d0d487ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
6 deletions
+56
-6
IT19001708/STG/script/.ipynb_checkpoints/word_embeddings_for_train_dataset-checkpoint.ipynb
...points/word_embeddings_for_train_dataset-checkpoint.ipynb
+28
-3
IT19001708/STG/script/word_embeddings_for_train_dataset.ipynb
...001708/STG/script/word_embeddings_for_train_dataset.ipynb
+28
-3
No files found.
IT19001708/STG/script/.ipynb_checkpoints/word_embeddings_for_train_dataset-checkpoint.ipynb
View file @
1aa40656
...
...
@@ -92,7 +92,7 @@
},
{
"cell_type": "code",
"execution_count":
null
,
"execution_count":
17
,
"metadata": {
"id": "CSvPFot643YO"
},
...
...
@@ -107,9 +107,18 @@
"metadata": {
"id": "67i3XOPZ4y29"
},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_172/1590956152.py:4: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.\n",
" for index, value in df['word'].iteritems():\n"
]
}
],
"source": [
"li = generate_embeddings(df_
filtere
d)"
"li = generate_embeddings(df_
wor
d)"
]
},
{
...
...
@@ -120,6 +129,22 @@
"source": [
"df_embbeding = pd.dataframe(li, columns=['embedding'])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"df_embedding.to_csv(\"../dataset/word_embeddings.csv\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
...
...
IT19001708/STG/script/word_embeddings_for_train_dataset.ipynb
View file @
1aa40656
...
...
@@ -92,7 +92,7 @@
},
{
"cell_type": "code",
"execution_count":
null
,
"execution_count":
17
,
"metadata": {
"id": "CSvPFot643YO"
},
...
...
@@ -107,9 +107,18 @@
"metadata": {
"id": "67i3XOPZ4y29"
},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_172/1590956152.py:4: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.\n",
" for index, value in df['word'].iteritems():\n"
]
}
],
"source": [
"li = generate_embeddings(df_
filtere
d)"
"li = generate_embeddings(df_
wor
d)"
]
},
{
...
...
@@ -120,6 +129,22 @@
"source": [
"df_embbeding = pd.dataframe(li, columns=['embedding'])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"df_embedding.to_csv(\"../dataset/word_embeddings.csv\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
...
...
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