1. 首页
  2. 人工智能
  3. 深度学习
  4. Keras用IMDB数据源(imdb.npz + imdb_word_index.json)

Keras用IMDB数据源(imdb.npz + imdb_word_index.json)

上传者: 2020-08-06 11:14:44上传 ZIP文件 17.27MB 热度 132次
Keras用IMDB数据源(imdb.npz + imdb_word_index.json) from tensorflow.keras.datasets import imdb (train_data, train_labels), (test_data, test_labels) = imdb.load_data(num_words=10000) # word_index is a dictionary mapping words to an integer index word_index = imdb.get_word_index() # We reverse it, mappin
下载地址
用户评论