Exemple #1
0
    def test_logNumericAttribute(self):
        # to avoid static method warnings in tests,
        # that by construction of the unittest package have to be expressed in such way
        self.dummy_variable = "dummy_value"

        log = xes_importer.apply(
            os.path.join("input_data", "roadtraffic100traces.xes"))
        x, y = log_attributes_filter.get_kde_numeric_attribute(log, "amount")
        json = log_attributes_filter.get_kde_numeric_attribute_json(
            log, "amount")
        del json
 def test_get_attributes(self):
     from pm4py.statistics.attributes.log import get
     log = self.get_log()
     get.get_attribute_values(log, "concept:name")
     get.get_kde_date_attribute(log, "time:timestamp")
     get.get_kde_numeric_attribute(log, "amount")