Commit 1aa40656 authored by Lelkada L L P S M's avatar Lelkada L L P S M

files changes

parent d0d487ac
......@@ -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_filtered)"
"li = generate_embeddings(df_word)"
]
},
{
......@@ -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": {
......
......@@ -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_filtered)"
"li = generate_embeddings(df_word)"
]
},
{
......@@ -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": {
......
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