keras-io
keras-io copied to clipboard
fix example in IMDB dataset docs
trafficstars
Last example contains line " ".join(inverted_word_index.get[i] for i in x_train[0]) But it is wrong it have to be " ".join(inverted_word_index.get(i - 3, "?") for i in x_train[0]) Since first indexed are reserved.