def topDownCompute(self, encoded):
    """ See the function description in base.py
    """

    # Get/generate the topDown mapping table
    topDownMappingM = self._getTopDownMapping()

    # See which "category" we match the closest.
    category = topDownMappingM.rightVecProd(encoded).argmax()

    # Return that bucket info
    return self.getBucketInfo([category])
def topDownCompute(self, encoded):
    

    
    topDownMappingM = self._getTopDownMapping()

    
    category = topDownMappingM.rightVecProd(encoded).argmax()

    
    return self.getBucketInfo([category])
def topDownCompute ( self , encoded ) : # Get/generate the topDown mapping table topDownMappingM = self . _getTopDownMapping ( ) # See which "category" we match the closest. category = topDownMappingM . rightVecProd ( encoded ) . argmax ( ) # Return that bucket info return self . getBucketInfo ( [ category ] )
See the function description in base.py
See the function description in base . py