Ejemplo n.º 1
0
def computeNaiveBayesCrossValidation(args, dict_algorithms):
    if (args.debug):
        print("Running naive bayes...", end='')
    model = NaiveBayes(args)
    dict_algorithms["naive_bayes"] = model.computeCrossValidation()
    if (args.debug):
        print("ok!")