@LazyClassProperty
    def _weights(cls):  # noqa
        weights_view = config['match']['distance_weights']
        weights = {}
        for key in weights_view.keys():
            weights[key] = weights_view[key].as_number()
        return weights

    # Access the components and their aggregates.
A dictionary from keys to floating-point weights.
dataset/ETHPy150Open beetbox/beets/beets/autotag/hooks.py/Distance._weights