Classifier Model Structure
A classifier model contains a column of reference data values and a column that specifies a label for each row of reference data values. When a Classifier transformation compares the input data and the model data, the transformation returns the label that most closely describes the input data.
A classifier model also contains compilation data. The Classifier transformation uses the compilation data to calculate similarities between the reference data and the input data. When you compile a model, you create or update the compilation data.
The Model repository stores the classifier model object. When you create or update a classifier model, you write the reference data and the compiled metadata to a file on the Developer tool machine. The file is read-only. You can read the file path in the classifier model in the Developer tool.
Compiling a Classifier Model
Each time you edit a label value or reference data value in a classifier model, you must compile the model. When you compile the model, you update the compilation data in the model.
- •To update the compilation data, open the model in the Developer tool and click Compile.