Use income and age in a distance-based model.
Avoid scale dominating the result.
Choose two practices.
Learn preprocessing statistics from training data and reproduce the same units, transformations, and missing-value handling at inference.
Detailed explanation
Evaluation information does not leak.
Evaluation information does not leak.
Training and inference meanings align.
Training and inference meanings align.
Evaluation information leaks.
Evaluation information leaks.
Feature meaning changes.
Feature meaning changes.
Try it yourself
An example you can run in a temporary verification environment.
AWS公式AIF-C01 Domain 1.2の特徴量前処理とリーケージを確認する。Expected result
訓練・推論で一貫した特徴量変換を実装できる。Key points
- Scaling
- Preprocessing
- Consistency
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.