Comments (1)
The files imdb-train.pkl
and imdb-test.pkl
are just slightly processed versions of original data from http://ai.stanford.edu/~amaas/data/sentiment/ . You can get the sentences and polarity values from the original data.
train_df = pd.read_pickle("/media/data2/imdb/imdb-train.pkl")
print(train_df.sample(10))
sentence sentiment polarity
15135 Just a dumb old movie. First Stanwyck's son ge... 2 0
22916 A meteorite falls in the country of a small to... 7 1
20820 Whether it's a good movie or not, films of thi... 7 1
17389 The '60s is an occasionally entertaining film,... 2 0
20392 As I work at a video store, I found it to be m... 1 0
17671 Everyone in the cast, from Sugiyama to Aoki an... 10 1
16207 The only connection this movie has to horror i... 1 0
19790 The show had great episodes, this is not one o... 4 0
5569 I thought this film was just about perfect. Th... 9 1
21911 I sat through this film and i have to say it o... 1 0
from machine-learning-scripts.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from machine-learning-scripts.