Coder Social home page Coder Social logo

read_xes's Introduction

read_xes

Use Python read XES file, to transfer XES' trace information into Python dict. This program is aiming at providing a way for Python disposal XES data.

This file just a simple function for transfer XES' trace and event information into two python dicts. One is 'trace_attri', it is the information of trace which are gained from tag and the tags which are not event and in tag. Other is trace_event, it is the information of evnet which are gained for tag.

After you gain those two dict, you could transfer them into pandas DataFrame, or you could insert them into MonogoDB. I think that may more convenience for further usage.

The major problem is speed, this program is much slower than ProM's import. I think it may comes from anaylze XML and loops in program. If I have time I may could find out more effienct method. Therefore, if your XES file is really big, I think this program may consumes significant time.

At last, many thinks xmltodict(https://github.com/martinblech/xmltodict), xmltodict makes this program much easier.

read_xes's People

Contributors

frankbgao avatar

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.