<filename>XMC/metrics/__init__.py
from .metrics import precision_at_k, dcg_score_at_k, ndcg_score_at_k, ps_precision_at_k

# These are not required
del metrics

<filename>XMC/metrics/__init__.py
from .metrics import precision_at_k, dcg_score_at_k, ndcg_score_at_k, ps_precision_at_k

# These are not required
del metrics

# These are not required