What, Why and How : Machine Learning

What, Why and How : Machine Learning

What is Machine Learning

Imagine you have a friend who loves to play video games. At first, your friend is not very good and keeps making mistakes. However, every time they play, they learn from their mistakes and get better. Machine learning is kind of like that but for computers.

In traditional programming, we give computers specific instructions to follow, like a recipe. However, in machine learning, we give the computer data and let it figure out the patterns and rules on its own.

Think of it as teaching a computer to recognize different fruits. You show it lots of pictures of apples, bananas, and oranges. The computer looks at the features of each fruit, like shape and colour, and learns to tell them apart.

Now, when you show the computer a new picture of a fruit it has never seen before, it can make an educated guess based on what it learned from the previous examples.

Why Machine Learning

  1. Handling Complexity: Suppose you have a super complicated task, like recognizing speech or predicting the weather. Writing out all the rules for a computer to do these tasks can be incredibly complex and challenging. Machine learning allows computers to learn from data and figure out these tasks on their own, making complex problems more manageable.
  2. Adaptability: The world is always changing, and new information keeps coming in. In traditional programming, if something unexpected happens, you might need to rewrite the rules. Machine learning systems can adapt and learn from new data, making them more flexible in dealing with real-world situations.
  3. Pattern Recognition: Humans are good at recognizing patterns, and so are machines when trained using machine learning. This ability is useful in various fields, like detecting fraud in financial transactions, identifying spam emails, or even diagnosing medical conditions by analyzing patterns in data.
  4. Automation: Machine learning can help automate repetitive tasks. For example, in a manufacturing process, a machine learning system can learn to identify defective products, reducing the need for manual inspection and increasing efficiency.
  5. Personalization: Have you noticed how streaming services recommend movies or songs you might like? Machine learning is behind this. It learns from your preferences and suggests content tailored to your taste. This personalization makes our digital experiences more enjoyable and relevant.


How does Machine learning work?

Let's consider, that you want to create a system that can predict whether it will rain in a particular region of India based on historical weather data. Instead of manually programming rules like "if humidity is high and temperature is low, then it will rain," you can use machine learning.

  1. Data Collection: Gather historical weather data for the region, including information like temperature, humidity, wind speed, and whether it rained on a specific day.
  2. Training the Model: Feed this historical data into a machine learning algorithm. The algorithm learns to identify patterns and correlations between different factors and whether it rained.
  3. Making Predictions: Once the model is trained, you can input current weather data into the system, and it will predict whether it's likely to rain based on the patterns it learned during training.
  4. Improving Over Time: As more current weather data becomes available, the model can continuously learn and adapt. For example, if the system predicted rain, and it did rain, the model learns that its prediction was correct. If it predicted rain, but it didn't rain, the model adjusts its understanding based on this feedback.


Very well explained Mohit from the basic level

To view or add a comment, sign in

More articles by Mohit Arora

Others also viewed

Explore content categories