Text Classification

Uses a Random Forest Classifier model to predict the class of a given text input. The operator is designed to classify one input at each step and receives a string as input.

Input

Input

Type

Description

text

string

Contains a text string to be used as input.

Output

Output

Type

Description

prediction

string

A stringified JSON containing, by default, the five highest scoring classes of the given text. (This amount can be changed by the user.)