@staticmethod
    def total_msgs(opts, source_bucket, source_node, source_map):
        if source_map['cfg']['exit-after-creates'] and source_map['cfg']['ratio-sets'] > 0:
            total_ops = source_map['cfg']['max-items'] / source_map['cfg']['ratio-sets']
            return 0, int(total_ops)
        return 0, None
Compute the prediction accuracy
dataset/ETHPy150Open membase/membase-cli/pump_gen.py/GenSource.total_msgs--crossover with--dataset/ETHPy150Open rasbt/mlxtend/mlxtend/classifier/base.py/_BaseClassifier.score