def __init__(self, L=128, style='magnet'):
    super(MagnetLossEval, self).__init__()
    self.cluster_means = None
    self.cluster_classes = None
    self.variance = None
    self.L = L
    self.style = style
def __init__(self, L=128, style='magnet'):
    super(MagnetLossEval, self).__init__()
    self.cluster_means = None
    self.cluster_classes = None
    self.variance = None
    self.L = L
    self.style = style