<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Negation on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/negation/</link>
    <description>Recent content in Negation on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 07 Sep 2026 11:10:00 +0000</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/negation/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The Nearest Neighbor Can Be Wrong</title>
      <link>http://programmer.ie/books/embeddings-from-first-principles/10-chapter/</link>
      <pubDate>Mon, 07 Sep 2026 11:10:00 +0000</pubDate>
      <guid>http://programmer.ie/books/embeddings-from-first-principles/10-chapter/</guid>
      <description>&lt;p&gt;&lt;em&gt;Part III — Retrieval Is an Experiment&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-result-that-is-closest-and-wrong&#34;&gt;The result that is closest and wrong&lt;/h2&gt;&#xA;&lt;p&gt;Query:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Is Dublin the capital of Ireland?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Top retrieved passage, cosine 0.91:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Dublin is not, and has never been, the capital of Ireland — that&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;distinction belongs to the older seat of government at Tara.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Fluent, on-topic, confidently phrased, geometrically the closest thing in the corpus — and false. A model handed this passage as context may repeat its claim. The retrieval system did its job perfectly: it found the nearest vector. &amp;ldquo;Nearest&amp;rdquo; was not &amp;ldquo;correct.&amp;rdquo;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
