Skip to content

Commit

Permalink
Revert to original
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsjiang committed Jun 14, 2018
1 parent b6ca0b7 commit f27ceab
Showing 1 changed file with 5 additions and 56 deletions.
61 changes: 5 additions & 56 deletions labs/4-10/4-10 Topic Models - SOLUTIONS.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,60 +26,9 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting gensim\n",
" Downloading gensim-3.4.0-cp36-cp36m-win_amd64.whl (22.5MB)\n",
"Requirement already satisfied: numpy>=1.11.3 in c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from gensim)\n",
"Requirement already satisfied: six>=1.5.0 in c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from gensim)\n",
"Requirement already satisfied: scipy>=0.18.1 in c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from gensim)\n",
"Collecting smart-open>=1.2.1 (from gensim)\n",
" Downloading smart_open-1.5.7.tar.gz\n",
"Collecting boto>=2.32 (from smart-open>=1.2.1->gensim)\n",
" Downloading boto-2.48.0-py2.py3-none-any.whl (1.4MB)\n",
"Collecting bz2file (from smart-open>=1.2.1->gensim)\n",
" Downloading bz2file-0.98.tar.gz\n",
"Requirement already satisfied: requests in c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from smart-open>=1.2.1->gensim)\n",
"Collecting boto3 (from smart-open>=1.2.1->gensim)\n",
" Downloading boto3-1.7.4-py2.py3-none-any.whl (128kB)\n",
"Requirement already satisfied: idna<2.7,>=2.5 in c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from requests->smart-open>=1.2.1->gensim)\n",
"Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from requests->smart-open>=1.2.1->gensim)\n",
"Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from requests->smart-open>=1.2.1->gensim)\n",
"Requirement already satisfied: certifi>=2017.4.17 in c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from requests->smart-open>=1.2.1->gensim)\n",
"Collecting botocore<1.11.0,>=1.10.4 (from boto3->smart-open>=1.2.1->gensim)\n",
" Downloading botocore-1.10.4-py2.py3-none-any.whl (4.2MB)\n",
"Collecting jmespath<1.0.0,>=0.7.1 (from boto3->smart-open>=1.2.1->gensim)\n",
" Downloading jmespath-0.9.3-py2.py3-none-any.whl\n",
"Collecting s3transfer<0.2.0,>=0.1.10 (from boto3->smart-open>=1.2.1->gensim)\n",
" Downloading s3transfer-0.1.13-py2.py3-none-any.whl (59kB)\n",
"Requirement already satisfied: docutils>=0.10 in c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from botocore<1.11.0,>=1.10.4->boto3->smart-open>=1.2.1->gensim)\n",
"Requirement already satisfied: python-dateutil<2.7.0,>=2.1 in c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from botocore<1.11.0,>=1.10.4->boto3->smart-open>=1.2.1->gensim)\n",
"Building wheels for collected packages: smart-open, bz2file\n",
" Running setup.py bdist_wheel for smart-open: started\n",
" Running setup.py bdist_wheel for smart-open: finished with status 'done'\n",
" Stored in directory: C:\\Users\\Gibson\\AppData\\Local\\pip\\Cache\\wheels\\cf\\54\\36\\b003d8c2d26aadffc21f0677009ed53cf9575a97fc71fbba76\n",
" Running setup.py bdist_wheel for bz2file: started\n",
" Running setup.py bdist_wheel for bz2file: finished with status 'done'\n",
" Stored in directory: C:\\Users\\Gibson\\AppData\\Local\\pip\\Cache\\wheels\\31\\9c\\20\\996d65ca104cbca940b1b053299b68459391c01c774d073126\n",
"Successfully built smart-open bz2file\n",
"Installing collected packages: boto, bz2file, jmespath, botocore, s3transfer, boto3, smart-open, gensim\n",
"Successfully installed boto-2.48.0 boto3-1.7.4 botocore-1.10.4 bz2file-0.98 gensim-3.4.0 jmespath-0.9.3 s3transfer-0.1.13 smart-open-1.5.7\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"c:\\users\\gibson\\appdata\\local\\programs\\python\\python36\\lib\\site-packages\\gensim\\utils.py:1197: UserWarning: detected Windows; aliasing chunkize to chunkize_serial\n",
" warnings.warn(\"detected Windows; aliasing chunkize to chunkize_serial\")\n"
]
}
],
"outputs": [],
"source": [
"import string\n",
"\n",
Expand Down Expand Up @@ -143,7 +92,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand All @@ -152,7 +101,7 @@
"\" \\n \\nI read somewhere, I think in Morton Smith's _Jesus the Magician_, that\\nold Lazarus wasn't dead, but going in the tomb was part of an initiation\\nrite for a magi-cult, of which Jesus was also a part. It appears that\\na 3-day stay was normal. I wonder .... ?\""
]
},
"execution_count": 6,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -886,7 +835,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.4"
"version": "3.6.3"
}
},
"nbformat": 4,
Expand Down

0 comments on commit f27ceab

Please sign in to comment.