
February 21st, 2013, 12:55 AM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 1
Time spent in forums: 25 m 26 sec
Reputation Power: 0
|
|
Need a help in Naive bayesian classifier .. pleas :(
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[0])
if len(sys.argv) !=4:
raise ValueError(usage)
input_file = sys.argv[1]
doctype_expected = sys.argv[2]
doctype_other = sys.argv[3]
classifier.set_doctypes(doctype_expected, doctype_other)
results = None
|