WEEK 06 — DIGITAL TRANSFORMATION
AI & Machine Learning
Understanding Intelligence, ML Algorithms, and Learning Paradigms
CHAPTER 01
Artificial Intelligence
Introduction to Artificial Intelligence and how it differs from human and animal intelligence.
CORE PRINCIPLE
What is Intelligence?
Artificial Intelligence refers to intelligence shown by machines. While animal intelligence focuses on instinctual survival and human intelligence involves critical thinking and emotional understanding, artificial intelligence excels at pattern recognition, language translation, and object detection.

REFLECTION QUESTION
Rules-Based Engine
A computer chess game playing against humans that uses predefined rules-based algorithms to decide its next move.
Recommendation Systems
A machine uses your historical music listening habits to recommend a new song that you might like.
Natural Language Processing
Advanced models like ChatGPT or tools like ElevenLabs that can turn text into highly realistic speech.
If you trained an AI using only your social media posts, what might it 'learn' about your behavior?
Class Discussion
CHAPTER 02
Machine Learning
The definition of Machine Learning and the forces driving its rapid rise in the 21st century.
THEORETICAL FRAMEWORK
Learning from Data
Contrasted with traditional rules-based expert systems, Machine Learning is a technique that uses data and performance metrics to automatically figure out how to solve a task.

The rise of Machine Learning in the 21st century is primarily driven by an exponential increase in compute power, the explosion of Big Data, and a dramatic decrease in storage costs.
CHAPTER 03
ML Algorithms
Exploring key algorithms that power machine learning models, from simple decision trees to complex random forests.
METHODOLOGY
Decision Trees & Regression
Imagine you are deciding whether to go outside to play tennis. To make your decision, you subconsciously use a mentally formed Decision Tree based on weather conditions.

Linear Regression is used when you wish to predict continuous outcomes. For example, predicting the sales of retail items based on their historical prices.

Logistic Regression is ideal for predicting binary outcomes. For instance, predicting whether a given customer will click on a product based on historical click data.

ADVANCED TECHNIQUES
Ensemble Learning & Random Forests
Ensemble learning combines multiple models to improve prediction accuracy. The idea is that the collective "wisdom" of diverse models reduces individual errors, much like seeking advice from several experts.

ENSEMBLE EXAMPLE
Random Forest is a popular ensemble method that builds a "forest" of decision trees, each trained independently on a random subset of data. This diverse approach reduces overfitting and creates a highly robust model.

CHAPTER 04
Supervised vs. Unsupervised
A fundamental distinction in machine learning paradigms based on the presence or absence of labeled data.
KEY CONCEPT
Learning Paradigms
Supervised Learning algorithms learn from labeled data, where each input example is paired with a corresponding output target. The goal is to map inputs to outputs for prediction or classification.
Unsupervised Learning algorithms analyze unlabeled data to discover hidden patterns, groupings, or structures without any predefined outcomes or correct answers.
TRADEOFFS
Customer Churn Prediction
Using historical data showing which customers left to predict future churn. (Supervised Learning)
Disease Subtype Discovery
Grouping patients by gene expression without prior labels to find new subtypes. (Unsupervised Learning)
Movie Recommendations
Using past user ratings as training data to predict how users will rate unseen films. (Supervised Learning)
Purchase Associations
Analyzing purchase histories to find products frequently bought together. (Unsupervised Learning)
CONCLUSION
Summary
Machine Learning has transformed how we approach complex tasks by learning directly from data rather than relying on explicit programming. Understanding the nuances between different algorithms and learning paradigms is essential for implementing effective AI solutions.
KEY TAKEAWAYS
- AI encompasses a range of machine intelligence, from simple rules to advanced pattern recognition.
- Machine learning's rise is fueled by better compute, big data, and cheaper storage.
- Algorithms range from single Decision Trees to complex Ensembles like Random Forests.
- Supervised learning maps inputs to known outputs; Unsupervised learning discovers hidden patterns.