07 2022 档案
摘要:安装 设置Key Setup the package repository and the GPG key distribution=ID$VERSION_ID) \ && curl -fsSL https://nvidia.github.io/l
阅读全文
摘要:简介 知识图谱嵌入(Knowledge Graph Embedding,KGE)模型中最常用的几个指标:MRR,MR,HITS@1,HITS@3,HITS@10. MRR(Mean Reciprocal Ranking) 其中是三元组集合,是三元组集合个数, 是指第$
阅读全文
摘要:项目结构 包名需要以 test 开头 python 文件需要以 test_ 开头 例如 测试类以 Test 开头(需要继承 unittest.TestCase 类),内部的测试函数以 test 开头命名 常用函数 setUpClass 和 tearDownClass 分别用于测试类的开头和结尾要执行
阅读全文
摘要:import os import logging class Logger: def __init__(self, save_path: str, mode: str = 'w', logger_name: str = ''): assert mode == 'w' or mode == 'a',
阅读全文
摘要:符号 | 大写 | 小写 | 英文注音 | 国际音标注音 | | | | | | | Α | α | alpha | alfa | | Β | β | beta | beta | | Γ | γ | gamma | gamma | | Δ | δ | deta | delta | | Ε | ε |
阅读全文
摘要:## 下载 [国内源下载-miniconda](https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/) 或 [国内源下载-anaconda](https://mirrors.tuna.tsinghua.edu.cn/anaconda/arc
阅读全文