1 of 39

Artificial Intelligence and Machine Learning

Lecture #1 part 1: AI and Machine Learning Applications

Dr. Adel Bibi

​

2 of 39

Course Website

3 of 39

Artificial Intelligence: Applications

3

Oxford International Study Abroad

​

​

4 of 39

Artificial Intelligence: Applications

4

Dota II: OpenAI

Oxford International Study Abroad

​

​

5 of 39

Artificial Intelligence: Applications

5

StartCraft II: DeepMind

Oxford International Study Abroad

​

​

6 of 39

Artificial Intelligence: Computer Vision Applications

  • Classification

6

Oxford International Study Abroad

​

​

7 of 39

Artificial Intelligence: Computer Vision Applications

  • Object Detection

7

Oxford International Study Abroad

​

​

8 of 39

Artificial Intelligence: Computer Vision Applications

  • Semantic Segmentation

8

Oxford International Study Abroad

​

​

9 of 39

Artificial Intelligence: Computer Vision Applications

  • Multi Object Tracking

9

Oxford International Study Abroad

​

​

10 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Activity Localization in Video

10

Oxford International Study Abroad

​

​

11 of 39

Artificial Intelligence: Computer Vision Applications

​

  • 3D Reconstruction

11

Oxford International Study Abroad

​

​

12 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Text to 3D and Few Images to 3D

12

Oxford International Study Abroad

​

​

13 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Text to Video

13

Oxford International Study Abroad

​

​

14 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Self Driving Cars

14

Oxford International Study Abroad

​

​

15 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

15

Oxford International Study Abroad

​

​

16 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

16

Oxford International Study Abroad

​

​

17 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

17

Oxford International Study Abroad

​

​

18 of 39

Artificial Intelligence: Computer Vision Applications

​

18

Oxford International Study Abroad

​

​

19 of 39

Artificial Intelligence: The Big Picture

​

  • Applications are endless
  • The bottom line is, you have an input, could be images, videos, audio, text, etc, and the output is a the solution you wish to achieve

19

Oxford International Study Abroad

​

​

20 of 39

Artificial Intelligence: The Big Picture

​

​

​

  • Applications are endless
  • The bottom line is, you have an input, could be images, videos, audio, text, etc, and the output is a the solution you wish to achieve
  • For cats and dogs classification:

20

Oxford International Study Abroad

​

​

21 of 39

Artificial Intelligence: The Big Picture

​

  • For cats and dogs classification:
    • you feed in an image of a cat and/or dog
    • there is some black box “magic” for now
    • the black box produces what it “thinks” this image is
    • the process of finding the parameters of this black box is called “learning” from “machine learning”

21

Oxford International Study Abroad

​

​

22 of 39

The AI Taxonomy

​

22

Oxford International Study Abroad

​

​

23 of 39

The Learning Taxonomy

​

  • We will focus on a popular class of artificial intelligence called “machine learning”

23

Oxford International Study Abroad

​

​

24 of 39

The Learning Taxonomy

​

  • We will focus on a popular class of artificial intelligence called “machine learning”
  • Computer vision is mostly applying machine learning to visual data

24

Oxford International Study Abroad

​

​

25 of 39

The Learning Taxonomy

​

  • We will focus on a popular class of artificial intelligence called “machine learning”
  • Computer vision is mostly applying machine learning to visual data
  • What about the “learning” part of “machine learning? Are there many learning procedures?

25

Oxford International Study Abroad

​

​

26 of 39

The Learning Taxonomy

​

26

Oxford International Study Abroad

​

​

27 of 39

The Learning Taxonomy

​

27

Regression

Classification

Oxford International Study Abroad

​

​

28 of 39

About this Course

​

  • We will look at Artificial Intelligence and Machine learning theory
  • We will also look at practical implementation of AI and ML algorithms
  • Some of the topics we will look into are:
    • Python Programming
    • Linear Regression
    • Logistic Regression
    • Neural Networks
    • Convolutional Neural Networks (Deep Learning)
    • LLMs;
      • What are they?
      • Pretraining, supervised finetuning, RLHF
      • What are tokenizers
      • Self-attention and more

28

Oxford International Study Abroad

​

​

29 of 39

Python Programing and Maths Review

​

  • Please make sure to go through the review material
    • Python:
      • Exercise: Numbers
      • Exercise: Strings
      • Exercise: Lists
      • Exercise: Dictionaries
      • Exercise: Tuples
      • Exercise: IF,FOR, and While
      • Exercise: Numpy
    • Maths:
      • Linear Algebra
      • Probabilities
      • Optimization

29

Oxford International Study Abroad

​

​

30 of 39

Artificial Intelligence: Computer Vision Applications

  • Activity Localization in Video

30

Oxford International Study Abroad

​

​

31 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

31

Karpathy’s talk at ScaledML, 2020.

Oxford International Study Abroad

​

​

32 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

32

Karpathy’s talk at ScaledML, 2020.

Oxford International Study Abroad

​

​

33 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

33

Karpathy’s talk at ScaledML, 2020.

Oxford International Study Abroad

​

​

34 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

34

Karpathy’s talk at ScaledML, 2020.

Oxford International Study Abroad

​

​

35 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

35

Karpathy’s talk at ScaledML, 2020.

Oxford International Study Abroad

​

​

36 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

36

Karpathy’s talk at ScaledML, 2020.

Oxford International Study Abroad

​

​

37 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

37

Karpathy’s talk at ScaledML, 2020.

Oxford International Study Abroad

​

​

38 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

38

Karpathy’s talk at ScaledML, 2020.

Oxford International Study Abroad

​

​

39 of 39

Artificial Intelligence: Computer Vision Applications

​

  • Is it that difficult?
  • A “Stop Sign” use case

39

Karpathy’s talk at ScaledML, 2020.

Oxford International Study Abroad

​

​