添加注释
This commit is contained in:
6
MAML.py
6
MAML.py
@@ -15,8 +15,8 @@ def fetshot():
|
||||
|
||||
length = 30
|
||||
nfold = 5
|
||||
f1 = open(r"functionsite.txt", "r")
|
||||
f2 = open(r"POS.txt", "r")
|
||||
f1 = open(r"demo/functionsite", "r")
|
||||
f2 = open(r"demo/POS.txt", "r")
|
||||
funcinf = set()
|
||||
for line in f1.readlines():
|
||||
site = line.strip()
|
||||
@@ -45,7 +45,7 @@ def fetshot():
|
||||
print(len(neg))
|
||||
|
||||
AAscores, l_aas, weight_coef, AAs = \
|
||||
WeightAndMatrix("traningout_best.txt")
|
||||
WeightAndMatrix("demo/traningout_best.txt")
|
||||
l_scores, l_type, peps = getMMScoreType(pos, new_neg, AAscores, weight_coef, l_aas, AAs, length)
|
||||
raw_scores = []
|
||||
for i in range(len(l_scores)):
|
||||
|
||||
Reference in New Issue
Block a user