Tagged articles
KNN
34 articles · Page 1 of 1
The article explains that while dense vector data can be moved from Elasticsearch to Easysearch, the field types, indexing algorithms, query DSL, and filter semantics differ, requiring careful mapping changes, query rewrites, and thorough validation to avoid mismatched results.
EasysearchElasticsearchKNN
0 likes · 11 min read

This article walks through the complete end‑to‑end pipeline for building a production‑grade RAG system—including document chunking, embedding generation via MiMo, vector storage and kNN retrieval in Easysearch, hybrid search configuration, prompt engineering, answer generation, interactive chat, and a detailed list of common pitfalls and fixes.
EasysearchKNNLangChain
0 likes · 17 min read

The article compares Easysearch and Elasticsearch vector‑search capabilities, showing that both support vector queries but use different field types and DSL structures, and it outlines migration pitfalls and practical advice for choosing the right system.
API compatibilityDSLEasysearch
0 likes · 7 min read

This article walks through building a practical Elasticsearch demo that lets users type a single query like “nearby clean coffee shop” and get results by combining dense‑vector semantic search, geo filtering, BM25, and a hybrid RRF‑style ranking, with both LLM‑based structuring and a fallback hash‑based embedding.
BM25FlaskHybrid Search
0 likes · 10 min read

This article provides a comprehensive technical guide to Elasticsearch’s core retrieval models—BM25 and TF‑IDF—while detailing modern vector‑based search using dense_vector, kNN, L2 and cosine distances, and demonstrates how to combine keyword and semantic results through hybrid search and Reciprocal Rank Fusion (RRF) with practical configuration examples.
BM25ElasticsearchKNN
0 likes · 42 min read

This tutorial walks through constructing a complete music‑genre classification project using Python, covering dataset preparation, MFCC feature extraction, K‑Nearest Neighbors implementation, train‑test splitting, model evaluation, and testing on new audio files, all with reproducible code snippets.
KNNMFCCMusic Genre Classification
0 likes · 14 min read

This tutorial walks through building a music‑genre classification system using the GTZAN dataset, extracting MFCC features, implementing a K‑Nearest Neighbors classifier in Python, and achieving roughly 70% accuracy on test data.
KNNMFCCMusic Genre Classification
0 likes · 14 min read

This article explains how Elasticsearch supports vector search through three field types—semantic_text, dense_vector, and sparse_vector—detailing their definitions, ideal use cases, query syntax, advantages, limitations, and guidance for selecting the right type in real‑world search applications.
ElasticsearchEmbeddingKNN
0 likes · 14 min read

This article explains the principles of vector search, compares Easysearch's approximate (LSH) and exact kNN APIs, and walks through a complete hands‑on example using Stanford's 50‑dimensional GloVe embeddings to index, import, and query semantically similar words.
Approximate SearchEasysearchExact Search
0 likes · 9 min read

This article explains how vector embeddings enhance Elasticsearch for semantic search and recommendation, walks through the complete workflow of generating, storing, and querying embeddings, and provides detailed Python and Logstash implementations with code samples, pros and cons, and guidance on choosing the right approach.
ElasticsearchKNNLogstash
0 likes · 11 min read

This article explains how vector embeddings enhance Elasticsearch 8.x search, walks through the concepts of dense vectors, shows step‑by‑step Python and Logstash pipelines for generating and storing embeddings, compares their pros and cons, and offers guidance on selecting the right approach for large‑scale log data.
ElasticsearchKNNLogstash
0 likes · 12 min read

This article provides a comprehensive guide to the K‑Nearest Neighbors algorithm, covering its intuitive principle, step‑by‑step workflow, distance metrics, strategies for selecting the optimal K via cross‑validation, Python implementation with scikit‑learn, advantages, limitations, and diverse application scenarios.
ClassificationKNNPython
0 likes · 24 min read

This article explains Elasticsearch's dense_vector field for storing dense vectors, covering its definition, how to define and index vectors, kNN search methods (brute‑force and approximate with HNSW), similarity options, quantization strategies, bit‑vector support, key parameters, and how to update mappings.
ElasticsearchKNNSimilarity
0 likes · 13 min read

With the rise of LLMs, vector search and vector databases have become essential for extending model memory, and this article explains the principles, algorithms, design choices, implementation details, and performance results of ByteHouse’s cloud‑native vector retrieval engine.
ANNByteHouseKNN
0 likes · 14 min read

This beginner-friendly guide walks through loading the classic Iris dataset, performing exploratory data analysis, and implementing four fundamental classifiers—Decision Tree, Logistic Regression, Support Vector Machine, and K‑Nearest Neighbors—complete with training, visualization, and accuracy evaluation, illustrating a full machine‑learning workflow.
ClassificationKNNSVM
0 likes · 22 min read

This article describes how Tubi built the Rosetta Stone system—a flexible ID mapping workflow that leverages large language models, embedding similarity ranking, and K‑nearest‑neighbors to unify and enrich metadata across a 200,000‑title library, improve content recommendation, and streamline operations.
KNNLLMbig data
0 likes · 10 min read

This article explains how Apache Solr implements neural search using dense vector fields, K‑Nearest Neighbor algorithms, and Hierarchical Navigable Small World graphs, detailing the underlying Lucene support, configuration options, query syntax, and integration with AI‑driven vector representations.
AIApache SolrDense Vectors
0 likes · 15 min read

This tutorial walks you through installing Elasticsearch 8.x, generating sentence embeddings with Python, creating a dense_vector index, bulk‑loading documents, and performing both exact and approximate k‑nearest‑neighbor queries using script_score and the built‑in knn API.
Dense VectorsKNNNeural Search
0 likes · 21 min read

The article walks through a real‑world case of locating the K closest national weather stations to a Beijing site, explains why naive full‑scan using Vincenty's formula is slow, and details a tile‑based indexing solution that cuts query time to 900‑3000 ns and reduces CPU usage by about 10 percent.
GeospatialGoKNN
0 likes · 7 min read

This article explains how Apache Solr and Lucene implement neural search using dense vector fields, hierarchical navigable small‑world (HNSW) graphs, and approximate K‑nearest neighbor algorithms, covering configuration, custom codecs, indexing formats, and query parsers for vector‑based retrieval.
Apache SolrDense VectorsHNSW
0 likes · 15 min read

Elasticsearch 8.0 introduces major updates including 7.x REST API compatibility headers, default-enabled security with registration tokens, known issues on ARM/macOS, a preview KNN search API using dense_vector, storage reductions for keyword and text fields, faster geo indexing, PyTorch model support, and numerous other enhancements across aggregations, allocation, analysis, authentication, and core infrastructure.
ElasticsearchKNNPyTorch
0 likes · 10 min read

Elasticsearch 8.0 introduces major updates including 7.x REST API compatibility headers, default‑enabled security with registration tokens, protected system indices, a preview KNN search API, storage‑efficient keyword/match_only_text/text fields, faster indexing for geo_point and geo_shape, PyTorch model support, and numerous deprecations and enhancements across aggregations, allocation, analysis, authentication, cluster coordination, and engine components.
BackendElasticsearchKNN
0 likes · 8 min read

Elasticsearch 8.0 introduces major updates including 7.x REST API compatibility headers, default-enabled security with enrollment tokens, protected system indices, a preview KNN search API, storage‑saving field encodings, faster geo indexing, and numerous deprecations and enhancements across aggregations, authentication, cluster coordination, and packaging.
API compatibilityElasticsearchKNN
0 likes · 10 min read

The article provides a comprehensive overview of Elasticsearch 8.0, highlighting major updates such as 7.x REST API compatibility headers, default-enabled security, system‑index protection, a new KNN search API, storage and indexing optimizations, PyTorch model support, and numerous deprecations and feature removals across the stack.
8.0APIElasticsearch
0 likes · 10 min read

Elasticsearch 8.0 introduces major changes such as 7.x REST API compatibility headers, default‑enabled security with registration tokens, protected system indices, a technical preview of KNN search, storage‑saving field encodings, faster geo‑point indexing, PyTorch model support for NLP, and numerous deprecations and improvements across aggregations, allocation, analysis, authentication, cluster coordination, and packaging.
APIElasticsearchKNN
0 likes · 10 min read

This comprehensive tutorial introduces machine learning fundamentals, its history, differences from traditional programming, key characteristics, and why Python is the preferred language, then explores supervised, unsupervised, and reinforcement learning, popular algorithms, detailed K‑Nearest Neighbors examples for classification and regression, and the essential steps to build and evaluate models.
KNNPythonReinforcement Learning
0 likes · 21 min read

This article introduces the concept and intuition behind the k-Nearest Neighbor (kNN) classification algorithm, explains its simple and full forms, discusses feature engineering and Euclidean distance calculations, and provides a complete Python implementation with example code.
ClassificationKNNeuclidean distance
0 likes · 10 min read

This article explains the k‑Nearest Neighbors classification method, discusses its advantages and drawbacks, describes data preparation and normalization, presents Python code for the algorithm and a full handwritten digit recognition project, and reports an error rate of about 1.2%.
ClassificationKNNeuclidean distance
0 likes · 9 min read

This article introduces the background of vector representations in machine learning, explains the K‑Nearest Neighbors algorithm and its key parameters, reviews traditional tree‑based and modern high‑performance search solutions, and demonstrates how FAISS can achieve microsecond‑level KNN queries on large‑scale high‑dimensional data.
FaissKNNVector Search
0 likes · 5 min read


21CTOApr 12, 2019 · Artificial Intelligence
This article provides a concise overview of ten fundamental machine learning algorithms—linear regression, logistic regression, linear discriminant analysis, naive Bayes, K‑nearest neighbors, learning vector quantization, support vector machines, decision trees, bagging/random forest, and boosting/AdaBoost—explaining their principles, typical use cases, and key characteristics.
KNNNaive BayesRandom Forest
0 likes · 13 min read


JD TechFeb 12, 2019 · Artificial Intelligence
The article explains content‑based filtering for recommendation systems, covering its basic concepts, feature requirements, implementation using vector representations and cosine similarity, advantages and disadvantages, and supplementary algorithms such as k‑Nearest Neighbor, Rocchio, decision trees, linear classifiers, and Naive Bayes.
KNNNaive BayesRecommendation System
0 likes · 11 min read

This tutorial walks through using OpenCV and a K‑Nearest Neighbors model to preprocess, segment, manually label, train, and finally recognize distorted, noisy CAPTCHA images, achieving about 82% accuracy on a test set of one hundred samples.
CAPTCHAKNNOpenCV
0 likes · 12 min read

This comprehensive tutorial walks you through Python data mining and machine learning fundamentals, covering data preprocessing techniques, common classification algorithms, an Iris flower classification case study, and practical tips for selecting the right algorithm, all illustrated with clear code examples and visualizations.
KNNNaive BayesPython
0 likes · 22 min read

This article introduces the concepts of classification and prediction in data mining, outlines their workflow, and provides concise explanations of six widely used classification techniques—decision trees, K‑Nearest Neighbour, Support Vector Machine, Vector Space Model, Bayesian methods, and neural networks—highlighting their principles, advantages, and limitations.
BayesianKNNSVM
0 likes · 9 min read
