Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.04 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.04 KB

Overview

CausalLab is an Interactive Causal Analysis Tool.

Installation

The latest YLearn is required to run CausalLab, so install it from the latest source code before installing CausalLab:

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:

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):

causal_lab

To accept request from other computers, specify local host_ip and port to startup CausalLab http server:

causal_lab --address <host_ip> --port <port> --allow-websocket-origin=<host_ip>:<port>

eg:

causal_lab --address 172.20.51.203 --port 15006 --allow-websocket-origin=172.20.51.203:15006

License

See the LICENSE file for license rights and limitations (Apache-2.0).