def predict_single(self, line):
        # print(line)
        prob_list = {}
        for claz in self.class_list:
            prob_list[claz] = 1

        # for each cat column
        for col in self.cat_cols:
            val = line[col]
            for claz in self.class_list:
                prob_list[claz] *= self.prob_hub[col][claz][val]

        # for each num column
        for col in self.num_cols:
            val = line[col]
            # for each class
            for claz in self.class_list:
                mean, std = self.prob_hub[col][claz]
                prob_list[claz] *= calculate_prob(val, mean, std)

        return max(prob_list.items(), key=operator.itemgetter(1))[0]
Retrieve uuid for a given token.
dataset/ETHPy150Open LargePanda/LearnPy/learnpy/models/NaiveBayes.py/NaiveBayes.predict_single--crossover with--dataset/ETHPy150Open google/simian/src/simian/auth/base.py/Auth1.SessionGetUuid