# StateID

The IDs of one or more state tokens that list the documents that you want to use to train the class. You create state IDs by using the StoreState parameter for the Query action. For example, if you want to train a vegetable class for the food classifier, you might use a state token that describes the results a query for different types of vegetables.

IDOL Server retrieves the documents in the state token and uses the content of the feature fields for the specified ClassifierName to train the class.

Separate multiple state tokens with commas. There must be no space before or after a comma.

If you specify the token ID only, IDOL Server uses all documents listed in the token to train the class. If you add a (zero-based) index range, or individual numbers separated by plus symbols (+), in square brackets after the token ID, IDOL Server considers only that range or set of documents.

NOTE: When you specify documents or document ranges, you must list the entries in increasing numerical order.

Actions: | ClassifierAddClass ClassifierSetClassTraining
Type: | String
Default: |
Example: | Use the documents listed in the state token `B8UGIK95FKJG-23`:
    StateID=B8UGIK95FKJG-23
Use the first twelve documents, plus the fourteenth and sixteenth documents, listed in the state token `B8UGIK95FKJG-23`:
    StateID=B8UGIK95FKJG-23[0-11+13+15]
See Also: | StoreState

_FT_HTML5_bannerTitle.htm