Year autopilot was first introduced
of a modern commercial flight runs on autopilot

Yet we don't see industry getting excited about this technology that we literaly entrust our lives to….
…Instead we see industry getting excited about a technology that finds it difficult to do primary school tasks.


Q: How do we really put a "brain" into a machine?
How would you diagnose and troubleshoot this situation?
Child says:
"My stomach hurts."
│
▼
Does the child have a fever?
├──────────────┐
Yes No
│ │
▼ ▼
Possible illness Is today Monday morning?
Keep home / doctor ├──────────────┐
Yes No
│ │
▼ ▼
Did the child ask Ate something
to stay home? unusual?
├───────┐ ├───────┐
Yes No Yes No
│ │ │ │
▼ ▼ ▼ ▼
Possible school Go to Observe Mild stomach
avoidance school at home upset

Symptom Checker with Body from WebMD - Check Your Medical Symptoms



Uses: Sequential Decision Making and plans it from a specified model (If this….then that)
Fairly Narrow Scope
No Learning
We cannot make an expert of tasks we do not know how to do.
Moving beyond "if- then" encoding and making the machine actually learn
Machine learning is a method of training computers to find patterns in data and make predictions or decisions
without being explicitly programmed for every rule.
It improves as it sees more data and feedback.

Your airport has received €1,000,000 to build one Machine Learning system that will improve passenger security while reducing waiting times.
You have 10 minutes to prepare a proposal for the airport board.
Your goal is not to build the AI.
Your goal is to ....
Emergent strategy, minimal rules, maximizing rewards and learning through repeated self play
Reinforcement Learning Playground: Why your spotify, keeps playing the same songs!

We've seen that ML can Classify, Cluster, or Act/Decide. But how does the machine actually compute all of this at scale? The answer is Neural Networks — the computational engine that powers all three learning strategies.
Neural networks process various inputs to generate specific outputs. While the inputs and outputs are clear, the intricate connections and transformations within the hidden layers make the internal decision-making process incredibly complex and often inexplicable. This characteristic is often referred to as the "black box" problem, highlighting the challenge of understanding how the network arrives at its conclusions.

Suppose Waze wants to predict
"How many minutes will it take to drive this road?"
Inputs might include
Output
The Economist reported that it used 1,920 CPUs and 280 GPUs:
(about 2000Terraflops or 1000 iphone16s)



Targeted Oncology
AlphaFold AI Sets Stage for Future Approaches in Cancer
The 2024 Nobel Prize in Chemistry highlights AI-driven breakthroughs in computational protein design and structure prediction. Tools like AlphaFold promise faster development of targeted cancer drugs and transformative advances in oncology and medicine.



Are we asking the right questions?
Are we testing out of sample?
Are we prepared to deal with probabilistic results?

The training data does not include a situation that you want it to answer
Google Colab for programmers: https://colab.research.google.com/drive/1qEAOcwCmcKlUYEx08TKHhXIEbHAiR2ah?usp=sharing
Core idea: SHAP is a post-hoc method. After a model makes a prediction, SHAP shows how each feature moved the output away from a baseline.
example dataset Califo
Eight inputs describe each block group:

Given these eight characteristics, what value will the model predict for this block group?
After the model predicts, which features pushed that prediction up or down — and by how much?
That is the question SHAP answers.
The model is trained first. SHAP comes afterwards to explain the model's output.
Use the housing data to fit a model.
The model learns a mapping from the eight inputs to the target.
For one block group, the already-trained model produces an output f(x).
SHAP interrogates the existing model and attributes the prediction to its input features.
Start from the expected model output, then allocate the difference to the features.

Explainable AI with SHAP · Source: SHAP documentation, "An introduction to explainable AI with Shapley values."
The source tutorial applies SHAP to a DistilBERT sentiment model and attributes the prediction back to pieces of an IMDB review.
SHAP comes after the prediction and allocates the output back to the input tokens.
"This film is interesting as an experiment but tells no cogent story."
Selected token attributions from the tutorial
+0.063
-0.236
+0.366
-0.329
+0.037
+0.041
+0.051
How to read it: Red → pushes toward positive sentiment · Blue → pushes toward negative sentiment
Representation matters: the tokenizer can split a human word into multiple tokens (for example, "co" + "gent").
Decision-maker takeaway: this is a post-hoc attribution of model behavior — not the transformer's internal "reasoning."
Explainable AI with SHAP · Source: SHAP documentation, "An introduction to explainable AI with Shapley values."
A post-hoc explanation is useful evidence, but it is not automatic assurance.
Explanation is not accuracy. A wrong model can still produce a neat explanation.
Explanation is not causality. A feature contribution does not prove that changing the feature would cause the outcome.
Post hoc is not intrinsic transparency. SHAP explains model behavior from the outside; it does not expose an internal "reasoning process."
Data
THE ECONOMIST unlocking-enterprise-ai.pdf
Bias in ML: Implication and Sources
AI Bias: 16 Real AI Bias Examples & Mitigation Guide Joel Bervell, MD on Instagram: "Racial Bias in Medicine Episode 1: Pulse Oximeters I’m bringing back my “Racial Bias in Medicine” series and adding updates about the changes that have, and have not be COMPAS : Unfair Algorithm ?
Table of contents