def decode_beer_style(encoded_target, encoder):
    """
    Get text representation of encoded target value
    
    Parameters
    ----------
    encoded_target : int32
        Value of target
    encoder : preprocessing object
        Encoder used for original encoding

    Returns
    -------
    original target value : str
        Decoded target value
    """
    return encoder.inverse_transform([[encoded_target]])[0][0]