MCPcopy Create free account
hub / github.com/catboost/catboost / rotten_tomatoes

Function rotten_tomatoes

catboost/python-package/catboost/datasets.py:172–189  ·  view source on GitHub ↗

Contains information from kaggle [1], which is made available here under the Open Database License (ODbL) [2]. Download "rotten_tomatoes" [1] data set. Will return two pandas.DataFrame-s, first with train part (rotten_tomatoes.data) and second with test part (rotten_tomatoes.test)

()

Source from the content-addressed store, hash-verified

170
171
172def rotten_tomatoes():
173 """
174 Contains information from kaggle [1], which is made available here under the Open Database License (ODbL) [2].
175
176 Download "rotten_tomatoes" [1] data set.
177
178 Will return two pandas.DataFrame-s, first with train part (rotten_tomatoes.data) and second with test part
179 (rotten_tomatoes.test) of the dataset.
180
181 NOTE: This is a preprocessed version of the dataset.
182
183 [1]: https://www.kaggle.com/rpnuser8182/rotten-tomatoes
184 [2]: https://opendatacommons.org/licenses/odbl/1-0/index.html
185 """
186 url = 'https://catboost-opensource.s3.yandex.net/rotten_tomatoes.tar.gz'
187 md5 = 'a07fed612805ac9e17ced0d82a96add4'
188 dataset_name, train_file, test_file = 'rotten_tomatoes', 'learn.tsv', 'test.tsv'
189 return _load_dataset_pd(url, md5, dataset_name, train_file, test_file, sep='\t')
190
191
192def imdb():

Callers

nothing calls this directly

Calls 1

_load_dataset_pdFunction · 0.85

Tested by

no test coverage detected