Skip to content

Commit e2f8791

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5694fbf commit e2f8791

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

machine_learning/naive_bayes_text_classification.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,5 @@ def build_toy_dataset() -> tuple[list[str], list[str]]:
198198
classifier = NaiveBayesTextClassifier(alpha=1.0)
199199
classifier.fit(sample_texts, sample_labels)
200200

201-
print("Prediction:",classifier.predict("cheap prizes available now"))
202-
print("Prediction:",classifier.predict("team meeting about project timeline"))
201+
print("Prediction:", classifier.predict("cheap prizes available now"))
202+
print("Prediction:", classifier.predict("team meeting about project timeline"))

0 commit comments

Comments
 (0)