<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lazy Learning on 中文AI术语词典</title><link>https://terms-en.ai-term-hub.com/zh/tags/lazy-learning/</link><description>Recent content in Lazy Learning on 中文AI术语词典</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sat, 18 Jul 2026 11:44:45 +0000</lastBuildDate><atom:link href="https://terms-en.ai-term-hub.com/zh/tags/lazy-learning/index.xml" rel="self" type="application/rss+xml"/><item><title>基于实例的学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/instance_based_learning/</link><pubDate>Sat, 18 Jul 2026 11:22:25 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/instance_based_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>也称为基于记忆的学习，该技术不在训练期间构建泛化模型。相反，它存储整个训练数据集。当需要预测时，它会找到最相似的。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种惰性学习方法，通过将新输入与存储的训练实例进行比较来进行预测。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>惰性学习&lt;/li>
&lt;li>相似度度量&lt;/li>
&lt;li>K近邻 (K-Nearest Neighbors)&lt;/li>
&lt;li>基于记忆&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>推荐系统&lt;/li>
&lt;li>模式识别&lt;/li>
&lt;li>中小型数据集&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">from&lt;/span> sklearn.neighbors &lt;span style="color:#f92672">import&lt;/span> KNeighborsClassifier
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>knn &lt;span style="color:#f92672">=&lt;/span> KNeighborsClassifier(n_neighbors&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">3&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>knn&lt;span style="color:#f92672">.&lt;/span>fit(X_train, y_train)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/knn-k-nearest-neighbors/">KNN (K-Nearest Neighbors)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E7%9B%B8%E4%BC%BC%E5%BA%A6%E6%90%9C%E7%B4%A2-similarity-search/">相似度搜索 (Similarity search)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%83%B0%E6%80%A7%E5%AD%A6%E4%B9%A0-lazy-learning/">惰性学习 (Lazy learning)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%A0%B8%E6%96%B9%E6%B3%95-kernel-methods/">核方法 (Kernel methods)&lt;/a>&lt;/li>
&lt;/ul></description></item></channel></rss>