Skip to main content

Differentiating AI, ML and DL



 AI (Artificial Intelligence), ML (Machine Learning) and DL (Deep Learning) are the buzzwords right now. Almost everyone is talking about it right now. And every day there’s a new technique or tech-related AI is developed by people. In this blog, I’ll try to explain what the field is about and what the general difference is. First of all these three are not separate fields, there’s a hierarchy. On the top its AI then one subset of it is ML and one subset of ML is DL.






Artificial Intelligence



Let’s talk about AI-first. Artificial Intelligence is an idea to develop a fully functional Intelligence with the machine. Machines are capable of doing lots of complex calculations very quickly compared to humans. The theory of AI goes way back to 1950s. The idea is to develop a thinking machine, a brain build by copper wires. Now to develop intelligence, we should define intelligence. There are two main approaches to build AI. The first one is the Symbolic AI. The idea behind symbolic AI is that every problem can be boiled down to math and logical manipulation of equations. So be it a task to play chess, to create complex geometry, prove theorems, etc. after the following decades people started building AI. But there is a flaw if you look closely it is just like any other machine you feed instructions, it calculates and gives output. The difference is the size of calculation is increased. For example, to build the chess-playing robot we add all the rules of the game and through calculations, it gives the best strategy. And this AI is not flexible, for every problem we have to write the clear commands for example to win chess we have rules. But what If the problem is too general say to distinguish between cat and dogs, what set of instructions can you give to the machine to differentiate the animals. That’s where ML comes in.      

Machine Learning


Now to solve the cat vs. dog task, we need to understand how we do it. We differentiate animals because we had seen them many times and we understand the features of any animals. So Machine learning is about taking data, images of cats and dogs, create a program that understands the features of cats and dogs like the type of fur, body structure, the shape of the mouth, etc. In ML we use mathematical formulas such as y = mx + b and many more to find these features in Images. 

After creating a program we can give the image of cat and dog and it will correctly identify it as cat and dog. But there is still a problem, for a program to correctly distinguish between cat and dog, we manually have to give all the features like how the cat looks like, shape of its body, type of the fur, body colour, etc. and also thousands of example images. And now, DL comes to save the day.       

Deep Learning


To solve the above-said problem, we take inspiration from how our brain works. We have billions of neurons a type of cells that constantly communicate with each other and process the information. So in Deep learning, we define the small program as neuron which process information and we build hundreds of these create a whole network of interconnected neurons and thus the name neural network. The main advantage is that it extracts the features of data on its own and computes the desired output. So for our cat and dog problem we provide hundreds of images of cat and dog, it extracts features from those images on its own and predicts whether the new image is of cat or dog. 
The above explanation of ML and DL is little bit AI-centric, very theoretical. But in the real world, the ML and DL are the tools used to extract patterns and gain insights from huge and complex data and to provide solutions to problems.

Hope you have now a clear idea about the field. If there are any questions, ask in comments.

Comments

Popular posts from this blog

Roy: The Pledge

This is part 1 of the Roy series. Once upon a time, In the land far far away. There lived Roy A timid, cute boy. He spend his day alone, Reading Books under sun, For in school his timidness was subject to fun. One beautiful day, under clear sky, He saw something which could fly. That was not a bird or a plane. Lo, it was wizard on his invisible pane. The wizard descended, worn and tired. He asked Roy " what doth thou heart desire? " Long have I dwelleth in this place, Now my soul wants to flee. I want to experience power and pace, Oh, wizard make myself into thee. Wizard smiled and casted spell with joy. Thus began the journey of wizard Roy. Part 2:-  Roy: The Turn

Journey to the edge of the universe….

Hey guys… My name is Shyam I am a student and studying software development. I’m very much passionate about science and especially physics. You can say astronomy is my hobby. I'm starting this blog to spread my curiosity about science.  Most of people hate even listening about science. Whereas some don’t like because they don’t fundamentally understand science. We humans are born explorers, ever seen an infant child trying to figure out where he or she is and who are other people…. We are born curious but something happen terribly wrong during teenage years, we lost all curiosity. People also tend to ignore the science on a daily basis because we either are too busy in our routine or else there is no spark from within to pursue the curiosity. Now you may wonder why it is important why should we care?.... because Knowledge is preferable to ignorance. Better by far to embrace hard truth then reassuring faith. Our understanding of this world helps us to survive, science ...

Noontide

  It seemed from past few days, I find myself on a slippery slope. This modern mania, the modern world is slipping away, beyond the scope. It's too late now to create my drop of honey. For what good is drop compared to the ocean. So it seemed when I looked outward and away, But when I looked inward, it's empty,  it longs for honey, for creating. But this however I found. Not by looking beyond but looking around. This pace and slipping slope, Is the mirage created by the modern globe. Everything is still, around me, Everything is still human, in me, There came in me, a dark tide. But went away in this warm noontide. Hush! the world is perfect now, In this great noontide. When modern pipers are not blowing their pipe, The sun, the tree, and the lazy brow, Hush! the world is perfect now.