<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Training Methods on 中文AI术语词典</title><link>https://terms-en.ai-term-hub.com/zh/tags/training-methods/</link><description>Recent content in Training Methods 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/training-methods/index.xml" rel="self" type="application/rss+xml"/><item><title>惰性学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/lazy_learning/</link><pubDate>Sat, 18 Jul 2026 11:23:41 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/lazy_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>惰性学习者（如k近邻算法）会记住整个训练数据集，仅在做出预测时才进行计算。这与急切学习形成对比，后者会在训练阶段构建一个通用模型。&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>k近邻算法&lt;/li>
&lt;li>推理成本&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>clf &lt;span style="color:#f92672">=&lt;/span> KNeighborsClassifier(n_neighbors&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5&lt;/span>)
&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/instance_based_learning-%E5%9F%BA%E4%BA%8E%E5%AE%9E%E4%BE%8B%E7%9A%84%E5%AD%A6%E4%B9%A0/">instance_based_learning (基于实例的学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/knn-k%E8%BF%91%E9%82%BB%E7%AE%97%E6%B3%95/">knn (k近邻算法)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/eager_learning-%E6%80%A5%E5%88%87%E5%AD%A6%E4%B9%A0/">eager_learning (急切学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/generalization-%E6%B3%9B%E5%8C%96/">generalization (泛化)&lt;/a>&lt;/li>
&lt;/ul></description></item></channel></rss>