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 create novel compositions based on input prompts. Which stage of the machine learning lifecycle does this activity represent?

  1. AModel Training
  2. BInference
  3. CModel Evaluation
  4. DData Preparation
Show answer & explanation

Correct answer: B. Inference

Inference is the stage where a trained machine learning model is used to make predictions or generate outputs on new, unseen data. In this case, the model is 'used to actually create novel compositions' after being trained, which is the definition of inference.

Why the other options are wrong

  • A. Model training is the process of feeding data to the model and adjusting its parameters to learn patterns.
  • C. Model evaluation assesses the performance of a trained model using metrics on a validation or test dataset.
  • D. Data preparation involves collecting, cleaning, and transforming data before training.

Inference (AI/ML Lifecycle)

Inference is the stage of the AI/ML lifecycle where a trained model is used to make predictions or generate outputs on new, unseen data, applying the patterns it learned during training to real-world scenarios.

  • Uses a trained model.
  • Generates predictions/outputs.
  • Applies to new, unseen data.

Memory trick: Data leads to a trained, used, and monitored model.

More AI/ML and Generative AI Fundamentals questions