(self)
return total_vars, classes
Returns (number of random variables, count of distinct values across all attributes).
Returns (number of random variables, count of distinct values across all attributes).
Returns ( number of random variables count of distinct values across all attributes ) .
def get_domain_info(self):
        """
        Returns (number of random variables, count of distinct values across all attributes).
        """
        query = 'SELECT count(_vid_), max(domain_size) FROM %s'%AuxTables.cell_domain.name
        res = self.engine.execute_query(query)
        total_vars = int(res[0][0])
        classes = int(res[0][1])
        return total_vars, classes
def get_domain_info ( self ) : query = 'SELECT count(_vid_), max(domain_size) FROM %s' % AuxTables . cell_domain . name res = self . engine . execute_query ( query ) total_vars = int ( res [ 0 ] [ 0 ] ) classes = int ( res [ 0 ] [ 1 ] ) return total_vars , classes