def METHOD_NAME(self):
    import pandas as pd
    label_freq = pd.value_counts(self.labels)
    METHOD_NAME = label_freq.median() / label_freq
    METHOD_NAME = METHOD_NAME.sort_index().values
    METHOD_NAME = torch.from_numpy(METHOD_NAME.astype(np.float32))
    return METHOD_NAME