giacoballoccu / explanation-quality-recsys

Post Processing Explanations Paths in Path Reasoning Recommender Systems with Knowledge Graphs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The chosen optimization doesn't exist...

Pursuerwener opened this issue · comments

run

python main.py --dataset=ml1m --opt=soft--metrics=LIR

i get this problem

The chosen optimization doesn't exist...

You are quite right! I changed some parameters in the previous updates, from main.py you can see that the argument opt has as:

parser.add_argument('--opt', type=str, default="LIRopt", help='One of ["softETD", "softSEP", "softLIR", "ETDopt", "SEPopt", "LIRopt", "ETD_SEP_opt", "ETD_LIR_opt", "SEP_LIR_opt", "ETD_SEP_LIR_opt"]')

The parameter metrics do not exist anymore and are merged into opt. So in your case, you should specify --opt=softLIR

Let me know if this fixes your issue

I also updated the readme accordingly

thanks