Git Product home page Git Product logo

heuristicsminer's Introduction

bupaverse

CRAN status GitHub version R-CMD-check Lifecycle: experimental

The bupaverse is an open-source, integrated suite of R-packages for handling and analysing business process data, developed by the Business Informatics research group at Hasselt University, Belgium. Profoundly inspired by the tidyverse package, the bupaverse package is designed to facilitate the installation and loading of multiple bupaverse packages in a single step. Learn more about bupaverse at the bupaR.net homepage.

Installation

You can install bupaverse from CRAN with:

install.packages("bupaverse")

Development Version

You can install the development version of bupaverse from GitHub with:

# install.packages("devtools")
devtools::install_github("bupaverse/bupaverse")

Usage

library(bupaverse) will load the core bupaverse packages:

  • bupaR: Core package for business process analysis.
  • edeaR: Exploratory and descriptive analysis of event-based data.
  • eventdataR: Repository of sample process data.
  • processcheckR: Rule-based conformance checking and filtering.
  • processmapR: Visualise event-based data using, i.a., process maps.

An overview of the loaded packages and conflicts with other packages is shown after loading bupaverse:

library(bupaverse)
#> 
#> .______    __    __  .______      ___   ____    ____  _______ .______          _______. _______
#> |   _  \  |  |  |  | |   _  \    /   \  \   \  /   / |   ____||   _  \        /       ||   ____|
#> |  |_)  | |  |  |  | |  |_)  |  /  ^  \  \   \/   /  |  |__   |  |_)  |      |   (----`|  |__
#> |   _  <  |  |  |  | |   ___/  /  /_\  \  \      /   |   __|  |      /        \   \    |   __|
#> |  |_)  | |  `--'  | |  |     /  _____  \  \    /    |  |____ |  |\  \----.----)   |   |  |____
#> |______/   \______/  | _|    /__/     \__\  \__/     |_______|| _| `._____|_______/    |_______|
#>                                                                                                 
#> ── Attaching packages ─────────────────────────────────────── bupaverse 0.1.0 ──
#> ✔ bupaR         0.5.2     ✔ processcheckR 0.2.0
#> ✔ edeaR         0.9.1     ✔ processmapR   0.5.2
#> ✔ eventdataR    0.3.1     
#> ── Conflicts ────────────────────────────────────────── bupaverse_conflicts() ──
#> ✖ bupaR::filter()          masks stats::filter()
#> ✖ processmapR::frequency() masks stats::frequency()
#> ✖ edeaR::setdiff()         masks base::setdiff()
#> ✖ bupaR::timestamp()       masks utils::timestamp()
#> ✖ processcheckR::xor()     masks base::xor()

heuristicsminer's People

Contributors

fmannhardt avatar nacnudus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

heuristicsminer's Issues

error:sec_nodes and sec_edges

causal_net(
threshold = 0.8,
threshold_frequency = 0,
type_nodes = causal_frequency("absolute"),
type_edges = causal_frequency("relative"),
sec_nodes = causal_performance(mean, "mins"),
sec_edges = causal_performance(mean, "days")
)

——————run result
error: Problem with summarise() column label.
i label = do.call(...).
x label must be size 7 or 1, not 6.
i An earlier column had size 7.
i The error occurred in group 6: act = "1-1-6", from_id = 6.

Using a CSV file, which is converted to events through: bupaR::activities_to_eventlog, I don’t know how to resolve this error.

Error in causal_net: causal_performance()

I get an error when trying to generate a causal_performance map


library(eventdataR)
library(heuristicsmineR)
data(traffic_fines)
causal_net(traffic_fines, type = causal_performance(FUN= mean, units = "days"))`

The output is
Error in summarize():
! Problem while recycling bindings_output = first(bindings_output).
x bindings_output must be size 8 or 1, not 0.
i An earlier column had size 8.
i The error occurred in group 4: act = "End", from_id = 4.
Run rlang::last_error() to see where the error occurred.

sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows Server x64 (build 17763)

Matrix products: default

locale:
[1] LC_COLLATE=English_Ireland.1252 LC_CTYPE=English_Ireland.1252 LC_MONETARY=English_Ireland.1252 LC_NUMERIC=C
[5] LC_TIME=English_Ireland.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] eventdataR_0.2.0 heuristicsmineR_0.2.5

loaded via a namespace (and not attached):
[1] zoo_1.8-9 tidyselect_1.1.1 purrr_0.3.4 ggthemes_4.2.4 lattice_0.20-45 processmapR_0.3.4 colorspace_2.0-2
[8] vctrs_0.3.8 generics_0.1.2 viridisLite_0.4.0 miniUI_0.1.1.1 htmltools_0.5.2 utf8_1.2.2 plotly_4.10.0
[15] rlang_1.0.1 later_1.3.0 bupaR_0.4.4 pillar_1.7.0 glue_1.6.1 RColorBrewer_1.1-2 lifecycle_1.0.1
[22] stringr_1.4.0 munsell_0.5.0 gtable_0.3.0 visNetwork_2.1.0 htmlwidgets_1.5.4 forcats_0.5.1 edeaR_0.8.6
[29] fastmap_1.1.0 httpuv_1.6.5 DiagrammeR_1.0.8 fansi_1.0.2 Rcpp_1.0.8 xtable_1.8-4 promises_1.2.0.1
[36] scales_1.1.1 jsonlite_1.7.3 mime_0.12 ggplot2_3.3.5 hms_1.1.1 digest_0.6.29 stringi_1.7.6
[43] dplyr_1.0.8 shiny_1.7.1 grid_4.1.2 cli_3.1.1 tools_4.1.2 magrittr_2.0.2 lazyeval_0.2.2
[50] tibble_3.1.6 crayon_1.5.0 tidyr_1.2.0 pkgconfig_2.0.3 ellipsis_0.3.2 data.table_1.14.2 lubridate_1.8.0
[57] rstudioapi_0.13 httr_1.4.2 R6_2.5.1 shinyTime_1.0.1 compiler_4.1.2

Error in count_precedence with causal net

After generating event logs using bupaR I receive this error note when I try to generate a causal_net(). I did not receive this error yesterday but when rerunning all the code today I cannot seem to generate the precedence matrix anymore. What should I be doing differently? I am at a loss for what could be wrong

Screenshot 2022-08-03 at 11 12 30

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.