Scidata.IMDBReviews.download
You're seeing just the function
download
, go back to Scidata.IMDBReviews module for more information.
Specs
download([{:example_types, [train_sentiment()]}]) :: %{ review: [binary(), ...], sentiment: [1 | 0 | nil] }
Downloads the IMDB reviews training dataset or fetches it locally.
example_types
specifies which examples in the dataset should be returned
according to each example's label: :pos
for positive examples, :neg
for
negative examples, and :unsup
for unlabeled examples. If no example_types
are provided, :pos
and :neg
examples are fetched.