applied artificial intelligenceappliedai.wordpress.ncsu.edu/files/2018/11/session-24.pdf · 2018....

12
Applied Artificial Intelligence Session 24: Homework, project presentations Fall 2018 NC State University Lecturer: Dr. Behnam Kia Course Website: https://appliedai.wordpress.ncsu.edu/ 1 Nov 20, 2018

Upload: others

Post on 05-Feb-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

  • Applied Artificial Intelligence

    Session 24: Homework, project presentations

    Fall 2018

    NC State University

    Lecturer: Dr. Behnam Kia

    Course Website: https://appliedai.wordpress.ncsu.edu/

    1

    Nov 20, 2018

  • Homework: EmbeddingDeadline: Tuesday Nov 27, 3PM

    • Given a word, find the closest word to it – hopefully a synonym.

    2

  • Homework: Embedding

    • Given a word, find the closest word to it in the dictionary – hopefully a synonym.

    3

    word

    Embedding layer

  • Homework: Embedding

    • Given a word, find the closest word to it in the dictionary – hopefully a synonym.

    4

    word

    Embedding layer

    Word1

    Word2

    Word3

    Word4Word5

  • Homework: Embedding

    • Given a word, find the closest word to it in the dictionary – hopefully a synonym.

    5

    word

    Embedding layer

    Word1

    Word2

    Word3

    Word4Word5

  • Homework: Embeddingpart 2

    6

    • Words a has some relationship with b. For a given word c, find word d that word c has the same relationship with word d.

    • Example 1: – a is Paris– b is France– Word a has a relationship with word b. (in this case a

    is b’s capital).– If c is London, what should be d?

  • Homework: Embeddingpart 2

    7

    • Words a has some relationship with b. For a given word c, find word d that word c has the same relationship with word d.

    • Example 2: – a is man– b is men– Word a has a relationship with word b. (in this case a

    is b’s singular form).– If c is woman, what should be d?

  • Homework: Embedding

    • Given a word, find the closest word to it in the dictionary – hopefully a synonym.

    8

    a

    Embedding layer

    b

    a

    b

  • Homework: Embedding

    • Given a word, find the closest word to it in the dictionary – hopefully a synonym.

    9

    a

    Embedding layer

    b

    a

    b

  • Homework: Embedding

    • Given a word, find the closest word to it in the dictionary – hopefully a synonym.

    10

    a

    Embedding layer

    b

    a

    bc

    c

  • Homework: Embedding

    • Given a word, find the closest word to it in the dictionary – hopefully a synonym.

    11

    a

    Embedding layer

    b

    a

    bc

    c

  • Homework: Embedding

    • Given a word, find the closest word to it in the dictionary – hopefully a synonym.

    12

    a

    Embedding layer

    b

    a

    bc

    c

    Word1

    Word3

    Word4