Lower default dist for Analyze

This commit is contained in:
Dominik Moritz Roth 2022-02-06 21:38:41 +01:00
parent ab97f8e390
commit 5f812a6b85

View File

@ -861,7 +861,7 @@ def progress(G, minimum=3.5):
print('Progress: '+str(perc)+'%')
def analyze(G, type_name, name, dist=2.7):
def analyze(G, type_name, name, dist=2.1):
from fuzzywuzzy import fuzz
type_ident = type_name[0]
full_name = type_ident + "/" + name
@ -1168,7 +1168,7 @@ def cliInterface():
p_show = cmds.add_parser('analyze', description="TODO", aliases=[])
p_show.add_argument('type', choices=['any', 'book', 'recommender', 'author', 'series'])
p_show.add_argument('name', type=str)
p_show.add_argument('-d', type=float, default=2.7, help='depth of expansion')
p_show.add_argument('-d', type=float, default=2.1, help='depth of expansion')
p_train = cmds.add_parser('train', description="TODO", aliases=[])
p_train.add_argument('-g', type=float, default=0.1, help='learning rate gamma')