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

About learn_graph.py #2

Open
melarrr opened this issue Apr 13, 2024 · 1 comment
Open

About learn_graph.py #2

melarrr opened this issue Apr 13, 2024 · 1 comment

Comments

@melarrr
Copy link

melarrr commented Apr 13, 2024

when i run learn_graph.py to get PEMS04's learngraph
i got AttributeError: 'Namespace' object has no attribute 'thresh_T',maybe thresh_cos also need to solve.
What should i do ,thank u?

@kevin-xuan
Copy link
Owner

Hello, sorry for the late reply. Do you follow the steps in the readme file? We first run "graph_preparation.py" to generate time correlation graph, and the parameters in this file include "Thres_T". Then, after learning node embeddings through node2vec algorithm, "learn_graph.py" is used to learn the final graph. The parameter in this file is "Thres_cos". There is no Thres_T parameter.

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