{"url":"/method/gaussian-affinity","slug":"gaussian-affinity","name":"Gaussian Affinity","full_name":"Gaussian Affinity","full_name_withheld":false,"description_markdown":"**Gaussian Affinity** is a type of affinity or self-similarity function between two points $\\mathbb{x\\_{i}}$ and $\\mathbb{x\\_{j}}$ that uses a Gaussian function:\r\n\r\n$$ f\\left(\\mathbb{x\\_{i}}, \\mathbb{x\\_{j}}\\right) = e^{\\mathbb{x^{T}\\_{i}}\\mathbb{x\\_{j}}} $$\r\n\r\nHere $\\mathbb{x^{T}\\_{i}}\\mathbb{x\\_{j}}$ is dot-product similarity.","description_state":"present","introduced_year":2005,"introduced_by":{"title":null,"paper":null,"first_author":null,"n_authors":0,"url_abs":null,"archive_paper_url":null},"source":{"url":null,"title":null,"url_on_a_paper_host":false},"code_snippet_url":"https://github.com/tea1528/Non-Local-NN-Pytorch/blob/986937674eb3b85d3d3fbaaa8f384c0a26624121/models/non_local.py#L93","code_snippet_url_on_a_code_host":true,"categories":[{"area":"General","area_id":"general","collection":"Affinity Functions","url":"/methods/category/affinity-functions","pwc_aliases":[]}],"n_papers_tagged":0,"archive_num_papers":0,"papers_newest_first":[],"papers_shown":0,"tasks":[],"tasks_shown":0,"n_tasks":0,"usage_by_year":[],"row_source":"methods_table","archive":{"source":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","archive_url":"https://paperswithcode.com/method/gaussian-affinity"},"syntology_read_at":"2026-09-24T18:15:14+00:00"}