QuestionQ40Verified/AI CenterCopy linkReport a problemAsk AstroTutorSave questionWhich requirements must be met by a package that contains only the serving component?AA folder containing the main.py file which implements the__init_ (self), train(self, training_directory), and predict(self, input) functions, and the requirements.txt file which lists the dependencies needed to run the model.BA folder containing the main.py file which implements the__init_ (self) and predict(self, input) functions.CA folder containing the main.py file which implements the__init_ (self), evaluate(self, evaluation_directory), and predict(self, input) functions, and the requirements.txt file which lists the dependencies needed to run the model.DA folder containing the main.py file which implements the__init_ (self) and predict(self, input) functions, and the requirements.txt file which lists the dependencies needed to run the model.Show AnswerAnswerExplanationA serving-only ML package must include main.py with a Main class implementing __init__(self) to load the model or local data and predict(self, input) for inference, together with requirements.txt listing the dependencies required to run the model. train and evaluate are associated with the optional training and evaluation component.Learn moreUiPath AI Center — Building ML packagesShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion