Skip to content

Some question about bugs in train.py #1

@chao-SFD

Description

@chao-SFD

In the run function in train.py, there is the following code:

declare_constraints = get_declare(config["dataset"], templates=config["template"])

not_found_constraints = set(log.case_id.unique()) - set(
        declare_constraints.case_id.unique()
    )

In my testing case with the sepsis dataset, the case_id in declare_constraints are index values (0, 1, 2, ...) while the case_id in the original log are strings (e.g., 'A', 'AA', ...).

I am not sure whether the case_id values are being altered in process_log.py or train.py. I look forward to your reply, thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions