├── LLM └── get_item.py ├── NNR ├── LICENSE ├── MIND_corpus.py ├── MIND_dataset.py ├── aggregate_result.py ├── config.py ├── download_extract_MIND.sh ├── evaluate.py ├── general_recommendation_methods │ ├── DSSM_dataset.py │ ├── DSSM_main.py │ ├── DSSM_model.py │ ├── DSSM_util.py │ ├── NLTK_stop_words │ ├── aggregate_result.py │ ├── disclaimer.png │ ├── evaluate.py │ ├── generate_libfm_data.py │ ├── generate_tf_idf_feature_file.py │ ├── libfm │ │ ├── Makefile │ │ ├── bin │ │ │ ├── convert │ │ │ ├── libFM │ │ │ └── transpose │ │ ├── scripts │ │ │ └── triple_format_to_libfm.pl │ │ └── src │ │ │ ├── fm_core │ │ │ ├── fm_data.h │ │ │ ├── fm_model.h │ │ │ └── fm_sgd.h │ │ │ ├── libfm │ │ │ ├── Makefile │ │ │ ├── libfm.cpp │ │ │ ├── libfm.o │ │ │ ├── src │ │ │ │ ├── Data.h │ │ │ │ ├── fm_learn.h │ │ │ │ ├── fm_learn_mcmc.h │ │ │ │ ├── fm_learn_mcmc_simultaneous.h │ │ │ │ ├── fm_learn_sgd.h │ │ │ │ ├── fm_learn_sgd_element.h │ │ │ │ ├── fm_learn_sgd_element_adapt_reg.h │ │ │ │ └── relation.h │ │ │ └── tools │ │ │ │ ├── convert.cpp │ │ │ │ ├── convert.o │ │ │ │ ├── transpose.cpp │ │ │ │ └── transpose.o │ │ │ └── util │ │ │ ├── cmdline.h │ │ │ ├── fmatrix.h │ │ │ ├── matrix.h │ │ │ ├── memory.h │ │ │ ├── random.h │ │ │ ├── rlog.h │ │ │ ├── smatrix.h │ │ │ └── util.h │ ├── libfm_main.py │ ├── wide_deep_main.py │ └── wide_deep_util.py ├── install_dependencies.sh ├── layers.py ├── main.py ├── model.py ├── newsEncoders.py ├── prepare_MIND_dataset.py ├── trainer.py ├── userEncoders.py ├── util.py └── variantEncoders.py ├── graph ├── count_link_count.ipynb ├── get_node_emb.ipynb └── get_node_emb.py └── readme.md /LLM/get_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/LLM/get_item.py -------------------------------------------------------------------------------- /NNR/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/LICENSE -------------------------------------------------------------------------------- /NNR/MIND_corpus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/MIND_corpus.py -------------------------------------------------------------------------------- /NNR/MIND_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/MIND_dataset.py -------------------------------------------------------------------------------- /NNR/aggregate_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/aggregate_result.py -------------------------------------------------------------------------------- /NNR/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/config.py -------------------------------------------------------------------------------- /NNR/download_extract_MIND.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/download_extract_MIND.sh -------------------------------------------------------------------------------- /NNR/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/evaluate.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/DSSM_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/DSSM_dataset.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/DSSM_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/DSSM_main.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/DSSM_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/DSSM_model.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/DSSM_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/DSSM_util.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/NLTK_stop_words: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/NLTK_stop_words -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/aggregate_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/aggregate_result.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/disclaimer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/disclaimer.png -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/evaluate.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/generate_libfm_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/generate_libfm_data.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/generate_tf_idf_feature_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/generate_tf_idf_feature_file.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/Makefile -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/bin/convert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/bin/convert -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/bin/libFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/bin/libFM -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/bin/transpose: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/bin/transpose -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/scripts/triple_format_to_libfm.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/scripts/triple_format_to_libfm.pl -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/fm_core/fm_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/fm_core/fm_data.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/fm_core/fm_model.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/fm_core/fm_model.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/fm_core/fm_sgd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/fm_core/fm_sgd.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/Makefile -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/libfm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/libfm.cpp -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/libfm.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/libfm.o -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/src/Data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/src/Data.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn_mcmc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn_mcmc.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn_mcmc_simultaneous.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn_mcmc_simultaneous.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn_sgd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn_sgd.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn_sgd_element.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn_sgd_element.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn_sgd_element_adapt_reg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/src/fm_learn_sgd_element_adapt_reg.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/src/relation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/src/relation.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/tools/convert.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/tools/convert.cpp -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/tools/convert.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/tools/convert.o -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/tools/transpose.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/tools/transpose.cpp -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/libfm/tools/transpose.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/libfm/tools/transpose.o -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/util/cmdline.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/util/cmdline.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/util/fmatrix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/util/fmatrix.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/util/matrix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/util/matrix.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/util/memory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/util/memory.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/util/random.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/util/random.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/util/rlog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/util/rlog.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/util/smatrix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/util/smatrix.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm/src/util/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm/src/util/util.h -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/libfm_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/libfm_main.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/wide_deep_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/wide_deep_main.py -------------------------------------------------------------------------------- /NNR/general_recommendation_methods/wide_deep_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/general_recommendation_methods/wide_deep_util.py -------------------------------------------------------------------------------- /NNR/install_dependencies.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/install_dependencies.sh -------------------------------------------------------------------------------- /NNR/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/layers.py -------------------------------------------------------------------------------- /NNR/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/main.py -------------------------------------------------------------------------------- /NNR/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/model.py -------------------------------------------------------------------------------- /NNR/newsEncoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/newsEncoders.py -------------------------------------------------------------------------------- /NNR/prepare_MIND_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/prepare_MIND_dataset.py -------------------------------------------------------------------------------- /NNR/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/trainer.py -------------------------------------------------------------------------------- /NNR/userEncoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/userEncoders.py -------------------------------------------------------------------------------- /NNR/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/util.py -------------------------------------------------------------------------------- /NNR/variantEncoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/NNR/variantEncoders.py -------------------------------------------------------------------------------- /graph/count_link_count.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/graph/count_link_count.ipynb -------------------------------------------------------------------------------- /graph/get_node_emb.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/graph/get_node_emb.ipynb -------------------------------------------------------------------------------- /graph/get_node_emb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/graph/get_node_emb.py -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xuan-ZW/LKPNR/HEAD/readme.md --------------------------------------------------------------------------------