DiscreteVariable.stype

DiscreteVariable.stype()
Returns:

a description of its type

Return type:

str

Example

import pyagrum as gum

gum.fastVariable("c{red|green}").stype()
# 'Labelized'
gum.fastVariable("x[0:10:5]").stype()
# 'Discretized'

Class

DiscreteVariable

Overridden in

DiscretizedVariable.stype, IntegerVariable.stype, LabelizedVariable.stype, NumericalDiscreteVariable.stype, RangeVariable.stype