LearningTree Β· AWS Β· AI & Machine Learning

AI & Machine Learning β€”
From Pre-Trained APIs to Custom Models

Amazon SageMaker, Bedrock, Rekognition, Comprehend, Lex, Polly, Transcribe, Translate β€” managed AI/ML services for every skill level, from no-code AI APIs to full model training pipelines.

SageMaker Bedrock
01
Chapter One

Why AI/ML on AWS?

AWS AI/ML services let you add intelligence to applications without being a data scientist. Pre-trained APIs handle vision, language, and speech out of the box β€” while SageMaker and Bedrock give ML engineers full control over custom model training and foundation models.

The Three Layers of AWS AI/ML
🎯

AI Services (No ML Expertise)

  • Pre-trained, ready-to-use APIs
  • No data or training required
  • Vision, speech, text, translation
  • Services: Rekognition, Textract, Comprehend, Lex, Polly, Transcribe, Translate
🧠

Foundation Models (Bedrock)

  • Access to LLMs from AWS + third parties
  • Claude, Llama, Titan, Stable Diffusion
  • Prompt engineering, RAG, fine-tuning
  • Service: Amazon Bedrock
πŸ”¬

ML Platform (Full Control)

  • Build, train, and deploy custom models
  • Bring your own data and algorithms
  • Full MLOps pipeline
  • Service: Amazon SageMaker
The AI/ML Spectrum β€” Simplicity to Control
← No ML expertise needed Full ML control β†’
AI Services
Pre-trained APIs
Bedrock
Foundation models
SageMaker
Custom training
02
Chapter Two

Services

Core AI/ML Services
Services at a Glance
ServiceCategoryWhat It DoesML Expertise?Use Case
SageMakerML PlatformBuild, train, deploy custom ML modelsRequiredRecommendation engines, fraud detection, forecasting
BedrockFoundation ModelsAccess LLMs via API (Claude, Llama, Titan)MinimalChatbots, content generation, RAG, summarisation
RekognitionVisionImage/video analysis β€” faces, objects, textNoneIdentity verification, content moderation
TextractDocumentOCR + structured data extractionNoneInvoice processing, form automation
ComprehendLanguageNLP β€” sentiment, entities, PII detectionNoneTicket routing, brand monitoring
LexConversationBuild conversational chatbotsNoneCustomer support bots, IVR
PollySpeechText to natural speechNoneAudiobooks, accessibility
TranscribeSpeechSpeech to text (ASR)NoneCall analytics, subtitles
TranslateLanguageReal-time translation (75+ languages)NoneLocalisation, multilingual support
03
Chapter Three

Decision Guide

When to Use What
If you need…Use…
Train a custom model on your own dataSageMaker
Build a generative AI chatbot or content generatorBedrock
Detect faces, objects, or text in imagesRekognition
Extract tables and forms from scanned documentsTextract
Analyse sentiment or detect PII in textComprehend
Build a voice or text chatbotLex
Convert text to natural-sounding speechPolly
Transcribe audio/video to textTranscribe
Translate text between languagesTranslate
Combine multiple AI services in a pipelineStep Functions + AI services
πŸ‘‰ Key Takeaway

Start with pre-trained AI Services (Rekognition, Comprehend, etc.) for common tasks. Use Bedrock for generative AI. Use SageMaker only when you need full custom model training with your own data and algorithms.