From 464a4f3f6fc7c6b85670366ae5807e41d39b1b37 Mon Sep 17 00:00:00 2001 From: tjrileywisc Date: Thu, 17 Nov 2016 13:38:10 -0500 Subject: [PATCH] Fixed a minor typo in deep learning tutorial docs. --- website/docs/usage/deep-learning.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/usage/deep-learning.jade b/website/docs/usage/deep-learning.jade index 064b5c408..a1252a4fe 100644 --- a/website/docs/usage/deep-learning.jade +++ b/website/docs/usage/deep-learning.jade @@ -71,7 +71,7 @@ p def pipe(self, docs, batch_size=1000, n_threads=2): for minibatch in cytoolz.partition_all(batch_size, docs): Xs = get_features(minibatch) - ys = self._model.predict(X) + ys = self._model.predict(Xs) for i, doc in enumerate(minibatch): doc.sentiment = ys[i]