What Machine Learning Is — and What It Is NOT
Summary
Machine learning (ML) is presented as a distinct approach for solving problems where explicit programming fails, specifically when rules are implicit in data, such as recognizing images or translating languages. It is not a substitute for rule-based solutions, nor is it synonymous with all AI, magic, or a guarantee of accuracy. The core ML process involves preparing labeled historical data, allowing algorithms to identify patterns, and then using these patterns to make predictions on new data. The article differentiates between ML algorithms and frameworks like TensorFlow, and introduces key ML types: classification for predicting categories (e.g., spam detection) and regression for predicting continuous numbers (e.g., house prices). It also covers supervised learning, which uses labeled data, and unsupervised learning, which uncovers hidden structures in unlabeled data through methods like clustering and anomaly detection, highlighting the trade-offs and applications of each.
Key takeaway
For software engineers evaluating solutions, understand that machine learning is not a default upgrade for existing code. If your problem can be solved with explicit rules, use traditional programming for clarity and lower cost. Reserve ML for "new kind" problems where rules are too complex or dynamic for human encoding, like pattern recognition in vast datasets. Prioritize data quality over quantity and match model opacity to decision stakes.
Key insights
Machine learning solves problems where rules are implicit in data, not explicitly programmable.
Principles
- ML is for problems humans can do but cannot explain how.
- If you can write the rule, write the rule; otherwise, use ML.
- Data quality is more critical than data quantity for ML success.
Method
The ML project loop involves preparing existing data, training an algorithm to identify patterns, and using the resulting model to make predictions on new data.
In practice
- Start with simple algorithms like logistic regression or decision trees.
- Use deep learning frameworks only for images, language, or audio.
- Map everyday problems to ML types: category for classification, number for regression.
Topics
- Machine Learning Principles
- Supervised Learning
- Unsupervised Learning
- Classification Algorithms
- Regression Analysis
- ML Project Workflow
Best for: AI Student, Data Scientist, Software Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by Data Science on Medium.