Database & AnalyticsSection 155 min read5 questions

Machine Learning

Rekognition, Transcribe, SageMaker & more

AWS มีบริการ Machine Learning ครบวงจร — ตั้งแต่ AI services พร้อมใช้ (Rekognition, Transcribe, Polly, Translate, Lex, Comprehend) ไปจนถึง SageMaker สำหรับสร้าง train และ deploy ML model ของคุณเอง — ข้อสอบ CCP จะเน้นการจบคู่ service กับ use case

ในหน้านี้14 sections
  1. 01AWS Machine Learning Overview
  2. 02Amazon Rekognition
  3. 03Amazon Transcribe
  4. 04Amazon Polly
  5. 05Amazon Translate
  6. 06Amazon Lex & Connect
  7. 07Amazon Comprehend
  8. 08Amazon SageMaker
  9. 09Amazon Forecast
  10. 10Amazon Kendra
  11. 11Amazon Personalize
  12. 12Amazon Textract
  13. 13Comparison Table
  14. 14AWS ML Summary
01

AWS Machine Learning Overview

AWS ให้บริการ Machine Learning แบ่งเป็น 3 ระดับ ตามความยากง่ายของการใช้งาน — จาก AI พร้อมหยิบไปจนถึงระดับ infrastructure ที่คุณจัดการเองทั้งหมด

1. AI Services (Ready-to-use)

พร้อมใช้ผ่าน API — ไม่ต้อง train model เอง เช่น Rekognition, Transcribe, Polly, Translate, Comprehend, Lex

2. ML Services (Build yourself)

ช่วย build, train, deploy model เอง — ตัวหลักคือ Amazon SageMaker ซึ่งครอบคลุม ML lifecycle ทั้งหมด

3. ML Frameworks & Infrastructure

ระดับล่างสุด — TensorFlow, PyTorch, MXNet บน EC2 (GPU/Inferentia/Trainium) — สำหรับผู้เชี่ยวชาญที่ต้องการควบคุมเต็มรูปแบบ

02

Amazon Rekognition

Amazon Rekognition ใช้ ML ในการค้นหา วัตถุ, คน, ข้อความ, ฉาก ใน รูปภาพและวิดีโอ — รองรับ facial analysis (วิเคราะห์ใบหน้า) และ facial search (ค้นหาใบหน้า)

  • Labeling — ติด label วัตถุในรูป (หมา, รถ, ต้นไม้ ฯลฯ)
  • Content Moderation — ตรวจจับเนื้อหาไม่เหมาะสม (NSFW, ความรุนแรง)
  • Text Detection — อ่านข้อความจากรูป (OCR-like)
  • Face Detection & Analysis — ตรวจจับเพศ, อายุ, อารมณ์ (gender / age / emotions)
  • Face Search & Verification — ยืนยันตัวตน (face matching)
  • Celebrity Recognition — ระบุคนดัง
  • Pathing — ติดตามการเคลื่อนไหวของคน/วัตถุ (ใช้วิเคราะห์ sports)
03

Amazon Transcribe

Amazon Transcribe — แปลงเสียงเป็นข้อความ (Speech to Text) ด้วย deep learning ASR (Automatic Speech Recognition)

  • Transcribe customer service calls — ถอดเทปสายสนทนา call center เป็น text
  • ทำ closed captioning + subtitling อัตโนมัติ
  • สร้าง metadata จากไฟล์เสียง/วิดีโอ → ค้นหาได้ (searchable media archive)
04

Amazon Polly

Amazon Polly — แปลงข้อความเป็นเสียงพูดที่เหมือนมนุษย์ (Text to Speech) ด้วย deep learning — สร้างแอปพลิเคชัน "ที่พูดได้"

  • Convert text → lifelike speech
  • รองรับหลายภาษา, หลายเสียง (voice)
  • Use case: voice assistant, e-learning, accessibility (อ่านข้อความให้ผู้พิการ)
05

Amazon Translate

Amazon Translate — แปลภาษาแบบถูกต้องและเป็นธรรมชาติ (natural + accurate) ด้วย ML

  • Localize เว็บไซต์/แอปสำหรับ user ต่างชาติ
  • รองรับหลายภาษา — ไทย, อังกฤษ, ญี่ปุ่น, จีน ฯลฯ
  • รวมกับ Polly → สร้าง multi-language voice app ได้
06

Amazon Lex & Connect

Amazon Lex และ Connect มักจะไปด้วยกัน — ตัวหนึ่งสร้าง bot, อีกตัวรับ/โทรออก:

Amazon Lex

เทคโนโลยีเดียวกับที่ขับเคลื่อน Alexa — รวม ASR (เสียง→ข้อความ) + NLU (เข้าใจ intent ของผู้ใช้) — สร้าง chatbot, call center bot

Amazon Connect

Cloud-based virtual contact center — รับสาย, ตั้ง contact flow, เชื่อมต่อ CRM — ถูกกว่า traditional contact center 80%, ไม่มีค่า upfront

07

Amazon Comprehend

Amazon Comprehend — บริการ Natural Language Processing (NLP) — fully managed + serverless — ใช้ ML หา insight จากข้อความ

  • Language detection — ระบุภาษาของข้อความ
  • สกัดสิ่งสำคัญ (key phrases), สถานที่ (places), บุคคล (people), แบรนด์ (brands), เหตุการณ์ (events)
  • Sentiment analysis — บวก/ลบ (positive / negative / neutral / mixed)
  • Tokenization + parts of speech
  • Auto-organize text by topic (topic modeling)

Use case 1

วิเคราะห์ email ลูกค้า — บอกได้ว่าลูกค้าพอใจหรือไม่

Use case 2

จัดกลุ่มบทความตามหัวข้อ (group articles by topic) — ไม่ต้องติด tag เอง

08

Amazon SageMaker

Amazon SageMaker — fully managed service สำหรับ developers + data scientists สร้าง ML model เอง — ปกติ ML lifecycle ยากและต้องจัดการ server เอง — SageMaker จัดการให้หมด

  • Data preparation — label, clean, transform data
  • Training — train model บน instance ขนาดต่างๆ (CPU/GPU)
  • Tuning — hyperparameter tuning อัตโนมัติ
  • Deployment — deploy เป็น endpoint สำหรับ inference ได้ทันที
  • รวมทุกขั้นตอนของ ML ไว้ในที่เดียว (build → train → deploy)
09

Amazon Forecast

Amazon Forecast — fully managed ML สำหรับพยากรณ์ (forecasting) ที่แม่นยำสูง

  • แม่นยำกว่าการดูข้อมูลตรงๆ ถึง 50%
  • ลดเวลาพยากรณ์จาก หลายเดือน → ชั่วโมง
  • Use cases: วางแผน demand ของสินค้า (product demand planning), วางแผนการเงิน (financial planning), วางแผนทรัพยากร (resource planning)
10

Amazon Kendra

Amazon Kendra — fully managed document search ขับเคลื่อนด้วย ML — ดึงคำตอบจากเอกสารได้

  • รองรับไฟล์หลากหลาย — text, PDF, HTML, PowerPoint, Word, FAQs
  • Natural language search — ถามเป็นประโยคได้ (ไม่ใช่แค่คีย์เวิร์ด)
  • Incremental learning — เรียนรู้จาก feedback ของผู้ใช้ → ผลลัพธ์ดีขึ้นเรื่อยๆ
11

Amazon Personalize

Amazon Personalize — ระบบ recommendation แบบ real-time — เทคโนโลยีเดียวกันกับ Amazon.com

  • Integrate กับ website, app, SMS, email marketing
  • Use cases: retail (แนะนำสินค้า), media + entertainment (แนะนำหนัง/เพลง), custom direct marketing
12

Amazon Textract

Amazon Textract — อ่านข้อความ, ลายมือ, และข้อมูลจากเอกสาร scan อัตโนมัติด้วย ML (OCR + form/table extraction)

  • Use cases: financial services (ใบแจ้งหนี้, statement)
  • Healthcare (เวชระเบียน, แบบฟอร์มผู้ป่วย)
  • Public sector (เอกสารราชการ)
  • KYC (Know Your Customer) — อ่านบัตรประชาชน/passport
13

Comparison Table

สรุป service แต่ละตัวกับ use case หลัก — จำไว้ตอบข้อสอบ:

Rekognition

วิเคราะห์รูป/วิดีโอ — face, object, text, celebrity

Transcribe

เสียง → ข้อความ (Speech to Text, ASR)

Polly

ข้อความ → เสียง (Text to Speech)

Translate

แปลภาษา (machine translation)

Lex

Chatbot brain (Alexa tech — ASR + NLU)

Connect

Cloud contact center (ระบบรับสาย call center)

Comprehend

NLP — sentiment, key phrase, entity, language detection

SageMaker

Build/train/deploy ML model เอง (developer + data scientist)

Forecast

พยากรณ์ time-series (demand, financial, resource)

Kendra

Document search — ถามภาษาธรรมชาติ บนเอกสาร

Personalize

Recommendation real-time (Amazon.com tech)

Textract

OCR + extract form/table จากเอกสาร scan

14

AWS ML Summary

  • 3 ระดับ: AI services (พร้อมใช้) → ML services (SageMaker) → Frameworks/Infra
  • Image/Video: Rekognition (วัตถุ, หน้า, ข้อความในรูป)
  • เสียง: Transcribe (speech→text) ตรงข้าม Polly (text→speech)
  • ภาษา: Translate (แปล), Comprehend (เข้าใจ NLP)
  • Bot: Lex (สมอง chatbot, Alexa tech) + Connect (call center)
  • SageMaker: dev/data scientist build ML เองจบวงจร
  • Forecast: พยากรณ์ time-series
  • Kendra: document search ML
  • Personalize: recommendation engine
  • Textract: OCR + form/table extraction
ทดสอบ

คำถามทบทวน

5 ข้อ — เลือกคำตอบเพื่อดูเฉลยและคำอธิบาย

ข้อ 1 / 5คะแนน 0

บริษัทต้องการวิเคราะห์รูปภาพและวิดีโอเพื่อตรวจจับวัตถุ, ใบหน้า, และข้อความในภาพ รวมถึง content moderation — ควรใช้ AWS service ใด?