Chore: Backend bulk updates (#4509)

This commit is contained in:
Trenton H 2023-11-13 09:09:56 -08:00 committed by GitHub
parent b671f54cb7
commit facb7226fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 1764 additions and 1596 deletions

View file

@ -248,7 +248,7 @@ class DocumentClassifier:
data_vectorized = self.data_vectorizer.fit_transform(content_generator())
# See the notes here:
# https://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.CountVectorizer.html # noqa: E501
# https://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.CountVectorizer.html
# This attribute isn't needed to function and can be large
self.data_vectorizer.stop_words_ = None