Comments (8)
The training is okay, can't plot the causal graph
from ylearn.
graphviz
is required to plot causal graph, see http://www.graphviz.org/download/ for more details.
If your python env was created with conda, you can also install graphviz
with command :
conda install graphviz
from ylearn.
Yes, it works, Thanks! So should the graphviz be included in requirements.txt or is this just a library needed for MacOS? I uploaded this notebook to Google Colab run successfully, it needn't ask me to install graphviz, the only library manually installed is just ylearn. @lixfz
from ylearn.
The graphviz
is an operating system dependent software, can not be installed through pip command.
Generally, it should be installed through the os's package manager.
Google Colab has installed the graphviz by default,so we can use it directly.
from ylearn.
Ok, Thanks for explanation!
from ylearn.
By the way, I did install graphviz on my MacOs with "pip install graphviz" and pycharm python package, like following:
(venv) jevin@JSU YLearn (main) $ pip install graphviz
Collecting graphviz
Using cached graphviz-0.20-py3-none-any.whl (46 kB)
Installing collected packages: graphviz
Successfully installed graphviz-0.20
@lixfz
If I remove this graphviz-0.20 python library, it will generate the original error again.
I think I have installed OS level graphviz already(before downloading YLearn), this python library installation only provide an interface, is that correct?
from ylearn.
The pip installed graphviz
is just a python wrapper of os native graphviz.
The description from pypi:
from ylearn.
@lixfz in my case, the pip install helped, so I should install the os package already.
from ylearn.
Related Issues (20)
- Call for Contributors - 2022 July
- Discussions for YLearn Release Conference
- Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) HOT 4
- Problem about build a class "Why" HOT 1
- Problem about plotting causal graph HOT 13
- Problem about plotting policy tree HOT 7
- Problem about calling Why.fit() HOT 3
- How to use customed causal graph when calling Why.fit() ? HOT 3
- a problem return 'CausalTree' object has no attribute 'criterion' in causal_tree.py about def plot_causal_tree HOT 3
- File "data/marketing_promotion.csv.zip" missed in example_usages HOT 1
- decide attributeis not found HOT 6
- Cannot use CausalTree as estimator HOT 4
- 推荐您的项目参加-2022年**开源创新大赛
- How to compute CATE for continous treatment? HOT 2
- Dependency on turtle HOT 1
- 模型保存
- fit不指定treatment时,进程闪退
- 为什么我的因果图是缺失的 HOT 1
- Policy Optimization API Usage HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ylearn.