Description

The predict() function fetches predictions from the model table.

Syntax

Use the predict() method to make a single prediction by passing the specific values as its argument:

my_model.predict({"text": 'any text'})