Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何使用csv数据集 #120

Open
LightR0 opened this issue Aug 10, 2023 · 1 comment
Open

如何使用csv数据集 #120

LightR0 opened this issue Aug 10, 2023 · 1 comment

Comments

@LightR0
Copy link

LightR0 commented Aug 10, 2023

看到的examples都是random生成一些node and edge,如何使用自己的数据集做为输入,例如sachs.xls、cyto_full_data.csv、goldstandard_insilico100_multifactorial_1.csv、Tuebingen_pairs.csv

@shaido987
Copy link
Collaborator

Hello,

As of now, we do not provide any code to help parse custom datasets, you have to do that yourself (using e.g. pandas or numpy). This should give some idea of how it can be done: https://github.com/huawei-noah/trustworthyAI/blob/master/competition/NeurIPS2023/demonstrative_code.ipynb

For the dataset you mentioned, some code to get started can be found here: https://github.com/FenTechSolutions/CausalDiscoveryToolbox/blob/master/cdt/data/loader.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants