(self)
return Value(self._domain.class_var, self._y[0])
Return the class value as an instance of :obj:`Orange.data.Value`.
        Throws an exception if there are multiple classes.
Return the class value as an instance of :obj:`Orange.data.Value`.
        Throws an exception if there are multiple classes.
Return the class value as an instance of : obj : Orange . data . Value . Throws an exception if there are multiple classes .
def get_class(self):
        """
        Return the class value as an instance of :obj:`Orange.data.Value`.
        Throws an exception if there are multiple classes.
        """
        self._check_single_class()
        return Value(self._domain.class_var, self._y[0])
def get_class ( self ) : self . _check_single_class ( ) return Value ( self . _domain . class_var , self . _y [ 0 ] )