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

请问代码中提到的.pkl文件在哪里获取呢? #30

Open
wenwen19980927 opened this issue Oct 13, 2021 · 4 comments
Open

请问代码中提到的.pkl文件在哪里获取呢? #30

wenwen19980927 opened this issue Oct 13, 2021 · 4 comments

Comments

@wenwen19980927
Copy link

with open(datapath + 'topic_word_distribution.pkl', 'rb') as f:
topic_word = pickle.load(f)
with open(datapath + 'doc_topic_distribution.pkl', 'rb') as f:
doc_topic = pickle.load(f)
with open(datapath + 'doc_index_LDA.pkl', 'rb') as f:

这里提到的后缀为.pkl的文件,您能告诉我如何获取吗?不胜感激

@abhinab303
Copy link

These files are created from build_features.py.

from readme, the script order is this:

python tagMe.py
python build_network.py
python build_features.py
python build_data.py

@wenwen19980927
Copy link
Author

thankyou!

@wangqingpen
Copy link

这些文件是从build_features.py.

从自述文件中,脚本顺序是这样的:

python tagMe.py python build_network.py python build_features.py python build_data.py

我用mr数据集,跑了你论文中构造异构图的过程,发现最后的val.map与你已经处理过的数据所提供的val.map差了好多,可以问一下val是如何处理的吗?在请问一下你论文所以提到的半监督在你处理数据的时候代码的实现在哪边?万分感谢

1 similar comment
@wangqingpen
Copy link

这些文件是从build_features.py.

从自述文件中,脚本顺序是这样的:

python tagMe.py python build_network.py python build_features.py python build_data.py

我用mr数据集,跑了你论文中构造异构图的过程,发现最后的val.map与你已经处理过的数据所提供的val.map差了好多,可以问一下val是如何处理的吗?在请问一下你论文所以提到的半监督在你处理数据的时候代码的实现在哪边?万分感谢

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

3 participants