classify(XX;M;Z)

Returns the result of classifying data points according to a discrete model.

Syntax

classify(XX;M;Z)

Input

Argument Type Description
XX integer or decimal A space- or comma-separated list of column names

This denotes the data for classifying.

M model The name of a column that contains a model as returned by a discrete modeling function such as g_cluster()
Z integer or decimal A list of values representing scoring parameters
Note: Scoring parameters, if specified, are dependent on the type of model.

Return Value

For every row of XX, classify returns an integer number that is the result of evaluating the model M for that row.

Note: The classification of N/A points is dependent on the type of the model. See the descriptions of the individual modeling functions for more information.