SlideShare a Scribd company logo
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?
Success stories
Success stories
ML Success stories

More Related Content

Similar to Artificial intelligence

Machine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMachine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup Basel
Memi Beltrame
 
Rana Usama Hussien last
Rana Usama Hussien last Rana Usama Hussien last
Rana Usama Hussien last Rana Usama
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
Gangeshwar Krishnamurthy
 
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
AI Frontiers
 
Week1- Introduction.pptx
Week1- Introduction.pptxWeek1- Introduction.pptx
Week1- Introduction.pptx
fahmi324663
 
Strata London - Deep Learning 05-2015
Strata London - Deep Learning 05-2015Strata London - Deep Learning 05-2015
Strata London - Deep Learning 05-2015
Turi, Inc.
 
How to use transfer learning to bootstrap image classification and question a...
How to use transfer learning to bootstrap image classification and question a...How to use transfer learning to bootstrap image classification and question a...
How to use transfer learning to bootstrap image classification and question a...
Wee Hyong Tok
 
Dato Keynote
Dato KeynoteDato Keynote
Dato Keynote
Turi, Inc.
 
Utah Code Camp 2014 - Learning from Data by Thomas Holloway
Utah Code Camp 2014 - Learning from Data by Thomas HollowayUtah Code Camp 2014 - Learning from Data by Thomas Holloway
Utah Code Camp 2014 - Learning from Data by Thomas Holloway
Thomas Holloway
 
Deep Learning Jump Start
Deep Learning Jump StartDeep Learning Jump Start
Deep Learning Jump Start
Michele Toni
 
Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020
Siddharth Adelkar
 
OReilly AI Transfer Learning
OReilly AI Transfer LearningOReilly AI Transfer Learning
OReilly AI Transfer Learning
Danielle Dean
 
Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it! Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it!
Sudeep Das, Ph.D.
 
A step towards machine learning at accionlabs
A step towards machine learning at accionlabsA step towards machine learning at accionlabs
A step towards machine learning at accionlabs
Chetan Khatri
 
CSCE181 Big ideas in NLP
CSCE181 Big ideas in NLPCSCE181 Big ideas in NLP
CSCE181 Big ideas in NLP
Insoo Chung
 
Deep Representation: Building a Semantic Image Search Engine
Deep Representation: Building a Semantic Image Search EngineDeep Representation: Building a Semantic Image Search Engine
Deep Representation: Building a Semantic Image Search Engine
C4Media
 
Internship - Python - AI ML.pptx
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptx
Hchethankumar
 
Internship - Python - AI ML.pptx
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptx
Hchethankumar
 
Ml goes fruitful
Ml goes fruitfulMl goes fruitful
Ml goes fruitful
Preeti Negi
 
Screencasting and Presenting for Engineers
Screencasting and Presenting for EngineersScreencasting and Presenting for Engineers
Screencasting and Presenting for Engineers
Kunal Johar
 

Similar to Artificial intelligence (20)

Machine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMachine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup Basel
 
Rana Usama Hussien last
Rana Usama Hussien last Rana Usama Hussien last
Rana Usama Hussien last
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
 
Week1- Introduction.pptx
Week1- Introduction.pptxWeek1- Introduction.pptx
Week1- Introduction.pptx
 
Strata London - Deep Learning 05-2015
Strata London - Deep Learning 05-2015Strata London - Deep Learning 05-2015
Strata London - Deep Learning 05-2015
 
How to use transfer learning to bootstrap image classification and question a...
How to use transfer learning to bootstrap image classification and question a...How to use transfer learning to bootstrap image classification and question a...
How to use transfer learning to bootstrap image classification and question a...
 
Dato Keynote
Dato KeynoteDato Keynote
Dato Keynote
 
Utah Code Camp 2014 - Learning from Data by Thomas Holloway
Utah Code Camp 2014 - Learning from Data by Thomas HollowayUtah Code Camp 2014 - Learning from Data by Thomas Holloway
Utah Code Camp 2014 - Learning from Data by Thomas Holloway
 
Deep Learning Jump Start
Deep Learning Jump StartDeep Learning Jump Start
Deep Learning Jump Start
 
Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020
 
OReilly AI Transfer Learning
OReilly AI Transfer LearningOReilly AI Transfer Learning
OReilly AI Transfer Learning
 
Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it! Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it!
 
A step towards machine learning at accionlabs
A step towards machine learning at accionlabsA step towards machine learning at accionlabs
A step towards machine learning at accionlabs
 
CSCE181 Big ideas in NLP
CSCE181 Big ideas in NLPCSCE181 Big ideas in NLP
CSCE181 Big ideas in NLP
 
Deep Representation: Building a Semantic Image Search Engine
Deep Representation: Building a Semantic Image Search EngineDeep Representation: Building a Semantic Image Search Engine
Deep Representation: Building a Semantic Image Search Engine
 
Internship - Python - AI ML.pptx
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptx
 
Internship - Python - AI ML.pptx
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptx
 
Ml goes fruitful
Ml goes fruitfulMl goes fruitful
Ml goes fruitful
 
Screencasting and Presenting for Engineers
Screencasting and Presenting for EngineersScreencasting and Presenting for Engineers
Screencasting and Presenting for Engineers
 

More from Birger Moell

Conversational interfaces and time series prediction
Conversational interfaces and time series predictionConversational interfaces and time series prediction
Conversational interfaces and time series prediction
Birger Moell
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
Birger Moell
 
Deep learning
Deep learningDeep learning
Deep learning
Birger Moell
 
Live coding a machine learning app
Live coding a machine learning appLive coding a machine learning app
Live coding a machine learning app
Birger Moell
 
Machine learning in the wild deployment
Machine learning in the wild deploymentMachine learning in the wild deployment
Machine learning in the wild deployment
Birger Moell
 
SMART Studying, Smartphone based Cognitive Behavioral Therapy for students wi...
SMART Studying, Smartphone based Cognitive Behavioral Therapy for students wi...SMART Studying, Smartphone based Cognitive Behavioral Therapy for students wi...
SMART Studying, Smartphone based Cognitive Behavioral Therapy for students wi...
Birger Moell
 

More from Birger Moell (6)

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

Recently uploaded

Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 

Recently uploaded (20)

Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 

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 anton.osika@gmail.com Birger Moëll Machine Learning Engineer birger.moell@gmail.com
  • 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?
  • 38.
  • 39.
  • 40.
  • 41.

Editor's Notes

  1. I will give a brief more intro, speak about getting value out of AI and a focus on machine learning. System
  2. I will give a brief more intro, speak about getting value out of AI and a focus on machine learning. System
  3. I will give a brief more intro, speak about getting value out of AI and a focus on machine learning. System
  4. 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.
  5. I’m not sure if you have noticed but there is quite a bit of AI hype!
  6. 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
  7. 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
  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. How does this work? Each layer has “higher level representations A network can learn any function with enough datapoints
  16. Makes sense so far?
  17. Makes sense so far?
  18. Makes sense so far?
  19. How does this work? Each layer has “higher level representations A network can learn any function with enough datapoints
  20. How does this work? Each layer has “higher level representations A network can learn any function with enough datapoints
  21. Applying ML is like ordinary software (which takes time) - but output is a lot less predictable. That’s why you want to take shortcuts.
  22. Applying ML is like ordinary software (which takes time) - but output is a lot less predictable. That’s why you want to take shortcuts.
  23. When recommending movies: Recommend the highest rated not-yet-seen movie in the same category. When classifying emails: Use regular expressions searching for keywords.
  24. As I mentioned, you can use APIs. But it is more flexible and often faster to iterate with your own code from scratch
  25. The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  26. The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  27. The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  28. The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  29. The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  30. The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised
  31. The above are systems, where code and machine learning is connected. But: most ML starts with some other supervised