{"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/out-of-distribution-detection-with-deep","title":"Out-of-Distribution Detection with Deep Nearest Neighbors","arxiv_id":"2204.06507","date":"2022-04-13","proceeding":null,"authors":["Yiyou Sun","Yifei Ming","Xiaojin Zhu","Yixuan Li"],"abstract":"Out-of-distribution (OOD) detection is a critical task for deploying machine learning models in the open world. Distance-based methods have demonstrated promise, where testing samples are detected as OOD if they are relatively far away from in-distribution (ID) data. However, prior methods impose a strong distributional assumption of the underlying feature space, which may not always hold. In this paper, we explore the efficacy of non-parametric nearest-neighbor distance for OOD detection, which has been largely overlooked in the literature. Unlike prior works, our method does not impose any distributional assumption, hence providing stronger flexibility and generality. We demonstrate the effectiveness of nearest-neighbor-based OOD detection on several benchmarks and establish superior performance. Under the same model trained on ImageNet-1k, our method substantially reduces the false positive rate (FPR@TPR95) by 24.77% compared to a strong baseline SSD+, which uses a parametric approach Mahalanobis distance in detection. Code is available: https://github.com/deeplearning-wisc/knn-ood.","url_abs":"https://arxiv.org/abs/2204.06507v3","url_pdf":"https://arxiv.org/pdf/2204.06507v3.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":"out-of-distribution-detection-with-deep","repo_url":"https://github.com/deeplearning-wisc/knn-ood","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"out-of-distribution-detection-with-deep","repo_url":"https://github.com/ArthurHoa/deep-eknn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"out-of-distribution-detection-with-deep","repo_url":"https://github.com/munhouiani/ood-knn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok"}}],"tasks":[{"task_slug":"out-of-distribution-detection","task_name":"Out-of-Distribution Detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/out-of-distribution-detection-on-imagenet-1k-9","task":"Out-of-Distribution Detection","dataset":"ImageNet-1k vs Places","model":"KNN (ResNet-50 SupCon)","rank_in_archive_order":17,"of":25,"metrics":{"AUROC":"84.62","FPR95":"60.02"},"uses_additional_data":false},{"leaderboard":"/sota/out-of-distribution-detection-on-imagenet-1k-9","task":"Out-of-Distribution Detection","dataset":"ImageNet-1k vs Places","model":"KNN (ResNet-50)","rank_in_archive_order":23,"of":25,"metrics":{"AUROC":"74.87","FPR95":"77.09"},"uses_additional_data":false},{"leaderboard":"/sota/out-of-distribution-detection-on-imagenet-1k-8","task":"Out-of-Distribution Detection","dataset":"ImageNet-1k vs SUN","model":"KNN (ResNet-50 SupCon)","rank_in_archive_order":15,"of":22,"metrics":{"AUROC":"88.40","FPR95":"48.91"},"uses_additional_data":false},{"leaderboard":"/sota/out-of-distribution-detection-on-imagenet-1k-8","task":"Out-of-Distribution Detection","dataset":"ImageNet-1k vs SUN","model":"KNN (ResNet-50)","rank_in_archive_order":19,"of":22,"metrics":{"AUROC":"80.10","FPR95":"69.53"},"uses_additional_data":false},{"leaderboard":"/sota/out-of-distribution-detection-on-imagenet-1k-10","task":"Out-of-Distribution Detection","dataset":"ImageNet-1k vs Textures","model":"KNN (ResNet-50)","rank_in_archive_order":6,"of":34,"metrics":{"AUROC":"97.18","FPR95":"11.56"},"uses_additional_data":false},{"leaderboard":"/sota/out-of-distribution-detection-on-imagenet-1k-10","task":"Out-of-Distribution Detection","dataset":"ImageNet-1k vs Textures","model":"KNN (ResNet-50 SupCon)","rank_in_archive_order":11,"of":34,"metrics":{"AUROC":"94.45","FPR95":"16.97"},"uses_additional_data":false},{"leaderboard":"/sota/out-of-distribution-detection-on-imagenet-1k-3","task":"Out-of-Distribution Detection","dataset":"ImageNet-1k vs iNaturalist","model":"KNN (ResNet-50 SupCon)","rank_in_archive_order":16,"of":28,"metrics":{"AUROC":"94.72","FPR95":"30.83"},"uses_additional_data":false},{"leaderboard":"/sota/out-of-distribution-detection-on-imagenet-1k-3","task":"Out-of-Distribution Detection","dataset":"ImageNet-1k vs iNaturalist","model":"KNN (ResNet-50)","rank_in_archive_order":22,"of":28,"metrics":{"AUROC":"86.2","FPR95":"59.08"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2204.06507","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2204.06507"}},"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/munhouiani/ood-knn","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/deeplearning-wisc/knn-ood","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ArthurHoa/deep-eknn","reach":null}],"summary":{"ran_honours":4,"ran_violates":5,"ran_fixture":15,"ran_draft_wrong":6,"unverified":8},"by_repo_kind":{"official":{"samples":19,"ran":16,"repositories":1},"listed":{"samples":19,"ran":14,"repositories":1}},"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":38,"samples":[{"code_sha256_prefix":"aafda009101cbfd4","entry":"G_p","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"aafda009101cbfd4"}},{"code_sha256_prefix":"d19bd686618a876f","entry":"btom","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d19bd686618a876f"}},{"code_sha256_prefix":"44a0bd7d7960c422","entry":"btopl","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"44a0bd7d7960c422"}},{"code_sha256_prefix":"7d9344ac520f8918","entry":"calc_loss","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7d9344ac520f8918"}},{"code_sha256_prefix":"0b036e2cb2801ede","entry":"decisionDST","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0b036e2cb2801ede"}},{"code_sha256_prefix":"9b68216c4f2d895c","entry":"forward_fun","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9b68216c4f2d895c"}},{"code_sha256_prefix":"32ed88f27881480a","entry":"get_Mahalanobis_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"32ed88f27881480a"}},{"code_sha256_prefix":"e3080865e3e46e82","entry":"get_ModedMaha_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e3080865e3e46e82"}},{"code_sha256_prefix":"6c3b1825ad096dce","entry":"get_cos_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6c3b1825ad096dce"}},{"code_sha256_prefix":"209469a90d2f8a72","entry":"get_energy_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"209469a90d2f8a72"}},{"code_sha256_prefix":"5560caaae9a95e1e","entry":"get_exlgst_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5560caaae9a95e1e"}},{"code_sha256_prefix":"bc501b91abbe50d1","entry":"get_godin_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bc501b91abbe50d1"}},{"code_sha256_prefix":"3d782851b3c7d7e7","entry":"get_gradient_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3d782851b3c7d7e7"}},{"code_sha256_prefix":"861d7015808075fb","entry":"get_infl_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"861d7015808075fb"}},{"code_sha256_prefix":"683101b9e3719e85","entry":"get_lgst_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"683101b9e3719e85"}},{"code_sha256_prefix":"0d63630115fb978b","entry":"get_mahalanobis_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0d63630115fb978b"}},{"code_sha256_prefix":"0b59395cfb5cb50d","entry":"get_modedmaha_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0b59395cfb5cb50d"}},{"code_sha256_prefix":"6126345504c875f7","entry":"get_msp_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6126345504c875f7"}},{"code_sha256_prefix":"4f51a10a1b49685f","entry":"get_odin_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4f51a10a1b49685f"}},{"code_sha256_prefix":"0dee8a92419cff7b","entry":"mtob","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0dee8a92419cff7b"}},{"code_sha256_prefix":"bc8c3813716a0475","entry":"mtobel","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bc8c3813716a0475"}},{"code_sha256_prefix":"d666af0191f0d996","entry":"mtobetp","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d666af0191f0d996"}},{"code_sha256_prefix":"c8f5824b7a3abec9","entry":"mtonm","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c8f5824b7a3abec9"}},{"code_sha256_prefix":"b502b7ebecfb473e","entry":"mtopl","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b502b7ebecfb473e"}},{"code_sha256_prefix":"bbbc398d91edfdea","entry":"mtoq","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bbbc398d91edfdea"}},{"code_sha256_prefix":"e3776c1edecaa404","entry":"mtow","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e3776c1edecaa404"}},{"code_sha256_prefix":"d9c1685e770cd6de","entry":"qtom","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d9c1685e770cd6de"}},{"code_sha256_prefix":"de4f0891f2a2ecb3","entry":"qtow","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"de4f0891f2a2ecb3"}},{"code_sha256_prefix":"9970a3a581cf0c70","entry":"wtom","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9970a3a581cf0c70"}},{"code_sha256_prefix":"5ac9567da183a7fb","entry":"wtoq","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5ac9567da183a7fb"}},{"code_sha256_prefix":"86c6428acf21785c","entry":"DST","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"86c6428acf21785c"}},{"code_sha256_prefix":"c615b69c364d7bbd","entry":"EKNN","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c615b69c364d7bbd"}},{"code_sha256_prefix":"df7da02ff75b6fbd","entry":"LNS","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"df7da02ff75b6fbd"}},{"code_sha256_prefix":"ed7b5ddceab83aeb","entry":"LNS_SSF","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ed7b5ddceab83aeb"}},{"code_sha256_prefix":"ba2203eb42a97fcf","entry":"compute_deviations","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ba2203eb42a97fcf"}},{"code_sha256_prefix":"4c3cef6f0f0e686b","entry":"get_gram_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4c3cef6f0f0e686b"}},{"code_sha256_prefix":"b874b3a0ce06fd5f","entry":"get_score","repo":"deeplearning-wisc/knn-ood","repo_kind":"official","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b874b3a0ce06fd5f"}},{"code_sha256_prefix":"422865e3a9dbb328","entry":"noise_imprecision","repo":"ArthurHoa/deep-eknn","repo_kind":"listed","path":"deep_eknn.py","file_url":"https://github.com/ArthurHoa/deep-eknn/blob/HEAD/deep_eknn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"422865e3a9dbb328"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}