Skip to content

SouravInsights/LearnAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LearnAlgorithm 💻

It's a new way of learning Algorithms. The aim of this project is to provide interactive explanations of different AI Algorithms.

Is this project solving any problem ❓

Before I discuss about the project let me tell you about the problems that this project will solve. Nowadays students are less interested to read books or attend any lectures because somehow they find it boring or intimidating.

Nowadays, students are more interested to see some nice interactive explanations on the web. This project aims to create some good interactive explanations of AI algorithms such as Best First Search, Natural Language Processing, Search Algorithms, Regression models etc. basically I want to design some sort of games to explain how different algorithms works.

Let's see an Example: 🔎

Greedy Best First Algorithm - Interactive Explanation Demo

For some moments Stop thinking 🤔 about any algorithms and look at this diagram: 👇

1st

Suppose, you’re travelling from your office to your home and you want to reach as soon as possible, then which path will you choose? Think for a while. 🤔

Ok, now let's look at the next diagram: 👇

2nd

If I’m not wrong, you might have thought about this path, which seems the shortest among all, right? If it is right then you’ve just tried to be greedy. 💰

In this way, we as a human, decide which case/path is best for us. Now let's think from an computer's perspective. I think you all have played Counter Strike! **Have you ever wondered how an enemy agent finds the location of the player in the Game World? **

This is where Algorithms comes into play. In games, Best-first search may be used as a path-finding algorithm for game characters.

For a better understanding of Greedy Best First Search Algorithm, I've created a basic interactive game which you might want to play to have a better understanding. Head over to this link and scroll down to find the game.

Planning for future:

As of now, I've only created the visualization for Greedy Best Search Algorithm. So I'm planning to create more visualization to certain search algorithms like: Dijkstra's Algorithm, A* Algorithm, Depth First Search, Breadth First Search and some Machine Algorithms like Linear Regression etc.