CS 330 - Artificial Intelligence - Introduction Instructor: Renzhi - - PowerPoint PPT Presentation

cs 330 artificial intelligence
SMART_READER_LITE
LIVE PREVIEW

CS 330 - Artificial Intelligence - Introduction Instructor: Renzhi - - PowerPoint PPT Presentation

1 CS 330 - Artificial Intelligence - Introduction Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Fall 2019 About me Renzhi Cao Data Science Machine learning Bioinformatics Office: MCLT


slide-1
SLIDE 1

CS 330 - Artificial Intelligence

  • Introduction

Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Fall 2019 1

slide-2
SLIDE 2
  • Office: MCLT 248
  • Office hours: In class website (cs.plu.edu/330)
  • Office Phone: 535-7409
  • Email: caora@plu.edu

About me

Renzhi Cao

  • Data Science
  • Machine learning
  • Bioinformatics

Pictures from: https://www.google.com/search?q=cow&biw=1920&bih=911&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiOt5zlierOAhUE02MKHVbwDY8Q_AUIBigB#imgrc=0dSVh7Vlup1KqM %3A

2

slide-3
SLIDE 3

About invited speaker

3

Professor from department of Math

  • N. Justice
slide-4
SLIDE 4

About invited speaker

4

Professor from department of Math Ksenija Simic-Muller

slide-5
SLIDE 5
slide-6
SLIDE 6
slide-7
SLIDE 7

7

slide-8
SLIDE 8

About you

  • Names
  • Where are you from?
  • Your major?
  • Hobbies? Movie? Song? Sports? Book? TV show?

What you did over your break? …

  • Special skills?

8

slide-9
SLIDE 9

What is this course?

What is this course about?

9

slide-10
SLIDE 10

What is this course?

10

Group discussion:

  • Think an example of AI applications that you could

thought of, and share with your neighbors.

  • Think one scenario that AI may not work or you don’t

want it work? Share with your neighbors.

  • Your new understanding of AI?
slide-11
SLIDE 11

What is this course?

11

Group discussion:

  • Big changes compared to last year: python, math

background, cloud computing.

slide-12
SLIDE 12

What is this course?

How do you solve a problem as a computer programmer? For example, I have seen the following: 1 + 2 = 3 2 + 3 = 5 5 + 4 = 9 …… Q: 4 + 5 = ? 5 + 6 = ?

12

slide-13
SLIDE 13

What is this course?

Machine learning VS traditional programming?

13

slide-14
SLIDE 14

Traditional Programming

Data Program Machine Output

1 + 2 = 3

Input two numbers: 1 2

slide-15
SLIDE 15

What it cannot solve

Rules: Shape? Color? Eye? Mouth? …….

slide-16
SLIDE 16

What is this course?

16

Data

  • utput

Machine New Program 3

Input two numbers: 1 2

2 + 3 = ?

slide-17
SLIDE 17

What is this course?

In this course, we are going to learn several machine learning techniques in AI, and use it to solve problems in different fields.

17

slide-18
SLIDE 18

Syllabus

slide-19
SLIDE 19

Attendance

Attendance

  • Expected to attend every class
  • YOU are responsible for missed materials

Classroom Conduct

  • Come to class on time
  • Turn off electronic devices
  • Refrain from private conversations (voice or electronic)
  • Refrain from activities unrelated to current tasks in class
  • Treat others with respect and dignity
slide-20
SLIDE 20

20

Text book and meeting times

Books:

  • Machine Learning. By Tom M. Mitchell, PUBLISHED BY MIT PRESS, 1997.
  • Introduction to machine learning. BY ALPAYDIN, ETHEM, PUBLISHED BY MIT

PRESS, 2009

  • Deep Learning. BY GOODFELLOW, IAN, PUBLISHED BY MIT PRESS, 2016

Time:

  • Tuesday, Thursday 15:40-17:25, MCLT #203 (Dr. Cao)
slide-21
SLIDE 21

Course website

21

Course Website:

  • https://www.cs.plu.edu/~caora/cs330/
  • https://cs.plu.edu/330
slide-22
SLIDE 22

Course Goals

22

Course goals:

  • Understanding machine learning concept
  • Developing problem solving skills
  • Applying machine learning techniques to solve problems in different fields
  • Having fun on machine learning techniques and developing skills that will

allow you to learn on your own!

slide-23
SLIDE 23

Learning outcomes

23

Learning outcomes:

  • An ability to apply mathematics and the scientific method to solving computing

problems.

  • An ability to critically analyze a problem and to design, implement, and evaluate

a computing solution that meets requirements.

  • An ability to work effectively in small groups on medium scale computing

projects.

  • An ability to use oral and written communication effectively.
  • A recognition of the need to engage in life long learning.
  • An ability to understand the social and ethical implications of working as a

professional in the field of computer science.

  • An ability to use current tools and methodologies in computing practice.
slide-24
SLIDE 24

Prerequisites

24

The official prerequisite for this course is Data Structure in CS 270. Students in Data Science minor could take DS 233 as prerequisite. Some programming experience is preferred, and math background is plus:

  • Linear algebra: vector/matrix manipulations, properties
  • Calculus: partial derivatives
  • Probability: common distributions; Bayes Rule
  • Statistics: mean/median/mode; maximum likelihood
slide-25
SLIDE 25

Course Grade

25

Course participation - 10%

  • In-class exercises or assignments
  • Interactions in or out of class
  • Attendance
  • Attitude
slide-26
SLIDE 26

Course Grade

26

Literatures will be provided by Professor Cao, but you can also find your own literature as long as you send it to Professor Cao before presentation for

  • approval. It is group work, and each group needs to select a topic from a list.

Each group should email me if you decide to present a literature and topic as soon as possible. Ideally, each literature and topic should be presented by one group, and 10% deduction may be applied to other groups to present the same topic and literature. The reports of literature review would be summary of literatures on the selected topic as a report, and slides of group presentation.

Literature Review - 10%

  • Around one literature review during the semester
  • Including report and presentation
slide-27
SLIDE 27

Course Grade

27

The literature review will be around 25 mins (20 mins presentation and 5 mins Q&A) for each group, and will be evaluated by the following factor:

  • Clearly present the background and its significance or motivation? (3 points)
  • Slides is clear and easy to follow. (3 points)
  • Present smoothly. You may need to practice ahead. (3 points)
  • The time. Not too early or too late. (3 points)
  • The literature itself. Some are easy to present, some are difficult. (3 points)
  • Extra points is available if you are actively interacting with other group’s

presentation.

Literature Review - 10%

  • Around one literature review during the semester
  • Including report and presentation
slide-28
SLIDE 28

Course Grade

28

Quiz - 20%

  • Several quizzes during the semester
slide-29
SLIDE 29

Course Grade

29

Labs - 25%

  • Around 4 labs during the semester
slide-30
SLIDE 30

Course Grade

30

Final exam - 15%

  • One final written exam
slide-31
SLIDE 31

Course Grade

31

Course Project - 20%

  • Mid-term proposal presentation (5%)
  • Final project result presentation (5%)
  • Reports and codes (10%)
  • Extra points based on novelty and performance of your

methods

slide-32
SLIDE 32

Overall Score Grade 100% -- 90% A / A- 90% -- 80% B+ / B / B- 80% -- 70% C+ / C / C- 70% -- 60% D+ / D / D- 60% -- 0% E

slide-33
SLIDE 33

Policies of collaborations and assignments

Not allowed for assignments or in-class exercises. Allowed for project or literature review, but contributions of each person need to be included in report. Cite references and acknowledge others work. If students begin working on a project as groups and cannot complete it together, at least one student must contact the instructor to request a partnership dissolution. Assignments or in-class exercises must be submitted before the due date. A late penalty of 10% per day will be assessed after due date, except that you have a strong reason - an emergency, illness, or absence due to a university sanctioned activity such as a sporting event or music performance.

slide-34
SLIDE 34

Important time

  • Last day to add a class without a fee: Sep. 13th
  • Last day to drop a class without a fee: Sep. 20th
  • Last day to withdraw: Nov. 29th
slide-35
SLIDE 35

Introduction

35

When machine learning starts?

Inventors have long dreamed of creating machines that can learn. Desires date back to at least the time of ancient Greece. Inventors Pygmalion and statue he carved - Galatea Talos - a giant automaton made of bronze to protect Europa in Crete from pirates and invaders, by inventor Daedalus Inventor Hephaestus and the first human woman created by him - Pandora

slide-36
SLIDE 36

Introduction

When machine learning starts?

People wonder whether such machines may become intelligent. Today, Artificial intelligence (AI) is a thriving field with many practical applications and active research topics.

Machine learning in early days

Used to solve problems that are intellectually difficult for human beings but relatively straightforward for computers, based on a list of formal and mathematical rules. The true challenge for machine learning is to solve tasks that are easy for people but difficult for machine to do. Recognizing spoken words, faces in images.

Machine learning in now days

slide-37
SLIDE 37

Introduction

37

Why machine learning?

  • My experience at Silicon Valley. (13 w)
  • It’s everywhere. You may not want to know how to make a

car, but it’s always good if you know something about it.

  • A dream that one day the machine is as intelligent as

human.

slide-38
SLIDE 38

Introduction

38

Why machine learning?

More importantly, the traditional program can not solve some problems, such as recognizing a three-dimensional object from a novel view in new lighting conditions in a cluttered scene.

  • What to write?
  • Even you know what to

write, it’s too complicate.

slide-39
SLIDE 39

Introduction

39

Why machine learning?

What rule to decide your credit card transaction is fraudulent?

  • There may be simple rules, but we need to

combine a lot of weak rules

  • Rules will be changed, so your method needs to

be updated all the time.

slide-40
SLIDE 40

Introduction

40

Machine learning approach

Instead of writing program with all different rules, we collect examples that specify the correct output for a given input.

  • The machine created program may look very different from typical
  • program. It may contains millions of numbers
  • If we do it right, the machine created program works well for new

cases, and also the ones we trained on it

  • If the data changes, the program can also be changed by training on

new data

A machine learning algorithm takes the examples and produces program that does the job Massive amounts of computation are now cheaper than paying someone to write-specific program.

slide-41
SLIDE 41

Spam Filtering Web Search Postal Mail Routing Fraud Detection

Movie Recommendations

Vehicle Driver Assistance Web Advertisements Social Networks Speech Recognition

Machine Learning in Our Daily Lives

slide-42
SLIDE 42

Introduction

Google search demo

slide-43
SLIDE 43

Introduction

Google translation demo

slide-44
SLIDE 44

Introduction

44

slide-45
SLIDE 45

What is this course?

45

slide-46
SLIDE 46

Introduction

46

slide-47
SLIDE 47

Introduction

47

Self-driving car

slide-48
SLIDE 48

What is this course?

48

slide-49
SLIDE 49

Introduction

49

Amazon recommendation

slide-50
SLIDE 50

Art

Johnson, Justin, Alexandre Alahi, and Li Fei-Fei. "Perceptual losses for real-time style transfer and super-resolution." arXiv preprint arXiv:1603.08155 (2016).

slide-51
SLIDE 51

Art

Johnson, Justin, Alexandre Alahi, and Li Fei-Fei. "Perceptual losses for real-time style transfer and super-resolution." arXiv preprint arXiv:1603.08155 (2016).

slide-52
SLIDE 52

Art

Johnson, Justin, Alexandre Alahi, and Li Fei-Fei. "Perceptual losses for real-time style transfer and super-resolution." arXiv preprint arXiv:1603.08155 (2016).

The Muse, Pablo Picasso, 1935

slide-53
SLIDE 53

Computational biology

>T0759 HR9083A, Human, 109 residues MGHHHHHHSHMVVIHPDPGRELSPEEAHRAGLIDWNMFVKLRSQECDWEEISVKGPNGES SVIHDRKSGKKFSIEEALQSGRLTPAHYDRYVNKDMSIQELAVLVSGQK

slide-54
SLIDE 54

More interesting AI

  • http://simon.cs.plu.edu/MLFun//

index.php

slide-55
SLIDE 55

Introduction

55

Machine VS Human

  • IBM deep blue chess-playing system

defeated world champion Garry Kasparov in 1997.

slide-56
SLIDE 56

March 2016

AlphaGo 4 – Lee Sedol 1

slide-57
SLIDE 57

https://www.britgo.org/intro/intro2.html

The rules

  • Starts with an empty board.
  • Players take turns to place one stone on vacant point
  • Capture your opponent’s stones by completely surrounding them
  • Goal: Use your stones to form territories by surrounding vacant

areas of the board

slide-58
SLIDE 58

Baidu’s AI boss, Andrew Ng, pictured left with the host of ‘Super Brain’ and Baidu’s robot, Xiaodu

  • Jan. 2017
slide-59
SLIDE 59
slide-60
SLIDE 60
slide-61
SLIDE 61
slide-62
SLIDE 62

https://www.theguardian.com/technology/2017/jan/30/libratus-poker-artificial-intelligence-professional-human-players-competition

  • Jan. 2017
slide-63
SLIDE 63

SWARM AI CORRECTLY PREDICTED THE OUTCOME OF SUPER BOWL LI, RIGHT DOWN TO THE FINAL SCORE

http://www.digitaltrends.com/cool-tech/swarm-artificial-intelligence-super-bowl-patriots/

The New England Patriots’ win over the Atlanta Falcons was nothing short of

  • amazing. The Pats rallied back from a 25-point deficit to tie the game in the final

minutes of regulation and secured the win with a decisive touchdown drive in

  • vertime.

Swarm AI (Combines swarming algorithms with human input) accurately predicted the outcome of the game, right down to the 34-28 win by the Patriots. February 6, 2017

slide-64
SLIDE 64

Introduction

64

Machine learning VS AI

  • Interesting talk with students
  • Artificial Intelligence is the broader concept of machines being

able to carry out tasks in a way that we would consider “smart”.

  • Machine Learning is a current application of AI based around the idea

that we should really just be able to give machines access to data and let them learn for themselves.

http://www.forbes.com/sites/bernardmarr/2016/12/06/what-is-the-difference-between-artificial-intelligence-and-machine-learning/#2d597284687c

slide-65
SLIDE 65

AI Machine learning Representation learning Deep learning Example: Knowledge bases Example: Logistic regression Example: Shallow autoencoders Example: MLPs

slide-66
SLIDE 66

The MNIST Dataset

Goodfellow, 2016

slide-67
SLIDE 67

Introduction

Historical Trends: Growing Datasets

1900 1950 1985 2000 2015 100 101 102 103 104 105 106 107 108 109 Dataset size (number examples) Iris MNIST Public SVHN ImageNet CIFAR-10 ImageNet10k ILSVRC 2014 Sports-1M Rotated T vs. C T vs. G vs. F Criminals Canadian Hansard WMT

Figure 1.8

Goodfellow, 2016

slide-68
SLIDE 68

68

Biological neural network size from Wikipedia (2015).

slide-69
SLIDE 69

Introduction

Number of Neurons

Figure 1.11

Goodfellow, 2016

1950 1985 2000 2015 2056 10−2 10−1 100 101 102 103 104 105 106 107 108 109 1010 1011 Number of neurons (logarithmic scale) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Sponge Roundworm Leech Ant Bee Frog Octopus Human

slide-70
SLIDE 70

Introduction

Solving Object Recognition

Figure 1.12

Goodfellow, 2016

2010 2011 2012 2013 2014 2015 0.00 0.05 0.10 0.15 0.20 0.25 0.30 ILSVRC classification error rate

slide-71
SLIDE 71

Useful resources

71

There will be several useful resources:

  • Sakai for announcement and assignments
  • Course website : https://cs.plu.edu/330
  • GitLab: full featured GitHub style system, but it is self-hosted on PLU servers

https://gitlab.cs.plu.edu

slide-72
SLIDE 72

Useful resources

72

slide-73
SLIDE 73

73

Resources

Before you leave today…


  • apply for a curly account

https://www.cs.plu.edu/hub/accounts/requests/new Finish survey about your background (available on course website). Register and change your password on course website.


slide-74
SLIDE 74

74

Resources

Create an Account… – Open the Firefox browser – Go to https://www.cs.plu.edu/hub/ – Click on Request link – Review PLU Policies – Click on I agree link

slide-75
SLIDE 75

75

Resources

Account for the first few days (active through Sep. 21, 2019):

user name: firstday password: fall2019

slide-76
SLIDE 76

Topics (Theme of AI in Business)

  • AI in Accounting
  • AI in Finance
  • AI in Marketing
  • AI in HR
  • AI in Cyber security like Cryptocurrency
  • AI in Healthcare (Bioinformatics)
  • AI in supply-chain and logistics (Amazon)
  • AI in Autonomous car
  • Other AI applications in Business
slide-77
SLIDE 77

Tasks in summary

  • 2. Think about topics that you are interested and form group,

Proposing interesting machine learning topics.

  • 1. Explore gitlab / github
  • 3. Read materials in course website
  • 4. Labs, and your computer availability (Python programming)
  • 5. Request account before first day account expired
  • 6. Finish survey, check out class website and Sakai regularly:

https://www.cs.plu.edu/~caora/cs330/

slide-78
SLIDE 78

Questions

Discussion about topics