AWS Certified AI PractitionerAI/ML and Generative AI FundamentalsEasy
A team is developing a new generative AI model to compose entire musical pieces. They are now in the phase where the trained model is used to actually generate new, unseen musical compositions. Which stage of the AI/ML lifecycle does this activity belong to?
- ATraining
- BInference
- CModel Evaluation
- DData Preparation
Show answer & explanationAnswer & explanation
Correct answer: B. Inference
Inference, also known as prediction or generation, is the stage where a trained AI/ML model is used to make predictions or generate outputs on new, unseen data. In this scenario, using the trained generative AI model to compose new music falls directly under the inference stage.
Why the other options are wrong
- A. Training is the process of feeding data to the model to learn patterns and adjust its parameters.
- C. Model Evaluation assesses the performance of the trained model using metrics on a held-out dataset.
- D. Data Preparation involves collecting, cleaning, and transforming data before training.
Inference (AI/ML Lifecycle)
The process of using a trained machine learning model to make predictions or generate outputs on new, unseen data.
- Occurs after a model has been trained and evaluated.
- Applies the learned patterns to new inputs.
- Can be real-time or batch processing.
- The ultimate goal of deploying an AI/ML model.
Memory trick: DTEIM: Data, Train, Evaluate, Infer, Monitor