heuristicsmineR

Heuristics Miner in R and integrated with the bupaR framework.

https://github.com/bupaverse/heuristicsminer

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 5 committers (20.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.6%) to scientific vocabulary

Keywords

bupar event-log heuristics-miner petri-net process-mining r
Last synced: 6 months ago · JSON representation

Repository

Heuristics Miner in R and integrated with the bupaR framework.

Basic Info
Statistics
  • Stars: 14
  • Watchers: 3
  • Forks: 2
  • Open Issues: 1
  • Releases: 0
Topics
bupar event-log heuristics-miner petri-net process-mining r
Created about 7 years ago · Last pushed almost 3 years ago
Metadata Files
Readme License

README.md

Process discovery with variants of the Heuristics Miner algorithm

CRAN\_Status\_Badge Travis-CI Build Status

Discover process models with the Heuristics Miner

Discovery of process models from event logs based on the Heuristics Miner algorithm integrated into the bupaR framework.

Installation

You can install the release CRAN version with:

r install.packages("heuristicsmineR")

You can install the development version of heuristicsmineR with:

r source("https://install-github.me/r-lib/remotes") remotes::install_github("bupaverse/heuristicsmineR")

Example

This is a basic usage example discovering the Causal net of the patients event log:

``` r library(heuristicsmineR) library(eventdataR) data(patients)

Dependency graph / matrix

dependency_matrix(patients)

Causal graph / Heuristics net

causal_net(patients) ```

This discovers the Causal net of the built-in L_heur_1 event log that was proposed in the book Process Mining: Data Science in Action:

``` r

Efficient precedence matrix

m <- precedencematrixabsolute(Lheur1) as.matrix(m)

Example from Process mining book

dependencymatrix(Lheur1, threshold = .7) causalnet(Lheur1, threshold = .7) ```

The Causal net can be converted to a Petri net (note that there are some unnecessary invisible transition that are not yet removed):

``` r

Convert to Petri net

library(petrinetR) cn <- causalnet(Lheur1, threshold = .7) pn <- as.petrinet(cn) renderPN(pn) ```

The Petri net can be further used, for example for conformance checking through the pm4py package (Note that the final marking is currently not saved in petrinetR):

r library(pm4py) conformance_alignment(L_heur_1, pn, initial_marking = pn$marking, final_marking = c("p_in_6"))

Owner

  • Name: bupaR-suite
  • Login: bupaverse
  • Kind: organization

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 64
  • Total Committers: 5
  • Avg Commits per committer: 12.8
  • Development Distribution Score (DDS): 0.078
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Felix Mannhardt f****t@s****o 59
Felix Mannhardt f****t@t****l 2
Felix Mannhardt f****t@k****m 1
Duncan Garmonsway n****s@g****m 1
Felix f****t 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 3
  • Total pull requests: 5
  • Average time to close issues: 12 months
  • Average time to close pull requests: 1 day
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 1.67
  • Average comments per pull request: 0.4
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • yichenstone (1)
  • BernardWilliam (1)
  • larachammas (1)
Pull Request Authors
  • fmannhardt (3)
  • nacnudus (1)
  • gertjanssenswillen (1)
Top Labels
Issue Labels
bug (1) help wanted (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 510 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 9
  • Total maintainers: 1
cran.r-project.org: heuristicsmineR

Discovery of Process Models with the Heuristics Miner

  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 510 Last month
Rankings
Stargazers count: 14.6%
Forks count: 17.8%
Average: 25.7%
Dependent packages count: 29.8%
Downloads: 30.9%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • DiagrammeR >= 1.0.0 imports
  • Rcpp * imports
  • bupaR * imports
  • data.table * imports
  • dplyr * imports
  • ggplot2 * imports
  • ggthemes * imports
  • magrittr * imports
  • petrinetR * imports
  • processmapR >= 0.3.1 imports
  • purrr * imports
  • rlang * imports
  • scales * imports
  • stringr * imports
  • tidyr * imports
  • DiagrammeRsvg * suggests
  • eventdataR * suggests
  • svgPanZoom * suggests