What is Machine Learning?
Machine learning is the field of study that gives computers the ability to learn from data without being explicitly programmed for every rule.
In classic programming you write rules, feed in data, and get answers. In machine learning you feed in data and the expected answers, and the algorithm works out the rules itself. Those rules form a model you can then apply to new data.
It shines where hand-written rules are long or constantly changing (spam filtering), where no good traditional solution exists (speech recognition), where the environment shifts, and where you want to find patterns in huge amounts of data (data mining).
Key points
- Learning from data instead of hand-coded rules.
- A ML solution is usually shorter, easier to maintain and often more accurate than a long list of rules.
- It adapts: retrain on new data and the system follows changes.
- It helps humans learn: inspecting a model can reveal patterns nobody noticed.
Worked example
A spam filter written with rules needs a new rule every time spammers change wording. A ML filter learns which words and phrases predict spam from labelled emails, and you just retrain it when the spam changes.
Common questions
Is machine learning the same as AI?
No. AI is the broad goal of intelligent behaviour. Machine learning is one way to get there: systems that improve from data.
What was the first ML application that became mainstream?
The spam filter, which went mainstream in the 1990s.
Practice questions on this topic
Try these, then open the app to check your answers with explanations.
- ML is Great for Complex problems for which using a traditional approach yields no good solution.
- A. true
- B. false
- It is the field of study that gives computers the ability to learn without being explicitly programmed.
- A. true
- B. false
- ML is Great for .............
- A. Problems for which existing solutions require a lot of fine-tuning
- B. Complex problems for which using a traditional approach yields no good solution.
- C. Getting insights about complex problems
- D. All of them are true
- Machine Learning is the field of study that gives computers the ability to learn with being explicitly programmed.
- A. true
- B. false
- In Traditional Approach is much shorter, easier to maintain, and more accurate.
- A. true
- B. false
- Traditional Approach is good for Problems for which existing solutions require a lot of fine-tuning or long lists of rules.
- A. true
- B. false
Related topics
- Supervised vs Unsupervised vs Semi-supervised vs Reinforcement Learning
- Overfitting and Underfitting in Machine Learning
- Batch Learning vs Online Learning
- Confusion Matrix, Precision, Recall and F1 Score
- ROC Curve and AUC Explained
- K-Fold and Stratified K-Fold Cross-Validation
- All topics: Machine Learning
BASMAGLY is an independent student project, not an official Delta University site. Check lectures and your instructor for the final word.