← 返回 google 的题目列表AI/ML Model Trainer: Initialization, Training, Evaluation Class
类型:online_judge
google
Design a class to handle the training and evaluation of AI/ML models. The class should support the following features:
Initialize model parameters.
Load training data.
Train the model and output training error.
Evaluate the model performance and output evaluation metrics.
Ensure the class design is extendable and maintainable.
Example
Input
parameters = {}
data = 'sample data'