https://github.com/datacanvasio/causallab
An Interactive Causal Analysis Tool
https://github.com/datacanvasio/causallab
Last synced: about 2 months ago
JSON representation
An Interactive Causal Analysis Tool
- Host: GitHub
- URL: https://github.com/datacanvasio/causallab
- Owner: DataCanvasIO
- License: apache-2.0
- Created: 2023-06-16T04:13:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-16T09:54:51.000Z (about 3 years ago)
- Last Synced: 2025-03-11T08:36:11.404Z (over 1 year ago)
- Language: Python
- Size: 32.2 KB
- Stars: 15
- Watchers: 8
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Overview
CausalLab is an Interactive Causal Analysis Tool.
## Installation
The latest [YLearn](https://github.com/DataCanvasIO/YLearn) is required to run CausalLab, so install it from the latest source code before installing CausalLab:
```console
pip install "torch<2.0.0" "pyro-ppl<1.8.5" gcastle
pip install git+https://github.com/DataCanvasIO/YLearn.git
```
Now, one can install CausalLab from the source:
```console
git clone https://github.com/DataCanvasIO/CausalLab
cd CausalLab
pip install .
```
## Startup
Run `causal_lab` to startup CausalLab http server on localhost with default port(5006):
```console
causal_lab
```
To accept request from other computers, specify local `host_ip` and `port` to startup CausalLab http server:
```console
causal_lab --address --port --allow-websocket-origin=:
```
eg:
```console
causal_lab --address 172.20.51.203 --port 15006 --allow-websocket-origin=172.20.51.203:15006
```
## License
See the [LICENSE](LICENSE) file for license rights and limitations (Apache-2.0).