mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
Fixed a minor typo in deep learning tutorial docs.
This commit is contained in:
parent
718e66a7b9
commit
464a4f3f6f
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user