Skip to main content

A package to train and predict the end of a process from history logs

Project description

GitHub Actions

Predicting Remaining Cycle Time from Ongoing Case

alt text Predicting the remaining cycle time of ongoing cases is one important use case of predictive process monitoring. It is machine learning approach based on survival analysis that can learn from complete/ongoing traces.
we train a neural network to predict the probability density function of the remaining cycle time of a running case.

Documentation:

https://fazaki.github.io/cycle_prediction/

Getting started:

A) pip installation

1. Cd to home dir

cd ~

2. Initialize a virtualenv that uses the Python 3.7 available at home directory

virtualenv -p ~/python-3.7/bin/python3 PROJECTNAME

3. Activate the virtualenv

Windows:

source ~/PROJECTNAME/Scripts/activate

Linux:

source ~/PROJECTNAME/bin/activate

4. Install below packages

pip install cycle-prediction

5. Create a new kernel with the same project name

pip install -U pip ipykernel
ipython kernel install --user --name=PROJECTNAME

6. Use the example notebook

B) Source code installation:

1. Cd to home dir

cd ~

2. Initialize a virtualenv that uses the Python 3.7 available at home directory

Virtualenv -p ~/python-3.7/bin/python3 PROJECTNAME

3. Activate the virtualenv

Windows:

source ~/PROJECTNAME/Scripts/activate

Linux:

source ~/PROJECTNAME/bin/activate

4. Install ipykernel

pip install -U pip ipykernel

5. Clone the repo

git clone https://github.com/fazaki/time-to-event/tree/master
cd time-to-event

6. Install required dependencies:

pip install -e .

7. Use the example notebook

Theory

  • Paper publication in progress

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cycle_prediction-1.2.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cycle_prediction-1.2.1-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file cycle_prediction-1.2.1.tar.gz.

File metadata

  • Download URL: cycle_prediction-1.2.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

File hashes

Hashes for cycle_prediction-1.2.1.tar.gz
Algorithm Hash digest
SHA256 09ecb5ffd4bb864fe55ed7344622984a31089ae8e58f81b73c2b5710c29a6856
MD5 a8776b8b2d252f1c5fcf08b43fa6d24c
BLAKE2b-256 6060fe0929a883eb6b7372ab8bade5c9adde6ce3548f5969f655427e75c4ad84

See more details on using hashes here.

File details

Details for the file cycle_prediction-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: cycle_prediction-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

File hashes

Hashes for cycle_prediction-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d004063d8e1d35d92bb8d0aea5363a9aebbfd9cf6440a7d66c4e653f7a11f395
MD5 b5945bf26dcf476561e7651a5633d04c
BLAKE2b-256 c0b35872700a842290e9ec163542019f8f278e9b328d39857231092b0787f55e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page