Skip to content

Commit a54827a

Browse files
committed
.
1 parent 31ca836 commit a54827a

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

.ipynb_checkpoints/07. Classify Article-checkpoint.ipynb

+21-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,26 @@
6666
"X\n"
6767
]
6868
},
69+
{
70+
"cell_type": "code",
71+
"execution_count": 5,
72+
"metadata": {},
73+
"outputs": [
74+
{
75+
"data": {
76+
"text/plain": [
77+
"13220"
78+
]
79+
},
80+
"execution_count": 5,
81+
"metadata": {},
82+
"output_type": "execute_result"
83+
}
84+
],
85+
"source": [
86+
"len(vectorizer.vocabulary_)"
87+
]
88+
},
6989
{
7090
"cell_type": "code",
7191
"execution_count": 41,
@@ -247,7 +267,7 @@
247267
"metadata": {},
248268
"outputs": [],
249269
"source": [
250-
"#Colelct articles in each cluster\n",
270+
"#Collect articles in each cluster\n",
251271
"cluster={}\n",
252272
"for i,clus_no in enumerate(km.labels_):\n",
253273
" indiv_doc = articles[i]\n",

07. Classify Article.ipynb

+21-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,26 @@
6666
"X\n"
6767
]
6868
},
69+
{
70+
"cell_type": "code",
71+
"execution_count": 5,
72+
"metadata": {},
73+
"outputs": [
74+
{
75+
"data": {
76+
"text/plain": [
77+
"13220"
78+
]
79+
},
80+
"execution_count": 5,
81+
"metadata": {},
82+
"output_type": "execute_result"
83+
}
84+
],
85+
"source": [
86+
"len(vectorizer.vocabulary_)"
87+
]
88+
},
6989
{
7090
"cell_type": "code",
7191
"execution_count": 41,
@@ -247,7 +267,7 @@
247267
"metadata": {},
248268
"outputs": [],
249269
"source": [
250-
"#Colelct articles in each cluster\n",
270+
"#Collect articles in each cluster\n",
251271
"cluster={}\n",
252272
"for i,clus_no in enumerate(km.labels_):\n",
253273
" indiv_doc = articles[i]\n",

0 commit comments

Comments
 (0)