DEV Community

Cover image for Machine Learning Basics (Subsets of AI)
Programming with Shahan
Programming with Shahan

Posted on • Updated on

Machine Learning Basics (Subsets of AI)

🤷‍♂️What is Machine Learning?

Machine Learning which is a subset of A.I or Artificial Intelligence. It's one of the trending topics in the world these days, and it's going to have a lot of application in the future.

Machine learning is the study of computer algorithms that can improve automatically through experience and by the use of data. It is a branch of artificial intelligence based on the idea that systems can learn from data, identify patterns and make decisions with minimal human intervention.

Here is a real example:🔻

Machine learning image

Imagine I asked you to write a program to scan an image until if it's a cat or a dog.

If you want to build this program or software using traditional programming techniques, your program is going to get overly complex. You will have to come up with lots of rules to look for a specific curves, edges, and colors in an image to tell if it's a cat or a dog. But if I give you a black and white photo your rules may not work. This may break your program and you'll have to rewrite them with different rules or I give you a picture of a cat or a dog from different angle that you did not predict before.

So solving this problem using traditional programming techniques is going to get overly complex or sometimes impossible.

Now to make the matter worse. What if in the future I ask you to extend this program such that it supports three kinds of animals:

  • Cats
  • Dogs
  • or Horses

Once again, you'll have to rewrite all those rules. That's not gonna work!

So machine learning is a technique to solve these kind of problems.

💡How Machine Learning Works?

Machine learning image by simplelearn

First, we build a model or an engine and give it lots and lots of data.

For example, we give thousands or tens of thousands of pictures of cats and dogs in this engine.

Our engine will then find and learn patterns in the input data. So we can give it a new picture of a cat that it hasn't seen before, and ask it Is it a cat or a dog or a horse?

It would tell us with a certain level of accuracy. the more input data we give it, the more accurate our engine is going to be.

🤖Uses of Machine Learning

Machine learning is used in internet search engines, email filters to sort out spam, websites to make personalized recommendations, banking software to detect unusual transactions, and lots of apps on our phones such as voice recognition.

Also, Machine learning has other applications in self-driving cars, robotics, language processing, vision processing, forecasting things like stock market trends and the weather, games on so on.

Vision: Computer vision is the process of understanding digital images, analyzing, and extraction of data from the real world to produce information.

Forecasting: It involves taking models fit on historical data and using them to predict future observations (i.e. to smooth or remove noise).

Conclusion 👏

Machine Learning is a branch of artificial intelligence that provides computer systems the ability to automatically learn and improve from experience without being explicitly programmed.

So that's the basic idea of machine learning.

📺Machine Learning in 100 seconds:

If you like my article and this explanation video make sure to subscribe to my Youtube Channel to help me create more content like this.

Feel free to leave a comment.

🛴 Follow me on:
Twitter🦅
Github🔗

Discussion (0)