Skip to content

Instantly share code, notes, and snippets.

@kkweon
Last active June 24, 2017 11:46
Show Gist options
  • Select an option

  • Save kkweon/8ca001c7fb34b46de69e87a52db0cbcc to your computer and use it in GitHub Desktop.

Select an option

Save kkweon/8ca001c7fb34b46de69e87a52db0cbcc to your computer and use it in GitHub Desktop.
NaiveBayes Simple Implementation. Dataset can be downloaded http://www.cs.cornell.edu/People/pabo/movie-review-data/
datasets
###Python###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml
# Translations
*.mo
*.pot
# Django stuff:
*.log
# Sphinx documentation
docs/_build/
# PyBuilder
target/
###IPythonNotebook###
# Temporary data
.ipynb_checkpoints/
###PyCharm###
# PyCharm
# http://www.jetbrains.com/pycharm/webhelp/project.html
.idea
.iml
###OSX###
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
###Linux###
*~
# KDE directory preferences
.directory
###Windows###
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment