<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Data Structures on 中文AI术语词典</title><link>https://terms-en.ai-term-hub.com/zh/tags/data-structures/</link><description>Recent content in Data Structures 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/data-structures/index.xml" rel="self" type="application/rss+xml"/><item><title>张量</title><link>https://terms-en.ai-term-hub.com/zh/terms/tensor/</link><pubDate>Sat, 18 Jul 2026 11:35:54 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/tensor/</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>维度&lt;/li>
&lt;li>广播机制&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>图像处理（4D张量）&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">import&lt;/span> torch
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>t &lt;span style="color:#f92672">=&lt;/span> torch&lt;span style="color:#f92672">.&lt;/span>tensor([[&lt;span style="color:#ae81ff">1&lt;/span>, &lt;span style="color:#ae81ff">2&lt;/span>], [&lt;span style="color:#ae81ff">3&lt;/span>, &lt;span style="color:#ae81ff">4&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/matrix-%E7%9F%A9%E9%98%B5/">Matrix (矩阵)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/vector-%E5%90%91%E9%87%8F/">Vector (向量)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/deep-learning-%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0/">Deep Learning (深度学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/numpy-%E6%95%B0%E5%80%BC%E8%AE%A1%E7%AE%97%E5%BA%93/">NumPy (数值计算库)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>分层可导航小世界</title><link>https://terms-en.ai-term-hub.com/zh/terms/hierarchical_navigable_small_world/</link><pubDate>Sat, 18 Jul 2026 11:20:58 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/hierarchical_navigable_small_world/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>分层可导航小世界（HNSW）算法构建了一个多层图结构，其中每一层包含下一层节点的子集。导航从顶层开始，逐步向下移动到更详细的层级，直到找到最近的邻居。这种方法结合了小世界网络的快速收敛特性和分层结构的效率，实现了高维向量的高效近似最近邻搜索。&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>多层图&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="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/k-nearest-neighbors-k%E8%BF%91%E9%82%BB/">K-Nearest Neighbors (K近邻)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/faiss-facebook-ai-similarity-search%E5%BA%93/">Faiss (Facebook AI Similarity Search库)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/annoy-spotify%E5%BC%80%E5%8F%91%E7%9A%84%E8%BF%91%E4%BC%BC%E6%9C%80%E8%BF%91%E9%82%BB%E5%BA%93/">Annoy (Spotify开发的近似最近邻库)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>Bloom</title><link>https://terms-en.ai-term-hub.com/zh/terms/bloom/</link><pubDate>Sat, 18 Jul 2026 11:09:30 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/bloom/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>虽然历史上指本杰明·布鲁姆的教育分类法，但在现代人工智能语境中，它通常指由BigScience开发的Bloom文本嵌入模型。该模型生成高质量的……&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>在机器学习中，“Bloom”通常指应用于人工智能教育的布鲁姆分类法，或特定的嵌入模型（如Bloom文本嵌入模型）。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>文本嵌入&lt;/li>
&lt;li>语义搜索&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>自然语言处理 (NLP)&lt;/li>
&lt;li>数据库索引优化&lt;/li>
&lt;li>内容推荐系统&lt;/li>
&lt;/ul>
&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/embedding-%E5%B5%8C%E5%85%A5/">Embedding (嵌入)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/vector-database-%E5%90%91%E9%87%8F%E6%95%B0%E6%8D%AE%E5%BA%93/">Vector Database (向量数据库)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/hash-function-%E5%93%88%E5%B8%8C%E5%87%BD%E6%95%B0/">Hash Function (哈希函数)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/nlp-%E8%87%AA%E7%84%B6%E8%AF%AD%E8%A8%80%E5%A4%84%E7%90%86/">NLP (自然语言处理)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>球树</title><link>https://terms-en.ai-term-hub.com/zh/terms/ball_tree/</link><pubDate>Sat, 18 Jul 2026 11:08:27 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/ball_tree/</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>高维数据&lt;/li>
&lt;li>树遍历&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>K近邻算法 (KNN)&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> BallTree
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> numpy &lt;span style="color:#66d9ef">as&lt;/span> np
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>X &lt;span style="color:#f92672">=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>random&lt;span style="color:#f92672">.&lt;/span>rand(&lt;span style="color:#ae81ff">100&lt;/span>, &lt;span style="color:#ae81ff">5&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>tree &lt;span style="color:#f92672">=&lt;/span> BallTree(X, metric&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#39;euclidean&amp;#39;&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/kd-tree-k%E7%BB%B4%E6%A0%91/">KD-tree (K维树)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/k-nearest-neighbors-k%E8%BF%91%E9%82%BB/">K-Nearest Neighbors (K近邻)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/curse-of-dimensionality-%E7%BB%B4%E5%BA%A6%E7%81%BE%E9%9A%BE/">Curse of Dimensionality (维度灾难)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>图</title><link>https://terms-en.ai-term-hub.com/zh/terms/graph/</link><pubDate>Sat, 18 Jul 2026 10:51:41 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/graph/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>图是人工智能中的一种基本数据结构，由顶点（节点）和边（链接）组成，用于表示关系。图神经网络（GNN）利用这种结构在非欧几里得数据上进行学习。&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>邻接矩阵&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="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/gnn-%E5%9B%BE%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C/">GNN (图神经网络)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/network-%E7%BD%91%E7%BB%9C/">Network (网络)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/topology-%E6%8B%93%E6%89%91/">Topology (拓扑)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/edge-%E8%BE%B9/">Edge (边)&lt;/a>&lt;/li>
&lt;/ul></description></item></channel></rss>