By using AWS re:Post, you agree to the Terms of Use

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


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 Answer

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.

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions