Giter Site home page Giter Site logo

ocelfeatureextractionexperiments's Introduction

A Framework for Extracting and Encoding Features from Object-Centric Event Data

Jan Niklas Adams, Gyunam Park, Sergej Levich, Daniel Schuster, Wil van der Aalst

If you find the provided code or the corresponding paper useful, please consider citing the paper:

@inproceedings{AdamsFeaturesOCEL10.1007/978-3-031-20984-0_3,
  author    = {Jan Niklas Adams and
               Gyunam Park and
               Sergej Levich and
               Daniel Schuster and
               Wil M. P. van der Aalst},
  editor    = {Javier Troya and
               Brahim Medjahed and
               Lina Yao and
               Pablo Fern{\'a}ndez and
               Antonio Ruiz-Cort{\'e}s},
  title     = {A Framework for Extracting and Encoding Features from Object-Centric Event Data},
  booktitle = {Service-Oriented Computing - 20th International Conference, {ICSOC}
               2022, Sevilla, Spain, November 29- December 2, 2022, Proceedings},
  series    = {Lecture Notes in Computer Science},
  volume    = {13740},
  pages     = {36--53},
  publisher = {Springer},
  year      = {2022},
  url       = {https://doi.org/10.1007/978-3-031-20984-0_3},
  doi       = {10.1007/978-3-031-20984-0_3},
}

The paper is available at: Paper

To get an up-to-date version of the python library used please visit ocpa.readthedocs.io


Instructions

Please first use anaconda prompt to create the environment.

conda env create --file environment.yml

then unzip the event log in example_logs/mdl/ and put it in the same directory.

Activate the environment in anaconda prompt

conda activate icsoc

Go into the repository directory and run

python experiments.py

This will run all the experiments and reproduce the figures. Slight deviations might be due to differently initialized weights in the neural networks.

Note: To use the DGL library, you additionally have to place a config file in

~\.dgl\config.json

containing only the line {"backend":"tensorflow"}

There might be an error if the environment was installed with a wrong version of a package. https://stackoverflow.com/questions/72441758/typeerror-descriptors-cannot-not-be-created-directly

run pip install protobuf==3.20.* in that case.

ocelfeatureextractionexperiments's People

Contributors

niklasadams avatar

Stargazers

Antonio avatar  avatar

Watchers

 avatar

Forkers

tkforgeron

ocelfeatureextractionexperiments's Issues

AttributeError: 'OCEL' object has no attribute 'process_execution_mappings'

I tried to run your source code, but there was an error as follows:
Traceback (most recent call last):
File "D:\OCELFeatureExtractionExperiments-main\experiments.py", line 85, in
feature_storage = feature_extraction.apply(ocel, F, [])
File "D:\OCELFeatureExtractionExperiments-main\ocpa\algo\feature_extraction\factory.py", line 128, in apply
node.add_attribute(event_feature,VERSIONS[EVENT_BASED][event_function](node,ocel, params))
File "D:\OCELFeatureExtractionExperiments-main\ocpa\algo\feature_extraction\event_based_features\extraction_functions.py", line 164, in remaining_time
cases = ocel.process_execution_mappings[e_id]
AttributeError: 'OCEL' object has no attribute 'process_execution_mappings'

When I tried to correct this error, I found that there was still a problem with the subsequent execution. Does the source code need to be modified before it can be executed? I sincerely hope to get your reply.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.