Full Day of Applied AI
Morning
Session 1 Intro to Artificial Intelligence
09:00-09:45 Introduction to Applied AI
09:45-10:00 Coffee and break
Session 2 Live Coding a machine learning app
10:00-10:10 Getting your machine ready for machine learning
10:10-10.20 Training and evaluating the model
10.20-10.50 Improving the model
10.50-11.00 Coffee and break
Session 3 Machine learning in the wild - deployment
11:00-11.15 Coding exercise continued
11:15-11:45 Serving your own machine learning model | Code
11:45-11:55 How to solve problems | interactive exercise
11:55-12:00 Q and A
Lunch
12:00-13:00 Lunch
Afternoon
Session 4 Hello World Deep Learning (MNIST)
13:00-13:15 Deep Learning intro
13:00-13.15 Image recognition and CNNs | Talk |
13:15-13:45 Building your own convolutional neural network | Code |
13:45-14:00 Coffee and break
Session 5 Natural Language Processing
14:00-14.30 Natural language processing | Talk |
14:30-14:45 Working with language | Code |
14:45-15:00 Coffee and break
Session 6 Conversational interfaces and Time Series
14:00-14.20 Conversational interfaces
14:20-14:45 Time Series prediction
14:45-15:00 Coffee and break
Session 7 Generative models and style transfer
16:00-16.30 Generative models | Talk |
16:30-16:45 Trying out GANS and style transfer | Code |
16:45-17:00 Coffee and break
Anton Osika AI Research Engineer Sana Labs AB
anton.osika@gmail.com
Birger Moëll Machine Learning Engineer
birger.moell@gmail.com
What is AI?
What is AI?
The scope of AI is disputed: as machines become
increasingly capable, tasks considered as requiring
"intelligence" are often removed from the definition of AI, a
phenomenon known as the AI effect
What is AI?
If a computer system does something
and you think: “that was pretty smart”
-> AI
jj
Artificial Intelligence, Machine Learning and Deep Learning
AI hype and AI winters
AI > Human
● NLP
AI > Human
● NLP
● Image processing
AI > Human
● NLP
● Image processing
AI > Human
● NLP
● Image processing
● Decision making
AI > Human
● NLP
● Image processing
● Decision making
AI > Human
● NLP
● Image processing
● Decision making
● Autonomous system
AI > Human
● NLP
● Image processing
● Decision making
● Autonomous system
AI > Human
● NLP
● Image processing
● Decision making
● Autonomous system
● Surveillance of
complex systems
AI > Human
● NLP
● Image processing
● Decision making
● Autonomous system
● Surveillance of
complex systems
● Creativity ?
Supervised learning: x ↦ y
Examples:
● Image recognition. x = image, y = label (cat, dog, apple, ...)
● Predicting house prices. x = [neighborhood, m², ...], y = price
● Spam detection. x = email text, y = spam/not spam
● Speech recognition. x = audio, y = transcribed text
How does it work?
Stochastic Gradient Descent Training
Stochastic Gradient Descent Training
At each step the gradient of the error
between prediction and label is used to
determine how to change connections
towards a smaller error.
Stochastic Gradient Descent Training
Higher abstractions in later layers
Higher abstractions in later layers
Pre-trained models
Parts of machine learning
Applying Machine Learning (ML)
The ML Surprise - Effort Allocation
The ML Surprise - Effort Allocation
Most common pitfalls
1. Evaluate simple heuristics without ML first
2. Use a ML API
3. Find a pre-trained open source model
4. Finetune a pre-trained model
5. Use open source code to train a model on your data
6. Build a model from scratch
Priority list when applying ML
Deep Learning vs other approaches
● Image recognition. x = image, y = label (cat, dog, apple, ...) Visual ✅
● Speech recognition. x = audio, y = transcribed text Audio ✅
● Text classification. x = email text, y = spam/not spam NLP ✅
● Predicting house prices. x = [neighborhood, m², ...], y = price Tabular❌
Deep Learning vs other approaches
Deep Learning:
● Image recognition. x = image, y = label (cat, dog, apple, ...) Visual ✅
● Speech recognition. x = audio, y = transcribed text Audio ✅
● Text classification. x = email text, y = spam/not spam NLP ✅
Decision trees, linear models, nearest neighbour:
● Predicting house prices. x = [neighborhood, m², ...], y = price Tabular❌
Deep Learning in action
RNNs predicting text continuation
RNNs predicting text continuation (simple)
Workflow for adding a ML feature
1. Define evaluation criteria and evaluation data
2. Find model with sufficient performance
3. Create container with web server, model and parameters
4. Deploy container in cloud
5. Send features over HTTP from main service
6. Receive predictions
7. ...profit $
Hierarchy of needs
Being productive with machine learning doesn’t
require a deep understanding of the mathematics
Recommended reading list
Applying Machine Learning
People + AI Guidebook - Google - build great products with ML
http://martin.zinkevich.org/rules_of_ml/rules_of_ml.pdf - best practices when productionizing ML
Machine Learning Yearning - Andrew Ng - applied ML research strategy
Cloud provider APIs (e.g. AWS)
Advanced modelling
Deep Learning for Coders - fast.ai course
100 page ML book
Extra:How long to AI takeover?
Artificial intelligence
Artificial intelligence
Artificial intelligence
Artificial intelligence
Success stories
Success stories
ML Success stories

More Related Content

PDF
7-200404101602.pdf
PPTX
Generative models
PPTX
Data Scenarios 2020: 6 Amazing Transformations
PDF
Machine Learning for Designers
PDF
OWF14 - Big Data : The State of Machine Learning in 2014
PDF
Machine learning workshop
PDF
Deep Diving into Machine Learning
PDF
Beyond the Symbols: A 30-minute Overview of NLP
7-200404101602.pdf
Generative models
Data Scenarios 2020: 6 Amazing Transformations
Machine Learning for Designers
OWF14 - Big Data : The State of Machine Learning in 2014
Machine learning workshop
Deep Diving into Machine Learning
Beyond the Symbols: A 30-minute Overview of NLP

Similar to Artificial intelligence (20)

PDF
Machine Learning for Designers - DX Meetup Basel
PDF
CIKM-keynote-Nov2014- Large Scale Deep Learning.pdf
PDF
Rana Usama Hussien last
PPSX
Artificial intelligence
PDF
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
PPTX
major project ppt final (SignLanguage Detection)
PPTX
Week1- Introduction.pptx
PPTX
Strata London - Deep Learning 05-2015
PDF
How to use transfer learning to bootstrap image classification and question a...
PDF
Dato Keynote
PPT
Utah Code Camp 2014 - Learning from Data by Thomas Holloway
PPTX
Deep Learning Jump Start
PDF
M4L19 Generative Models - Slides v 3.pdf
PDF
Machine Learning Workshop, TSEC 2020
PPTX
OReilly AI Transfer Learning
PDF
Crafting Recommenders: the Shallow and the Deep of it!
PDF
A step towards machine learning at accionlabs
PDF
CSCE181 Big ideas in NLP
PDF
Deep Representation: Building a Semantic Image Search Engine
PDF
Sign Language Recognition System ppt2.pdf
Machine Learning for Designers - DX Meetup Basel
CIKM-keynote-Nov2014- Large Scale Deep Learning.pdf
Rana Usama Hussien last
Artificial intelligence
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
major project ppt final (SignLanguage Detection)
Week1- Introduction.pptx
Strata London - Deep Learning 05-2015
How to use transfer learning to bootstrap image classification and question a...
Dato Keynote
Utah Code Camp 2014 - Learning from Data by Thomas Holloway
Deep Learning Jump Start
M4L19 Generative Models - Slides v 3.pdf
Machine Learning Workshop, TSEC 2020
OReilly AI Transfer Learning
Crafting Recommenders: the Shallow and the Deep of it!
A step towards machine learning at accionlabs
CSCE181 Big ideas in NLP
Deep Representation: Building a Semantic Image Search Engine
Sign Language Recognition System ppt2.pdf
Ad

More from Birger Moell (6)

PPTX
Conversational interfaces and time series prediction
PPTX
Natural language processing
PPTX
Deep learning
PPTX
Live coding a machine learning app
PPTX
Machine learning in the wild deployment
PPT
SMART Studying, Smartphone based Cognitive Behavioral Therapy for students wi...
Conversational interfaces and time series prediction
Natural language processing
Deep learning
Live coding a machine learning app
Machine learning in the wild deployment
SMART Studying, Smartphone based Cognitive Behavioral Therapy for students wi...
Ad

Recently uploaded (20)

PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PPTX
Training Program for knowledge in solar cell and solar industry
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PPTX
Build Your First AI Agent with UiPath.pptx
Flame analysis and combustion estimation using large language and vision assi...
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Early detection and classification of bone marrow changes in lumbar vertebrae...
giants, standing on the shoulders of - by Daniel Stenberg
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
Basics of Cloud Computing - Cloud Ecosystem
Consumable AI The What, Why & How for Small Teams.pdf
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
Training Program for knowledge in solar cell and solar industry
The influence of sentiment analysis in enhancing early warning system model f...
sustainability-14-14877-v2.pddhzftheheeeee
Data Virtualization in Action: Scaling APIs and Apps with FME
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
Comparative analysis of machine learning models for fake news detection in so...
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Auditboard EB SOX Playbook 2023 edition.
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Build Your First AI Agent with UiPath.pptx

Artificial intelligence

  • 1. Full Day of Applied AI Morning Session 1 Intro to Artificial Intelligence 09:00-09:45 Introduction to Applied AI 09:45-10:00 Coffee and break Session 2 Live Coding a machine learning app 10:00-10:10 Getting your machine ready for machine learning 10:10-10.20 Training and evaluating the model 10.20-10.50 Improving the model 10.50-11.00 Coffee and break Session 3 Machine learning in the wild - deployment 11:00-11.15 Coding exercise continued 11:15-11:45 Serving your own machine learning model | Code 11:45-11:55 How to solve problems | interactive exercise 11:55-12:00 Q and A Lunch 12:00-13:00 Lunch Afternoon Session 4 Hello World Deep Learning (MNIST) 13:00-13:15 Deep Learning intro 13:00-13.15 Image recognition and CNNs | Talk | 13:15-13:45 Building your own convolutional neural network | Code | 13:45-14:00 Coffee and break Session 5 Natural Language Processing 14:00-14.30 Natural language processing | Talk | 14:30-14:45 Working with language | Code | 14:45-15:00 Coffee and break Session 6 Conversational interfaces and Time Series 14:00-14.20 Conversational interfaces 14:20-14:45 Time Series prediction 14:45-15:00 Coffee and break Session 7 Generative models and style transfer 16:00-16.30 Generative models | Talk | 16:30-16:45 Trying out GANS and style transfer | Code | 16:45-17:00 Coffee and break Anton Osika AI Research Engineer Sana Labs AB [email protected] Birger Moëll Machine Learning Engineer [email protected]
  • 3. What is AI? The scope of AI is disputed: as machines become increasingly capable, tasks considered as requiring "intelligence" are often removed from the definition of AI, a phenomenon known as the AI effect
  • 4. What is AI? If a computer system does something and you think: “that was pretty smart” -> AI
  • 5. jj Artificial Intelligence, Machine Learning and Deep Learning
  • 6. AI hype and AI winters
  • 8. AI > Human ● NLP ● Image processing
  • 9. AI > Human ● NLP ● Image processing
  • 10. AI > Human ● NLP ● Image processing ● Decision making
  • 11. AI > Human ● NLP ● Image processing ● Decision making
  • 12. AI > Human ● NLP ● Image processing ● Decision making ● Autonomous system
  • 13. AI > Human ● NLP ● Image processing ● Decision making ● Autonomous system
  • 14. AI > Human ● NLP ● Image processing ● Decision making ● Autonomous system ● Surveillance of complex systems
  • 15. AI > Human ● NLP ● Image processing ● Decision making ● Autonomous system ● Surveillance of complex systems ● Creativity ?
  • 16. Supervised learning: x ↦ y Examples: ● Image recognition. x = image, y = label (cat, dog, apple, ...) ● Predicting house prices. x = [neighborhood, m², ...], y = price ● Spam detection. x = email text, y = spam/not spam ● Speech recognition. x = audio, y = transcribed text
  • 17. How does it work?
  • 20. At each step the gradient of the error between prediction and label is used to determine how to change connections towards a smaller error. Stochastic Gradient Descent Training
  • 21. Higher abstractions in later layers
  • 22. Higher abstractions in later layers
  • 24. Parts of machine learning
  • 26. The ML Surprise - Effort Allocation
  • 27. The ML Surprise - Effort Allocation
  • 29. 1. Evaluate simple heuristics without ML first 2. Use a ML API 3. Find a pre-trained open source model 4. Finetune a pre-trained model 5. Use open source code to train a model on your data 6. Build a model from scratch Priority list when applying ML
  • 30. Deep Learning vs other approaches ● Image recognition. x = image, y = label (cat, dog, apple, ...) Visual ✅ ● Speech recognition. x = audio, y = transcribed text Audio ✅ ● Text classification. x = email text, y = spam/not spam NLP ✅ ● Predicting house prices. x = [neighborhood, m², ...], y = price Tabular❌
  • 31. Deep Learning vs other approaches Deep Learning: ● Image recognition. x = image, y = label (cat, dog, apple, ...) Visual ✅ ● Speech recognition. x = audio, y = transcribed text Audio ✅ ● Text classification. x = email text, y = spam/not spam NLP ✅ Decision trees, linear models, nearest neighbour: ● Predicting house prices. x = [neighborhood, m², ...], y = price Tabular❌
  • 32. Deep Learning in action RNNs predicting text continuation RNNs predicting text continuation (simple)
  • 33. Workflow for adding a ML feature 1. Define evaluation criteria and evaluation data 2. Find model with sufficient performance 3. Create container with web server, model and parameters 4. Deploy container in cloud 5. Send features over HTTP from main service 6. Receive predictions 7. ...profit $
  • 35. Being productive with machine learning doesn’t require a deep understanding of the mathematics
  • 36. Recommended reading list Applying Machine Learning People + AI Guidebook - Google - build great products with ML http://martin.zinkevich.org/rules_of_ml/rules_of_ml.pdf - best practices when productionizing ML Machine Learning Yearning - Andrew Ng - applied ML research strategy Cloud provider APIs (e.g. AWS) Advanced modelling Deep Learning for Coders - fast.ai course 100 page ML book
  • 37. Extra:How long to AI takeover?

Editor's Notes

  • #3: I will give a brief more intro, speak about getting value out of AI and a focus on machine learning. System
  • #4: I will give a brief more intro, speak about getting value out of AI and a focus on machine learning. System
  • #5: I will give a brief more intro, speak about getting value out of AI and a focus on machine learning. System
  • #6: Machine Learning is a subset of AI Old technology → Machine Learning → Deep Learning Deep Learning is usually the type of AI you will hear about today.
  • #7: I’m not sure if you have noticed but there is quite a bit of AI hype!
  • #8: Betona att många genombrott leder till väldigt många tillämpningar. Gradvis process: Automatisering IoT etc NLP: Taligenkänning och språkförståelse: Alexa/Google Assistant. Stanford reading comprehension test superhuman Alibaba & Microsoft. Läsa juridiska dokument, hitta kryphål i lagen. Medicin/läkare Bildigenkänning: Väsentligen ett löst problem. Beslutsfattning: Schack & Go Självkörande bilar: Redan ute på vägarna. Övervakning: Nästa slide Kina. Tillsynes inga gränser: Kognitiva uppgifter människa vs AI. Bild: Style transfer Golden Gate Bridge Van Gogh
  • #9: Betona att många genombrott leder till väldigt många tillämpningar. Gradvis process: Automatisering IoT etc NLP: Taligenkänning och språkförståelse: Alexa/Google Assistant. Stanford reading comprehension test superhuman Alibaba & Microsoft. Läsa juridiska dokument, hitta kryphål i lagen. Medicin/läkare Bildigenkänning: Väsentligen ett löst problem. Beslutsfattning: Schack & Go Självkörande bilar: Redan ute på vägarna. Övervakning: Nästa slide Kina. Tillsynes inga gränser: Kognitiva uppgifter människa vs AI. Bild: Style transfer Golden Gate Bridge Van Gogh
  • #10: Betona att många genombrott leder till väldigt många tillämpningar. Gradvis process: Automatisering IoT etc NLP: Taligenkänning och språkförståelse: Alexa/Google Assistant. Stanford reading comprehension test superhuman Alibaba & Microsoft. Läsa juridiska dokument, hitta kryphål i lagen. Medicin/läkare Bildigenkänning: Väsentligen ett löst problem. Beslutsfattning: Schack & Go Självkörande bilar: Redan ute på vägarna. Övervakning: Nästa slide Kina. Tillsynes inga gränser: Kognitiva uppgifter människa vs AI. Bild: Style transfer Golden Gate Bridge Van Gogh
  • #11: Betona att många genombrott leder till väldigt många tillämpningar. Gradvis process: Automatisering IoT etc NLP: Taligenkänning och språkförståelse: Alexa/Google Assistant. Stanford reading comprehension test superhuman Alibaba & Microsoft. Läsa juridiska dokument, hitta kryphål i lagen. Medicin/läkare Bildigenkänning: Väsentligen ett löst problem. Beslutsfattning: Schack & Go Självkörande bilar: Redan ute på vägarna. Övervakning: Nästa slide Kina. Tillsynes inga gränser: Kognitiva uppgifter människa vs AI. Bild: Style transfer Golden Gate Bridge Van Gogh
  • #12: Betona att många genombrott leder till väldigt många tillämpningar. Gradvis process: Automatisering IoT etc NLP: Taligenkänning och språkförståelse: Alexa/Google Assistant. Stanford reading comprehension test superhuman Alibaba & Microsoft. Läsa juridiska dokument, hitta kryphål i lagen. Medicin/läkare Bildigenkänning: Väsentligen ett löst problem. Beslutsfattning: Schack & Go Självkörande bilar: Redan ute på vägarna. Övervakning: Nästa slide Kina. Tillsynes inga gränser: Kognitiva uppgifter människa vs AI. Bild: Style transfer Golden Gate Bridge Van Gogh
  • #13: Betona att många genombrott leder till väldigt många tillämpningar. Gradvis process: Automatisering IoT etc NLP: Taligenkänning och språkförståelse: Alexa/Google Assistant. Stanford reading comprehension test superhuman Alibaba & Microsoft. Läsa juridiska dokument, hitta kryphål i lagen. Medicin/läkare Bildigenkänning: Väsentligen ett löst problem. Beslutsfattning: Schack & Go Självkörande bilar: Redan ute på vägarna. Övervakning: Nästa slide Kina. Tillsynes inga gränser: Kognitiva uppgifter människa vs AI. Bild: Style transfer Golden Gate Bridge Van Gogh
  • #14: Betona att många genombrott leder till väldigt många tillämpningar. Gradvis process: Automatisering IoT etc NLP: Taligenkänning och språkförståelse: Alexa/Google Assistant. Stanford reading comprehension test superhuman Alibaba & Microsoft. Läsa juridiska dokument, hitta kryphål i lagen. Medicin/läkare Bildigenkänning: Väsentligen ett löst problem. Beslutsfattning: Schack & Go Självkörande bilar: Redan ute på vägarna. Övervakning: Nästa slide Kina. Tillsynes inga gränser: Kognitiva uppgifter människa vs AI. Bild: Style transfer Golden Gate Bridge Van Gogh
  • #15: Betona att många genombrott leder till väldigt många tillämpningar. Gradvis process: Automatisering IoT etc NLP: Taligenkänning och språkförståelse: Alexa/Google Assistant. Stanford reading comprehension test superhuman Alibaba & Microsoft. Läsa juridiska dokument, hitta kryphål i lagen. Medicin/läkare Bildigenkänning: Väsentligen ett löst problem. Beslutsfattning: Schack & Go Självkörande bilar: Redan ute på vägarna. Övervakning: Nästa slide Kina. Tillsynes inga gränser: Kognitiva uppgifter människa vs AI. Bild: Style transfer Golden Gate Bridge Van Gogh
  • #16: Betona att många genombrott leder till väldigt många tillämpningar. Gradvis process: Automatisering IoT etc NLP: Taligenkänning och språkförståelse: Alexa/Google Assistant. Stanford reading comprehension test superhuman Alibaba & Microsoft. Läsa juridiska dokument, hitta kryphål i lagen. Medicin/läkare Bildigenkänning: Väsentligen ett löst problem. Beslutsfattning: Schack & Go Självkörande bilar: Redan ute på vägarna. Övervakning: Nästa slide Kina. Tillsynes inga gränser: Kognitiva uppgifter människa vs AI. Bild: Style transfer Golden Gate Bridge Van Gogh
  • #18: How does this work? Each layer has “higher level representations A network can learn any function with enough datapoints
  • #19: Makes sense so far?
  • #20: Makes sense so far?
  • #21: Makes sense so far?
  • #22: How does this work? Each layer has “higher level representations A network can learn any function with enough datapoints
  • #23: How does this work? Each layer has “higher level representations A network can learn any function with enough datapoints
  • #28: Applying ML is like ordinary software (which takes time) - but output is a lot less predictable. That’s why you want to take shortcuts.
  • #29: Applying ML is like ordinary software (which takes time) - but output is a lot less predictable. That’s why you want to take shortcuts.
  • #32: When recommending movies: Recommend the highest rated not-yet-seen movie in the same category. When classifying emails: Use regular expressions searching for keywords.
  • #35: As I mentioned, you can use APIs. But it is more flexible and often faster to iterate with your own code from scratch
  • #41: The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  • #42: The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  • #43: The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  • #44: The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  • #45: The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  • #46: The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  • #47: The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised