Argument | Category | Description |
---|---|---|
ModelColumn | Optional | The name of the column that contains the model attribute. If you specify this argument, then model_attribute must match a model_key in the PARTITION BY clause. The values in the column can be integers or strings. |
SeqColumn | Required | The name of the column that contains the sequence attribute. The sequence_attribute must be a sequence attribute in the PARTITION BY clause. A sequence must contain more than two observation symbol. |
ObsColumn | Required | The name of the column that contains the observed symbols. The function scans the input table to find all possible observed symbols. Observed symbols are case-sensitive.
|
HiddenStateNum | Required | The number of hidden states. The number of hidden states can influence model quality and performance, so choose the number appropriately.
|
MaxIterNum | Optional | The number of iterations that the training process runs before the function completes. The default is 10. |
Epsilon | Optional | The threshold value in determining the convergence of HMM training. If the parameter value difference is less than the threshold, the training process converges. There is no default value. If you do not specify Epsilon, only MaxIterNum determines when the training process converges. |
SkipColumn | Optional | The name of the column whose values determine whether the function skips the row. The function skips the row if the value is “true”, “yes”, “y”, or “1”. The function does not skip the row if the value is “false”, “f”, “no”, “n”, “0”, or NULL. |
InitMethods | Optional | The method that the function uses to generate the initial parameters for the initial state probabilities, state transition probabilities, and emission probabilities. The possibilities are:
The names of the preceding methods are case-insensitive. The seed number is meaningful only when the specified method is random. |
InitParams | Required when InitMethods has the value 'input' | When InitMethods has the value 'input', this argument specifies the initial parameters for the models. The first parameter specifies the initial state probabilities, the second parameter specifies the state transition probabilities, and the third parameter specifies the emission probabilities. For example, if the NumberHiddenStates argument specifies three hidden states and two observed symbols ('yes' and 'no'), then the InitParams values are:
The sum of the probabilities in each row for the initial state probabilities, state transition probabilities, or emission probabilities parameters must be rounded to 1.0. The observed symbols are case-sensitive. The number of states and the number of observed symbols must be consistent with the NumberHiddenStates argument and the observed symbols in the input table; otherwise, the function displays error messages. |
OutputTables | Optional | The names of the output tables:
|