视频讲解:基于医疗异构信息网络表征学习的病人相似性(聚类分析)_哔哩哔哩_bilibili
数据展示:
结果展示:
完整代码:
# pip install annoy -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn # pip install gensim==4.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn from torch import tensor from sklearn.metrics import f1_score fr