hello everybody !
i'm a beginner python programmer and i have to write a Naive bayes classifier .. any one can help me please ??
i need a good programmer helping me because i found an open source code but i still have an error and i have been tried since 2 week ago ..
this part of code :
Code:usage = ('Usage: %s <file> <expected doctype> <other doctype>' % sys.argv) if len(sys.argv) !=4: raise ValueError(usage) input_file = sys.argv doctype_expected = sys.argv doctype_other = sys.argv classifier.set_doctypes(doctype_expected, doctype_other) results = None