Structure of options to use when making a single prediction.

Hierarchy

Properties

Properties

where?: string | string[]

A single WHERE condition, or array of WHERE conditions to predict against. Example: 'field1 = val1' or ['field1 = val1', 'field2 = val2'].

When using batch predictions, joins against source data that only meets WHERE conditions. For batch predictions, make sure to use the 't' alias ('t' is short for training/test data). Example: ['t.field1 = val1', 't.field2 = val2'] joins against source data where field1 = val1 and field2 = val2.

Generated using TypeDoc