Skip to content

Commit fa3b414

Browse files
Update text_classification.ipynb
updated 'preprocessing.TextVectorization' with 'tf.keras.layers.TextVectorization' in Prepare the dataset for training section.
1 parent 5bbf06b commit fa3b414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/tutorials/keras/text_classification.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@
395395
"source": [
396396
"### Prepare the dataset for training\n",
397397
"\n",
398-
"Next, you will standardize, tokenize, and vectorize the data using the helpful `preprocessing.TextVectorization` layer. \n",
398+
"Next, you will standardize, tokenize, and vectorize the data using the helpful `tf.keras.layers.TextVectorization` layer. \n",
399399
"\n",
400400
"Standardization refers to preprocessing the text, typically to remove punctuation or HTML elements to simplify the dataset. Tokenization refers to splitting strings into tokens (for example, splitting a sentence into individual words, by splitting on whitespace). Vectorization refers to converting tokens into numbers so they can be fed into a neural network. All of these tasks can be accomplished with this layer.\n",
401401
"\n",

0 commit comments

Comments
 (0)