← Back to Glossary

Machine Learning

Fundamentals

A type of AI where computers learn patterns from data instead of being explicitly programmed with rules.

Think of machine learning like teaching a dog tricks. You do not explain the rules of 'sit' in English -- you show it what to do, reward it when it gets it right, and eventually it learns the pattern on its own.

Machine learning is a way of teaching computers by showing them lots of examples rather than writing out every single rule. Instead of a programmer telling the computer "if the email contains the word 'free money,' mark it as spam," a machine learning system looks at thousands of real spam and non-spam emails and figures out the patterns itself.

The process works a lot like studying for a test. You give the computer a big dataset -- like millions of photos labeled "cat" or "dog" -- and it gradually adjusts itself until it gets really good at telling the difference. This adjustment process is called training. Once trained, the model can look at a brand new photo it has never seen and correctly say whether it is a cat or a dog.

There are a few main styles of machine learning. In supervised learning, every example comes with the correct answer so the model knows what to aim for. In unsupervised learning, the model finds hidden patterns without any labels. And in reinforcement learning, the model learns by trial and error -- doing something, getting a reward or penalty, and adjusting its approach, much like how you learn to play a video game.

Machine learning powers a huge number of things you use daily: YouTube recommendations, fraud detection on your bank account, voice assistants understanding your speech, and much more. It is also the foundation that makes modern AI tools like ChatGPT and Midjourney possible.

Real-World Examples

  • *YouTube recommending videos based on your watch history
  • *Your bank flagging a suspicious credit card transaction
  • *Email spam filters learning to catch new types of junk mail

Related Terms

Artificial IntelligenceDeep LearningTraining DataNeural Network