GithubHelp home page GithubHelp logo

giacoballoccu / explanation-quality-recsys Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 6.0 922 KB

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

License: GNU General Public License v2.0

Python 100.00%
dbpedia explainability explainable-ml explaination-quality kgat knowledge-graph lastfm-dataset machine-learning metrics ml1m path-quality path-reasoning pgpr post-processing recommandation recommender-system recsys reinforcement-learning sigir2022 textual-explanations

explanation-quality-recsys's Introduction

Hi there ๐Ÿ‘‹

I'm a PhD student at University of Cagliari (UniCa) and my research interest lay in Recommender Systems and end-user Explainability tecniques. I'm currently working on designing end-to-end Language Models for Explainable Recommendation. Previously I mostly worked with Knowledge-Aware Recommender Systems and Path Reasoning methods.

I'm teaching assistant of Algorithm and Data Structure in my University and I previously interned for 4 months at Amazon as Applied Scientist in the Targeting Science Ads team.

I train my models using Paperspace which gives you the chance to lease paying monthly subscription GPUs such as A100 80Gb, A6000 etc. Click here to get my referral and get 10$ of credit for free.

Giacoballoccu's GitHub stats.

explanation-quality-recsys's People

Contributors

giacoballoccu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

explanation-quality-recsys's Issues

Traceback (most recent call last): File "main.py", line 208, in <module> soft_optimization_ETD(path_data) File "E:\FengHanWen\explanation-quality-recsys-main\optimizations.py", line 42, in soft_optimization_ETD current_item_pred_paths = pred_path[uid][pid] KeyError: 919

i have got the three datasets,
the lastfm and ml1m in preprocessed_datasets.tar.gz put in explanation-quality-recsys-main/datasets
the lastfm and ml1m in lastfmpaths ,ml1mpaths put in explanation-quality-recsys-main/paths
the lastfm and ml1m in lastfmtmp,ml1mtmp put in explanation-quality-recsys-main/models/PGPR/tmp

after running python main.py --dataset=lastfm --opt=softETD
i get the error
Traceback (most recent call last):
File "main.py", line 208, in
soft_optimization_ETD(path_data)
File "E:\FengHanWen\explanation-quality-recsys-main\optimizations.py", line 42, in soft_optimization_ETD
current_item_pred_paths = pred_path[uid][pid]
KeyError: 919

i change command --opt=softSEP/softLIR, but there is the same problem as above
i can't get results

ABOUT PGPR baseline

When executing the adapted PGPR baseline, I had some problems;
I tried to use python main.py --dataset=ml1m --opt=soft --metrics=LIR/s_to_opt. and some other changes . However, they were all wrong
The wrong wae showen as follows:
main.py [-h] [--dataset DATASET] [--agent_topk AGENT_TOPK] [--opt OPT] [--alpha ALPHA] [--eval_baseline EVAL_BASELINE] [--log_enabled LOG_ENABLED] [--save_baseline_rec_quality_avgs SAVE_BASELINE_REC_QUALITY_AVGS]
[--save_baseline_exp_quality_avgs SAVE_BASELINE_EXP_QUALITY_AVGS] [--save_baseline_rec_quality_distributions SAVE_BASELINE_REC_QUALITY_DISTRIBUTIONS]
[--save_baseline_exp_quality_distributions SAVE_BASELINE_EXP_QUALITY_DISTRIBUTIONS] [--save_after_rec_quality_avgs SAVE_AFTER_REC_QUALITY_AVGS] [--save_after_exp_quality_avgs SAVE_AFTER_EXP_QUALITY_AVGS]
[--save_after_rec_quality_distributions SAVE_AFTER_REC_QUALITY_DISTRIBUTIONS] [--save_after_exp_quality_distributions SAVE_AFTER_EXP_QUALITY_DISTRIBUTIONS] [--save_overall SAVE_OVERALL]
main.py: error: unrecognized arguments: --metrics=SEP/s_to_opt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.