20250103
This commit is contained in:
Binary file not shown.
@ -567,8 +567,8 @@ def init_std_evt_dict():
|
|||||||
event_spath.append(os.path.join(evtpath, evtname))
|
event_spath.append(os.path.join(evtpath, evtname))
|
||||||
|
|
||||||
'''==== 1. 生成标准特征集, 只需运行一次, 在 genfeats.py 中实现 ==========='''
|
'''==== 1. 生成标准特征集, 只需运行一次, 在 genfeats.py 中实现 ==========='''
|
||||||
# bcdSet = set(bcdList)
|
bcdSet = set(bcdList)
|
||||||
# gen_bcd_features(stdSamplePath, stdBarcodePath, stdFeaturePath, bcdSet)
|
gen_bcd_features(stdSamplePath, stdBarcodePath, stdFeaturePath, bcdSet)
|
||||||
print("stdFeats have generated and saved!")
|
print("stdFeats have generated and saved!")
|
||||||
|
|
||||||
|
|
||||||
@ -583,7 +583,7 @@ def test_one2one():
|
|||||||
'''1:1性能评估'''
|
'''1:1性能评估'''
|
||||||
|
|
||||||
# 1. 只需运行一次,生成事件字典和相应的标准特征库字典
|
# 1. 只需运行一次,生成事件字典和相应的标准特征库字典
|
||||||
# init_std_evt_dict()
|
init_std_evt_dict()
|
||||||
|
|
||||||
# 2. 基于事件barcode集和标准库barcode交集构造事件集合
|
# 2. 基于事件barcode集和标准库barcode交集构造事件集合
|
||||||
evtList, evtDict, stdDict = build_std_evt_dict()
|
evtList, evtDict, stdDict = build_std_evt_dict()
|
||||||
@ -597,7 +597,7 @@ def test_one2SN():
|
|||||||
'''1:SN性能评估'''
|
'''1:SN性能评估'''
|
||||||
|
|
||||||
# 1. 只需运行一次,生成事件字典和相应的标准特征库字典
|
# 1. 只需运行一次,生成事件字典和相应的标准特征库字典
|
||||||
# init_std_evt_dict()
|
init_std_evt_dict()
|
||||||
|
|
||||||
# 2. 事件barcode集和标准库barcode求交集
|
# 2. 事件barcode集和标准库barcode求交集
|
||||||
evtList, evtDict, stdDict = build_std_evt_dict()
|
evtList, evtDict, stdDict = build_std_evt_dict()
|
||||||
@ -642,7 +642,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
test_one2one()
|
test_one2one()
|
||||||
|
|
||||||
# test_one2SN()
|
test_one2SN()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user