การประมวลผลภาษาธรรมชาติ

Understanding Machine Learning

Sara Billen

Curriculum Manager at DataCamp

Natural Language Processing (NLP)

ความสามารถของคอมพิวเตอร์ในการทำความเข้าใจภาษามนุษย์

Understanding Machine Learning

Bag of words

Bag of Words

Understanding Machine Learning

Bag of words

"U2 is a great band"

Word Count
U2 1
Queen 0
is 1
a 1
great 1
band 1

"Queen is a great band"

Word Count
U2 0
Queen 1
is 1
a 1
great 1
band 1
Understanding Machine Learning

Bag of words: n-grams

"That book is not great"

Word Count
That 1
book 1
is 1
not 1
great 1

2-gram (bi-gram)

Word Count
That book 1
book is 1
is not 1
not great 1
Understanding Machine Learning

Bag of words: ข้อจำกัด

  • การนับคำไม่ครอบคลุมคำพ้องความหมาย
  • ตัวอย่าง: "blue"
    • "sky-blue"
    • "aqua"
    • "cerulean"
  • ต้องการจัดกลุ่มเป็น feature เดียว

blue

Understanding Machine Learning

Word embeddings

Word embeddings

  • สร้าง feature ที่จัดกลุ่มคำที่มีความหมายใกล้เคียงกัน
  • Feature มีความหมายเชิงคณิตศาสตร์:

$$

king - man + woman = queen

Understanding Machine Learning

การแปลภาษา

การแปลภาษาด้วยโครงข่ายประสาทเทียม

Understanding Machine Learning

การประยุกต์ใช้งาน

  • การแปลภาษา
  • แชทบอท
  • ผู้ช่วยส่วนตัว
  • การวิเคราะห์ความรู้สึก
  • ...

ชายกำลังแชทกับแชทบอทบนสมาร์ตโฟน

Understanding Machine Learning

Deep learning

  • ปัญหา 2 ประเภท
    • Computer vision
    • การประมวลผลภาษาธรรมชาติ
  • ทำไมต้องใช้ deep learning?
    • ปัญหาที่ซับซ้อน
    • การดึง feature อัตโนมัติ
    • ข้อมูลจำนวนมาก

Understanding Machine Learning

มาฝึกกันเถอะ!

Understanding Machine Learning

Preparing Video For Download...