August 2018
Intermediate to advanced
438 pages
12h 3m
English
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Once complete, remember to add the following lines to the end of ~/.bashrc using your favorite editor (we used vim)."
A block of code is set as follows:
import glob import numpy as np import os import shutil from utils import log_progress np.random.seed(42)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
preprocessor = Preprocess()corpus_to_seq = preprocessor.fit(corpus=corpus)holdout_corpus = test_df['review'].values ...
Read now
Unlock full access