correct best shift printing
This commit is contained in:
parent
fd70dfab24
commit
03a54636a0
@ -324,7 +324,7 @@ def main():
|
|||||||
error += negative
|
error += negative
|
||||||
#errorlist[correctionvalue] = error
|
#errorlist[correctionvalue] = error
|
||||||
errorlist.append(error)
|
errorlist.append(error)
|
||||||
#print(min(range(len(errorlist)), key=errorlist.__getitem__))
|
#print(min(range(len(errorlist)), key=errorlist.__getitem__))
|
||||||
likelihood.append(round((total - min(errorlist))/total, 2))
|
likelihood.append(round((total - min(errorlist))/total, 2))
|
||||||
print(likelihood)
|
print(likelihood)
|
||||||
'''for i in np.arange(0.01, 0.07, 0.01):
|
'''for i in np.arange(0.01, 0.07, 0.01):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user