ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

Fundamentals of AI and ML

ပြန်နွှေးစာရွက်

01

Fundamentals of AI and ML

စာမေးပွဲမဖြေမီ ပြန်ဖတ်ရန် ဒီ domain ရဲ့ အဓိကအချက်များ။

ဒီပြန်နွှေးစာရွက်ကို လောလောဆယ် အင်္ဂလိပ်လို ပြထားပါသည်။

1.1Core terms

  • AI contains ML, ML contains deep learning, deep learning contains GenAI.
  • AI is not always learning: a fixed set of rules is also AI.
  • Model: what training produced. Algorithm: the learning method.
  • Training builds the model. Inferencing uses it on new data.
  • Neural network: neurons in layers, linked by weights. Deep means many layers.
  • NLP works on language. Computer vision works on images and video.
  • GenAI creates content. Classic ML predicts a label or a number.
  • Agent: plans, uses tools and acts. A chatbot only replies.
  • Overfitting: great on training data, poor on new data. Underfitting: too simple.

1.1Core terms

  • Bias: skewed results, often from skewed data. Fairness: similar quality for all groups.
  • AI

    Software that does tasks that need human intelligence
  • Machine learning

    A model learns patterns from data, then predicts
  • Deep learning

    ML with neural networks that have many layers
  • Generative AI

    Deep learning that creates new text, images or code
  • Agentic AI

    Plans and uses tools to reach a goal
The five terms the exam likes to compare.

1 / 2

  • AI

    Software that does tasks that need human intelligence
  • Machine learning

    A model learns patterns from data, then predicts
  • Deep learning

    ML with neural networks that have many layers
  • Generative AI

    Deep learning that creates new text, images or code

2 / 2

  • Agentic AI

    Plans and uses tools to reach a goal
The five terms the exam likes to compare.

1.1Inference, data and learning

  • Real-time: instant answers, model always running.
  • Serverless: instant answers, pay only when used, good for idle gaps.
  • Asynchronous: large payloads or long jobs, result comes later.
  • Batch: a whole dataset at once, no one waits.
  • Tabular: rows and columns. Time-series: values in time order.
  • Labeled data has the answer attached. Unlabeled data does not.
  • Structured data has a fixed layout. Images, text and audio are unstructured.
  • Supervised: labeled data, known outcomes.
  • Unsupervised: no labels, finds groups. Reinforcement: reward and penalty.
  • Real-time

    Instant answers, steady traffic
  • Serverless

    Instant answers, uneven traffic, idle gaps
  • Asynchronous

    Large inputs, long jobs, result later
  • Batch

    A whole dataset at once, nobody waits
Pick the inference type by latency, payload size and traffic.

1.1Data, tuning and model names

  • Training set: the model learns. Validation set: compare settings. Test set: final check on unseen data.
  • Feature: an input. Label: the answer. Feature engineering: create, transform and select features.
  • Hyperparameter: a setting chosen before training. Weights are learned.
  • Common hyperparameters: learning rate, batch size, epochs, regularization.
  • Overfitting fixes: more data, early stopping, regularization, a simpler model.
  • Underfitting fixes: train longer, add features, use a bigger model.
  • Self-supervised: the model makes its own labels. Foundation models pre-train this way.
  • Semi-supervised: a few labels plus much unlabeled data.
  • CNN, ResNet

    Image tasks
  • RNN

    Sequences, older text and speech models
  • GPT

    Generates text and code
  • BERT

    Understands text
  • GAN

    Two networks compete to make realistic data
  • WaveNet

    Generates raw audio for speech
  • XGBoost

    Tree-based model for tabular data
Model names the exam uses as answer options.

1 / 2

  • CNN, ResNet

    Image tasks
  • RNN

    Sequences, older text and speech models
  • GPT

    Generates text and code
  • BERT

    Understands text

2 / 2

  • GAN

    Two networks compete to make realistic data
  • WaveNet

    Generates raw audio for speech
  • XGBoost

    Tree-based model for tabular data
Model names the exam uses as answer options.

1.2Use cases and techniques

  • AI adds value by assisting decisions, scaling and automating.
  • Named use cases: vision, NLP, speech, recommendations, fraud, forecasting, knowledge bases, agents.
  • Do not use ML when a fixed rule gives the exact answer.
  • Do not use ML with too little data, or when cost is larger than benefit.
  • Regression predicts a number. Classification predicts a category.
  • Clustering finds groups without labels. Forecasting predicts values over time.
  • Traditional ML: narrow task, easier to explain, cheaper per request.
  • Foundation model: many open tasks, little labeled data, harder to explain.
  • Strict regulation or required explanations point to traditional ML.
What answer do you want?
Regression
Classification
Clustering
A numberA categoryGroups
The kind of answer picks the technique.

1.2AWS AI services

  • Pre-trained AI services need no ML skills: send data, get results.
  • SageMaker AI is for building your own models. It was called Amazon SageMaker.
  • SageMaker AI parts: Studio, Canvas (no code), Ground Truth (labels), endpoints, Model Monitor, Model Cards.
  • Transcribe: audio in, text out. Polly: text in, speech out.
  • Lex uses intents and slots to build bots. An utterance is what the user says.
  • Comprehend: sentiment, entities, key phrases, language, personal data.
  • Rekognition reads pictures and video. Textract reads documents.
  • Personalize needs your interaction data, such as clicks and purchases.
Match the need in the question to the service.

1 / 3

2 / 3

  • Build a chatbot or voice bot

  • Find objects and faces in images and video

  • Read forms and tables in scanned documents

  • Recommend items to users

3 / 3

Match the need in the question to the service.

1.2Search, review and healthcare AI

  • Kendra: search documents with natural-language questions. Closed to new customers since July 30, 2026.
  • New RAG builds use Amazon Bedrock Knowledge Bases instead of Kendra.
  • A2I: people review low-confidence predictions. Built in for Textract and Rekognition. Closed to new customers, but exams may still name it.
  • A2I reviews live predictions. Ground Truth labels training data.
  • Comprehend Medical, Transcribe Medical and HealthScribe are HIPAA eligible.
  • Search company documents by question

  • Human review of uncertain predictions

  • Medical facts and PHI from clinical text

    Amazon Comprehend Medical
  • Medical speech to text

    Amazon Transcribe Medical
  • Draft clinical notes from a visit

    AWS HealthScribe
The clue picks the service.

1 / 2

  • Search company documents by question

  • Human review of uncertain predictions

  • Medical facts and PHI from clinical text

    Amazon Comprehend Medical
  • Medical speech to text

    Amazon Transcribe Medical

2 / 2

  • Draft clinical notes from a visit

    AWS HealthScribe
The clue picks the service.

1.3Pipeline, sources and MLOps

  • Pipeline: collect, prepare, engineer features, train, tune, evaluate, deploy, monitor.
  • Evaluate on data the model did not train on.
  • Monitoring feeds back into new data and retraining.
  • FM sources: provider model by API, open source pre-trained model, custom model.
  • More you do yourself means more control, more cost and more effort.
  • Managed API: the provider runs the servers. Self-hosted API: you run them.
  • MLOps: experiments, repeatable steps, scalable systems, low technical debt, production readiness.
  • Drift: live data changes and accuracy falls. Monitor, then retrain.
  • Prepare, train, tune, monitor

  • Choose and use a foundation model by API

  • Write application code with AI help

  • Staff use AI on company data

Which service fits which stage.

1.3SageMaker AI tools and data services

  • Studio is the ML workspace. Canvas builds models with no code.
  • Data Wrangler prepares data visually. It now lives in Canvas.
  • Feature Store: online store for live use, offline store for training.
  • Automatic model tuning searches for good hyperparameters.
  • Pipelines automate the workflow. Model Registry approves versions for deployment.
  • Model Monitor finds drift. Model Dashboard gives one view of all models.
  • Ground Truth, Model Monitor and Role Manager: closed to new customers since July 30, 2026.
  • Glue (ETL), DataBrew (clean), EMR (big data), Redshift (warehouse), Data Exchange (third-party data).
  • Data Wrangler

    Prepare data visually
  • Feature Store

    Store and reuse features
  • Ground Truth

    Label data with human workers
  • Pipelines

    Automate the ML workflow
  • Model Registry

    Catalog and approve model versions
  • Model Monitor

    Watch deployed models for drift
  • Role Manager

    Least-privilege roles for ML staff
Which SageMaker AI tool does which job.

1 / 2

  • Data Wrangler

    Prepare data visually
  • Feature Store

    Store and reuse features
  • Ground Truth

    Label data with human workers
  • Pipelines

    Automate the ML workflow

2 / 2

  • Model Registry

    Catalog and approve model versions
  • Model Monitor

    Watch deployed models for drift
  • Role Manager

    Least-privilege roles for ML staff
Which SageMaker AI tool does which job.

1.3Metrics

  • Accuracy misleads when one class is rare.
  • Precision: of the flagged items, how many were right.
  • Recall: of the real cases, how many were found.
  • F1 score balances precision and recall in one number.
  • Fraud and disease: favor recall. Spam: favor precision.
  • AUC-ROC: 0.5 is guessing, 1 is perfect.
  • Predicting a number: MAE, RMSE and MAPE (lower is better), R squared (closer to 1).
  • Business metrics: cost per user, development cost, customer feedback, ROI.
  • ROI compares the gain with the total cost.

1.3Metrics

  • An accurate model can still fail on cost, speed or customer trust.
  • Accuracy

    Asks
    How many predictions were right?
    Favor it when
    Classes are balanced
  • Precision

    Asks
    Of the flagged, how many were right?
    Favor it when
    False alarms are costly
  • Recall

    Asks
    Of the real cases, how many were found?
    Favor it when
    Missing a case is costly
  • F1 score

    Asks
    How good is the balance of both?
    Favor it when
    You need both
  • AUC-ROC

    Asks
    How well are the two classes separated?
    Favor it when
    0.5 is guessing, 1 is perfect
  • MAE, RMSE, MAPE

    Asks
    How big is the error on a number?
    Favor it when
    Predicting a number. Lower is better
  • R squared

    Asks
    How much of the change is explained?
    Favor it when
    Closer to 1 is better
Which model metric to favor.

1 / 3

  • Accuracy

    Asks
    How many predictions were right?
    Favor it when
    Classes are balanced
  • Precision

    Asks
    Of the flagged, how many were right?
    Favor it when
    False alarms are costly
  • Recall

    Asks
    Of the real cases, how many were found?
    Favor it when
    Missing a case is costly

2 / 3

  • F1 score

    Asks
    How good is the balance of both?
    Favor it when
    You need both
  • AUC-ROC

    Asks
    How well are the two classes separated?
    Favor it when
    0.5 is guessing, 1 is perfect

3 / 3

  • MAE, RMSE, MAPE

    Asks
    How big is the error on a number?
    Favor it when
    Predicting a number. Lower is better
  • R squared

    Asks
    How much of the change is explained?
    Favor it when
    Closer to 1 is better
Which model metric to favor.

စာမေးပွဲ ထောင်ချောက်များ

  • “Learns from data instead of written rules” → machine learning, not plain AI rules
  • “Creates new text, images or code” → generative AI, not classic ML
  • “Overfitting” → great on training data, poor on new data, not underfitting
  • “Unpredictable traffic, long idle periods” → serverless inference, not real-time
  • “Large input, result may wait” → asynchronous inference, not batch
  • “Group customers without labels” → clustering, not classification
  • “Same exact result every time” → write a rule, not an ML model

စာမေးပွဲ ထောင်ချောက်များ

  • “Text to speech” → Amazon Polly, not Transcribe
  • “Forms and tables in scanned documents” → Amazon Textract, not Rekognition
  • “Objects or faces in images” → Amazon Rekognition, not Textract
  • “Missing a fraud case is costly” → recall, not precision
  • “Model accuracy falls as real data changes” → drift: monitor and retrain
  • “A setting chosen before training” → hyperparameter, not a weight
  • “Final check on unseen data” → test set, not validation set
  • “Predict a price” → judge it with MAE or RMSE, not accuracy

စာမေးပွဲ ထောင်ချောက်များ

  • “Human review of low-confidence predictions” → Amazon A2I, not Ground Truth
  • “Draft clinical notes from a visit” → AWS HealthScribe, not Comprehend Medical

ဆက်လက်လေ့လာရန်