Member-only story

An intuitive explanation of Beam Search

A simple to understand explanation of Beam search

Renu Khandelwal
Towards Data Science
6 min readFeb 2, 2020

--

In this article, we will learn:

  • What is Beam Search, and how does it work?
  • Difference between Beam search and Greedy search

Prerequisites:

Photo by Romain Vignes on Unsplash

In this article, you will get a detailed explanation of how neural machine translation developed using sequence to sequence algorithm to find the most relevant words in sentences for a target language.

What is Beam search?

To understand the Beam search, we will use the neural machine translation use case of sequence to sequence.

The sequence to sequence model uses an encoder and decoder framework with Long Short Term Memory(LSTM) or Gated Recurrent…

--

--

Towards Data Science
Towards Data Science

Published in Towards Data Science

Your home for data science and AI. The world’s leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals.

Renu Khandelwal
Renu Khandelwal

Written by Renu Khandelwal

A Technology Enthusiast who constantly seeks out new challenges by exploring cutting-edge technologies to make the world a better place!

Responses (4)