Fundamentals of AI and ML
Learning goals
- Explain the relationship between AI, machine learning, deep learning, generative AI and agentic AI, and the difference between training and inference
- Map supervised, unsupervised and reinforcement learning, and regression, classification and clustering, to business problems
- Judge situations where AI is not a good fit (a fixed, explainable answer is required, the cost-benefit does not add up, and so on)
- Explain managed AI services such as Comprehend, Transcribe, Translate, Lex, Polly, Rekognition and Textract, and the ML lifecycle with SageMaker AI (data preparation → training → evaluation → deployment → monitoring)
Key points
- AI ⊃ machine learning (learning patterns from data) ⊃ deep learning (multi-layer neural networks). Generative AI creates new text, images and so on from learned patterns. Agentic AI plans toward a goal and works autonomously while using tools.
- Training creates a model from data; inference uses the model to predict or generate from new data. Inference can be real-time, batch, asynchronous or serverless.
- Supervised learning learns from labeled data (regression = predict a number, classification = predict a category). Unsupervised learning finds structure without labels (clustering, anomaly detection). Reinforcement learning learns actions that maximize reward through trial and error.
- Data types: labeled/unlabeled, tabular, time series, image, text, structured/unstructured. The type determines which techniques and services to use.
- Where AI is not a good fit: the same fixed answer is always required (it can be computed by rules), accountability demands rule-based logic, there is not enough data, or the cost-benefit does not add up.
- Managed AI services: Comprehend for text analysis, Transcribe for speech → text, Translate for translation, Lex for chatbots, Polly for text → speech, Rekognition for image and video analysis, Textract for reading forms, Personalize for recommendations.
- ML lifecycle: define the problem → collect and prepare data → feature engineering → training and tuning → evaluation → deployment → monitoring (data and model drift). MLOps is the mechanism that runs this continuously through experiment management, reproducibility and automation.
- Evaluation metrics: for classification, accuracy, precision, recall and F1 score; for regression, RMSE and others. Also look at business metrics (cost per user, development cost, customer response, ROI).
Workplace uses
- SalesBuild a model that classifies the likelihood of winning a deal from past (labeled) opportunity data, and decide which prospects to visit first.
- General AffairsTranscribe help-desk calls with Transcribe, classify and run sentiment analysis on them with Comprehend, and identify frequent inquiries.
- AccountingRead amounts, dates and vendors from invoice PDFs with Textract and register them automatically in the expense system. Approvals that rules can decide are handled by business rules, not AI.
Exam objectives (from the exam guide)
- 1.1 AI の基本的な概念と用語を説明する。
- 1.2 AI の実用的なユースケースを特定する。
- 1.3 AI/ML 開発ライフサイクルについて説明する。