Commit 6eebe685 authored by Nicholas Stone Adamo's avatar Nicholas Stone Adamo
Browse files

Add more docstring info

parent d4e1a604
No related merge requests found
Showing with 3 additions and 2 deletions
+3 -2
import os
import math
from typing import List
a = 1
k = 1
k = 1 # Laplace smoothing constant
class NaiveBayes:
def __init__(self, data_folder, train_subfolder, validate_subfolder, c1_folder, c2_folder):
......@@ -17,6 +16,8 @@ class NaiveBayes:
pass
# TODO: Implement Naive Bayes classification
# Should write output to classification.txt in the form "file.txt classification"
# where classification is one of c1_folder or c2_folder
def classify(self, files: List[str], folder: str):
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment