@staticmethod
def encode_user(user_e2i, x):
    """
        Encode the explicit value of users to implicit ones
        ------------
        :param user_e2i: dict used for user's encoding
        :param x: user that has to be mapped
        :return us: encoded user
        """
    return user_e2i[x]
