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 Risposta
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande