Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added movie reviews dataset #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions autopandas/data/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,13 @@ def load_squares(n=1):
else:
raise Exception('n argument only accepts values 1 and 2')
return data

def load_boston():
""" Large Movie Review Dataset.
http://ai.stanford.edu/~amaas/data/sentiment/
"""
print('WARNING: NLP functionality is not available yet.')
data = apd.read_csv(os.path.join(CURRENT_PATH, 'imdb_dataset.csv'))
data = data.encoding()
data.set_class('sentiment')
return data
Loading