Lower default dist for Analyze
This commit is contained in:
parent
ab97f8e390
commit
5f812a6b85
@ -861,7 +861,7 @@ def progress(G, minimum=3.5):
|
|||||||
print('Progress: '+str(perc)+'%')
|
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
|
from fuzzywuzzy import fuzz
|
||||||
type_ident = type_name[0]
|
type_ident = type_name[0]
|
||||||
full_name = type_ident + "/" + name
|
full_name = type_ident + "/" + name
|
||||||
@ -1168,7 +1168,7 @@ def cliInterface():
|
|||||||
p_show = cmds.add_parser('analyze', description="TODO", aliases=[])
|
p_show = cmds.add_parser('analyze', description="TODO", aliases=[])
|
||||||
p_show.add_argument('type', choices=['any', 'book', 'recommender', 'author', 'series'])
|
p_show.add_argument('type', choices=['any', 'book', 'recommender', 'author', 'series'])
|
||||||
p_show.add_argument('name', type=str)
|
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 = cmds.add_parser('train', description="TODO", aliases=[])
|
||||||
p_train.add_argument('-g', type=float, default=0.1, help='learning rate gamma')
|
p_train.add_argument('-g', type=float, default=0.1, help='learning rate gamma')
|
||||||
|
Loading…
Reference in New Issue
Block a user