How to use a TfidfVectorizer model in real-time with endpoints

0

During training, I created a TfidfVectorizer model and trained it to generate features from a database. How can I reuse this model to generate the representation of new texts, which will be classified by the endpoint?

1 回答
0

You can try SageMaker Inference Pipeline, and add the TfidfVectorizer as a preprocessing step. Also take a look at this step-by-step blog example.

AWS
S Lyu
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则