Skip to content

利用谱聚类无法生成cluster json 文件(或者说公式错误),验证coocurrence可以生成一样得json 文件, #4

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

Open
wangtao2668129173 opened this issue Dec 21, 2023 · 0 comments

Comments

@wangtao2668129173
Copy link

if types == 'cluster':
# DGP
_adj = 1 - np.power(_adj/_nums,1/2)

elif types == 'coocurrence':
    # CGP
    _adj = np.power(_adj/_nums,1/2) 
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