Introduction
- Usage of algorithms to derive predictive insights from data and make repeated decisions
- Scaling up business intelligence and decision making
- Forwards lookingâcompare with analytics (backwards looking)
- A computer writes a program for another computer
- Computer figures out best program by looking at examples
Vs AI
- AI
- Discipline (c.f. Physics)
- Abilities of computers to mimic human behaviours
- ML
- Methodology
- Generally refers to supervised and unsupervised learning
What Problems Can ML Solve?
- Things currently done via ârulesâ
- Scale, automate, personalise
- Not for problems were one set of rules fits allâgeneric
- Personalisationâlots of data required
Best Practices
Concepts and Definitions
| Term | Definition |
|---|
| Example/instance/observation | Row in data set |
| Label | Value to predict. Can be numeric (requires regression model) or categorical (requires logistic model) |
| Features | Columns which arenât labels. |
| Feature engineering | Combine/transform features. |
| One-hot encoding | Transform categorical data to numeric. 1 or 0 to indicate whether category applies to the observation |
| Hyperparameters | User-defined parameter used to control the learning process. |
Model Types
- Supervised learningâtask driven, identifies a goal, labelled data
- Classificationâpredict a category
- Regressionâpredict a continuous number
- Unsupervised learningâdata-driven, identifies a pattern, unlabelled data
- Clustering
- Associationâidentify underlying relationships
- Dimensionality reductionâtransform data from a high-dimensional space to a low-dimensional space, combine features
Model Architectures
- Convolutional Neural Networks (CNNs)âimage classification, object detection, recommendation systems
- Recurrent Neural Networks (RNNs)âsequence modelling, next word prediction, translation, speech-to-text
- Sorting/clusteringâanomaly detection, pattern recognition
- Generational Adversarial Networks (GANs)âanomaly detection, cyber security, self-driving cars, reinforced learning
Strategy
- Follow The Path to Machine Learning
- Starts as data strategy
- Start with manual data analysis
- Fail fast, try new ideas in an agile way
- Then move to ML
- Data collection is the longest/hardest partâmost likely to fail
- If you canât do analytics, you canât do ML
ML Effort Allocation
- Expectation:
- Optimizing ML algorithm is most significant effortâpractitioners focus on latest âshinyâ thing
- Reality:
- Data collection and building infrastructure often overlooked
- By spending time collecting data, KPIs often become apparentârather than relying on intuition