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

关于人工添加异常的数据集问题 #2

Open
uuice11 opened this issue Apr 8, 2024 · 0 comments
Open

关于人工添加异常的数据集问题 #2

uuice11 opened this issue Apr 8, 2024 · 0 comments

Comments

@uuice11
Copy link

uuice11 commented Apr 8, 2024

尊敬的作者您好,拜读了您的BOND文章,对于其中数据集构建有一些疑问:
1.inj_cora,inj_amazon和inj_flickr是人工添加异常的数据集,其中标签是0和1构成的,用于异常检测二分类,在图节点分类任务中,cora的类别有七类,对应的标签0-6,图异常检测的标签划分是基于这个转换的吗,还是说这些数据集在构建的时候就按照0和1构成,那么用于异常检测的原始cora数据集可以在哪里下载呢
2.这两个函数def gen_contextual_outlier(data, n, k, seed=None):def gen_structural_outlier(data, m, n, p=0, directed=False, seed=None):中对应上面三个数据集的m,n,k三个参数的值可以在那里查看,有cora生成inj_cora的完整代码可以参考吗
非常期待您的回复

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

1 participant