Scidata.IMDBReviews.download

You're seeing just the function download, go back to Scidata.IMDBReviews module for more information.

Specs

download([{:example_types, [test_sentiment()]}]) :: %{
  review: [binary(), ...],
  sentiment: 1 | 0
}

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.