Skip to content
Document Classification With Natural Language Processing
Jupyter Notebook Dockerfile
Branch: master
Clone or download
Pull request Compare This branch is even with mdh266:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Document Classification With Natural Language Processing


In this blog post we covered document classification using Scikit-learn and the 20 News Groups dataset. We went over the basics of term frequency-inverse document frequency, pipelines and the Naive Bayes classifier

Using Notebook

You can install the dependencies and access the notebook using Docker by building the Docker image with the following:

docker build -t doc_class .

Followed by running the command container:

docker run -p 8888:8888 -t doc_class

See here for more info. Otherwise in addition to Python 3.5 and Jupyter notebooks, install the additional libraries listed in requirements.txt which can be installed with the command,

pip install -r requirements.txt
You can’t perform that action at this time.