CausalLab is an Interactive Causal Analysis Tool.
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 .
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
See the LICENSE file for license rights and limitations (Apache-2.0).