def significance_test(self, evaluations, val_property='fscore_values',
                          name_property='name'):
        results = {r[name_property]: r[val_property] for r in evaluations}
        if any(len(x) < 10 for x in results.values()):
            _logger.error("Too small number of samples for the Wilcoxon test")
            return {}
        p = {}
        for r1, r2 in product(results.keys(), results.keys()):
            p[(r1, r2)] = self._wilcoxon([v1-v2
                                          for v1, v2 in zip(results[r1],
                                                            results[r2])])

        return p
A hook to allow an initial manipulation of data before all methods/fields
dataset/ETHPy150Open aalto-speech/morfessor/morfessor/evaluation.py/WilcoxonSignedRank.significance_test--crossover with--dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastypie/tastypie/resources.py/Resource.hydrate