Coursera

Tune HNSW

LearningMate

Instructor: LearningMate

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

3 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

3 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Build and tune HNSW index parameters to balance recall and query speed for specific use cases.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

March 2026

Assessments

2 assignments¹

AI Graded see disclaimer
Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Vector DB Foundations, Embeddings & Search Algorithms Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 2 modules in this course

This module lays the groundwork for vector search optimization. You will discover why the initial construction of an HNSW index is critical for performance, using Microsoft Bing's massive scale as a case study. You will learn what the build-time parameters M and efConstruction control, and how to implement them to create a robust index graph. The module concludes with a practice assignment to solidify your understanding of how to build a quality index from the start.

What's included

2 videos1 reading1 assignment

In this module, you will shift your focus to query-time optimization. Using Amazon's visual product search as a guide, you will learn how to tune the efSearch parameter to achieve the right balance between recall and latency for your users. You'll apply this knowledge in a hands-on lab to generate a performance curve and make data-driven decisions. The course culminates in a final project where you will bring all the skills together to tune and justify a complete HNSW implementation for a new, real-world scenario.

What's included

2 videos2 readings1 assignment1 ungraded lab

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

LearningMate
223 Courses 13,093 learners

Offered by

Coursera

Explore more from Algorithms

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions

¹ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.