{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/bpr-bayesian-personalized-ranking-from","title":"BPR: Bayesian Personalized Ranking from Implicit Feedback","arxiv_id":"1205.2618","date":"2012-05-09","proceeding":null,"authors":["Steffen Rendle","Christoph Freudenthaler","Zeno Gantner","Lars Schmidt-Thieme"],"abstract":"Item recommendation is the task of predicting a personalized ranking on a set\nof items (e.g. websites, movies, products). In this paper, we investigate the\nmost common scenario with implicit feedback (e.g. clicks, purchases). There are\nmany methods for item recommendation from implicit feedback like matrix\nfactorization (MF) or adaptive knearest-neighbor (kNN). Even though these\nmethods are designed for the item prediction task of personalized ranking, none\nof them is directly optimized for ranking. In this paper we present a generic\noptimization criterion BPR-Opt for personalized ranking that is the maximum\nposterior estimator derived from a Bayesian analysis of the problem. We also\nprovide a generic learning algorithm for optimizing models with respect to\nBPR-Opt. The learning method is based on stochastic gradient descent with\nbootstrap sampling. We show how to apply our method to two state-of-the-art\nrecommender models: matrix factorization and adaptive kNN. Our experiments\nindicate that for the task of personalized ranking our optimization method\noutperforms the standard learning techniques for MF and kNN. The results show\nthe importance of optimizing models for the right criterion.","url_abs":"http://arxiv.org/abs/1205.2618v1","url_pdf":"http://arxiv.org/pdf/1205.2618v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/EternalImmortal/bpr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/GZHoffie/Recommendation_BPR","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/ROpdam/recommender_comparison","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/SH1108/Recommend","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/SeongJinAhn/BPR","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/bbc/theano-bpr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/bbcrd/theano-bpr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/benfred/implicit","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/blueghostyi/id-grec","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/chris-gomes/steam-game-recommendations","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/domainxz/top-k-rec","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/esilezz/accdiv-via-graphconv","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/etlundquist/rankfm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/hwang-sudang/kkoApplemusic","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/jchanxtarov/BPRMF","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/lmcRS/AWS-recommendation-papers","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/lzheng21/DIAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/rohit-ganapathy/Bayesian-Personalized-Ranking","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/sh0416/bpr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/sunzhuntu/Recurrent-Knowledge-Graph-Embedding","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/tiny-snow/ir-benchmark","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/whong92/recommender","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/massquantity/LibRecommender","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bpr-bayesian-personalized-ranking-from","repo_url":"https://github.com/microsoft/recommenders","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1205.2618","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1205.2618"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/benfred/implicit","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/EternalImmortal/bpr","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/SeongJinAhn/BPR","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ROpdam/recommender_comparison","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/etlundquist/rankfm","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/chris-gomes/steam-game-recommendations","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tiny-snow/ir-benchmark","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lzheng21/DIAN","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hwang-sudang/kkoApplemusic","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sunzhuntu/Recurrent-Knowledge-Graph-Embedding","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/SH1108/Recommend","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/GZHoffie/Recommendation_BPR","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jchanxtarov/BPRMF","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/esilezz/accdiv-via-graphconv","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bbcrd/theano-bpr","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/microsoft/recommenders","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sh0416/bpr","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bbc/theano-bpr","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/whong92/recommender","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rohit-ganapathy/Bayesian-Personalized-Ranking","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lmcRS/AWS-recommendation-papers","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/domainxz/top-k-rec","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/massquantity/LibRecommender","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/blueghostyi/id-grec","reach":{"status":"unanswered"}}],"summary":{"ran_fixture":1,"unverified":23},"by_repo_kind":{"listed":{"samples":24,"ran":1,"repositories":4}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"8620a395f0a3a8ad","entry":"convert_unique_idx","repo":"EternalImmortal/bpr","repo_kind":"listed","path":"preprocess.py","file_url":"https://github.com/EternalImmortal/bpr/blob/HEAD/preprocess.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8620a395f0a3a8ad"}},{"code_sha256_prefix":"3f1895c1b7979ccc","entry":"augment_inner_product_matrix","repo":"benfred/implicit","repo_kind":"listed","path":"implicit/utils.py","file_url":"https://github.com/benfred/implicit/blob/HEAD/implicit/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3f1895c1b7979ccc"}},{"code_sha256_prefix":"4d0dbf9cb7e9445e","entry":"bm25_weight","repo":"benfred/implicit","repo_kind":"listed","path":"implicit/nearest_neighbours.py","file_url":"https://github.com/benfred/implicit/blob/HEAD/implicit/nearest_neighbours.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4d0dbf9cb7e9445e"}},{"code_sha256_prefix":"5a6933738d307e97","entry":"check_csr","repo":"benfred/implicit","repo_kind":"listed","path":"implicit/utils.py","file_url":"https://github.com/benfred/implicit/blob/HEAD/implicit/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5a6933738d307e97"}},{"code_sha256_prefix":"6d3ffaf4a60c58eb","entry":"check_random_state","repo":"benfred/implicit","repo_kind":"listed","path":"implicit/utils.py","file_url":"https://github.com/benfred/implicit/blob/HEAD/implicit/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6d3ffaf4a60c58eb"}},{"code_sha256_prefix":"d7f1a1d88c632dba","entry":"compute_hit","repo":"jchanxtarov/BPRMF","repo_kind":"listed","path":"src/utils/metrics.py","file_url":"https://github.com/jchanxtarov/BPRMF/blob/HEAD/src/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d7f1a1d88c632dba"}},{"code_sha256_prefix":"73699d47e9c0ff00","entry":"compute_metrics","repo":"jchanxtarov/BPRMF","repo_kind":"listed","path":"src/utils/metrics.py","file_url":"https://github.com/jchanxtarov/BPRMF/blob/HEAD/src/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"73699d47e9c0ff00"}},{"code_sha256_prefix":"ddc18fe321d7784d","entry":"compute_precision","repo":"jchanxtarov/BPRMF","repo_kind":"listed","path":"src/utils/metrics.py","file_url":"https://github.com/jchanxtarov/BPRMF/blob/HEAD/src/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ddc18fe321d7784d"}},{"code_sha256_prefix":"3929b413a89c4ecb","entry":"convert_unique_idx","repo":"SeongJinAhn/BPR","repo_kind":"listed","path":"preprocess.py","file_url":"https://github.com/SeongJinAhn/BPR/blob/HEAD/preprocess.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3929b413a89c4ecb"}},{"code_sha256_prefix":"6fe5b45c50694d2f","entry":"create_user_list","repo":"EternalImmortal/bpr","repo_kind":"listed","path":"preprocess.py","file_url":"https://github.com/EternalImmortal/bpr/blob/HEAD/preprocess.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6fe5b45c50694d2f"}},{"code_sha256_prefix":"c55ef60f63b830d2","entry":"create_user_list","repo":"SeongJinAhn/BPR","repo_kind":"listed","path":"preprocess.py","file_url":"https://github.com/SeongJinAhn/BPR/blob/HEAD/preprocess.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c55ef60f63b830d2"}},{"code_sha256_prefix":"f25788e7d11a876a","entry":"generate_path_log_file","repo":"jchanxtarov/BPRMF","repo_kind":"listed","path":"src/utils/helpers.py","file_url":"https://github.com/jchanxtarov/BPRMF/blob/HEAD/src/utils/helpers.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f25788e7d11a876a"}},{"code_sha256_prefix":"2f2eaa7252d7b165","entry":"generate_path_model_file","repo":"jchanxtarov/BPRMF","repo_kind":"listed","path":"src/utils/helpers.py","file_url":"https://github.com/jchanxtarov/BPRMF/blob/HEAD/src/utils/helpers.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2f2eaa7252d7b165"}},{"code_sha256_prefix":"7a69b58821a6c1ff","entry":"generate_path_pretrain_file","repo":"jchanxtarov/BPRMF","repo_kind":"listed","path":"src/utils/helpers.py","file_url":"https://github.com/jchanxtarov/BPRMF/blob/HEAD/src/utils/helpers.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7a69b58821a6c1ff"}},{"code_sha256_prefix":"f61c65ae5d8aaa26","entry":"get_index","repo":"EternalImmortal/bpr","repo_kind":"listed","path":"inference_with_output.py","file_url":"https://github.com/EternalImmortal/bpr/blob/HEAD/inference_with_output.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f61c65ae5d8aaa26"}},{"code_sha256_prefix":"a6fb94cd02242f2d","entry":"item_factor","repo":"benfred/implicit","repo_kind":"listed","path":"implicit/cpu/als.py","file_url":"https://github.com/benfred/implicit/blob/HEAD/implicit/cpu/als.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a6fb94cd02242f2d"}},{"code_sha256_prefix":"67dfb497c8208dde","entry":"load_data","repo":"SeongJinAhn/BPR","repo_kind":"listed","path":"preprocess.py","file_url":"https://github.com/SeongJinAhn/BPR/blob/HEAD/preprocess.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"67dfb497c8208dde"}},{"code_sha256_prefix":"59ad70782b2fa0d4","entry":"load_model","repo":"EternalImmortal/bpr","repo_kind":"listed","path":"util_origin.py","file_url":"https://github.com/EternalImmortal/bpr/blob/HEAD/util_origin.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"59ad70782b2fa0d4"}},{"code_sha256_prefix":"896aecd2d4994f18","entry":"normalize","repo":"benfred/implicit","repo_kind":"listed","path":"implicit/nearest_neighbours.py","file_url":"https://github.com/benfred/implicit/blob/HEAD/implicit/nearest_neighbours.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"896aecd2d4994f18"}},{"code_sha256_prefix":"5ab0124e5d65a7e8","entry":"set_env","repo":"EternalImmortal/bpr","repo_kind":"listed","path":"util_origin.py","file_url":"https://github.com/EternalImmortal/bpr/blob/HEAD/util_origin.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5ab0124e5d65a7e8"}},{"code_sha256_prefix":"2f78e267baa58c42","entry":"split_train_test","repo":"EternalImmortal/bpr","repo_kind":"listed","path":"preprocess.py","file_url":"https://github.com/EternalImmortal/bpr/blob/HEAD/preprocess.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2f78e267baa58c42"}},{"code_sha256_prefix":"aeee987913fbda78","entry":"tfidf_weight","repo":"benfred/implicit","repo_kind":"listed","path":"implicit/nearest_neighbours.py","file_url":"https://github.com/benfred/implicit/blob/HEAD/implicit/nearest_neighbours.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"aeee987913fbda78"}},{"code_sha256_prefix":"3aa483cf1abd78de","entry":"user_factor","repo":"benfred/implicit","repo_kind":"listed","path":"implicit/cpu/als.py","file_url":"https://github.com/benfred/implicit/blob/HEAD/implicit/cpu/als.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3aa483cf1abd78de"}},{"code_sha256_prefix":"65a90c4c57f40e8a","entry":"user_linear_equation","repo":"benfred/implicit","repo_kind":"listed","path":"implicit/cpu/als.py","file_url":"https://github.com/benfred/implicit/blob/HEAD/implicit/cpu/als.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"65a90c4c57f40e8a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}