Skip to content

getNumberOfSymbols()

Return how many different symbols the model has learned.

Parameters

Once an object markovmodel has been created, you can use the following function:

markovmodel.getNumberOfSymbols()

Returns

return numSymbols

Value Type Description
numSymbols int The number of distinct symbols in the model.