Causal Inference-based Root Cause Analysis
Project description
CIRCA
This project contains the code of baselines and simulation data generation for the KDD '22 paper, Causal Inference-Based Root Cause Analysis for Online Service Systems with Intervention Recognition. Experiment results can be found in figshare, where the code is corresponding to the commit 1522ddd7efd16db55e9f351fd70324501ce9134e.
Usage
This repository contains a Dockerfile to describe the necessary steps to setup the environment.
To install this project as a package with pip
, R package pcalg has to be installed manually.
Simulation Data Generation
python -m circa.experiment generate
Simulation Study
# Explore parameter combinations
python -m circa.experiment --max-workers 16 --model-params params-sim-tune.json tune
# Explore all the datasets with pre-defined parameters
python -m circa.experiment --model-params params-sim-run.json run
# Robustness evaluation
python -m circa.experiment robustness
Execute Rscript img/draw.sim.R
to produce summaries under img/output
.
params-sim-run.json
is created according toimg/output/best-sim-tuning.tex
- To create parameter template, execute the following command
python -m circa.experiment params > default.json
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
Built Distribution
Hashes for circa_clue-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d8817e68b3a53394734b64caec6f71b0f261c5e82ecb63bfc62a110262ad04 |
|
MD5 | 02cbfae4a5304824ac6f449ddb411368 |
|
BLAKE2b-256 | a2e5fd6d28356aabd1f56900379faefa9ca8649e4bc474b1a5c477b1ce4a1d46 |