def __match_target(weights):
    ' Anonymous function to check equality with the target return '
    return np.sum((weights * xs_avg))
Anonymous function to check equality with the target return
def __match_target(weights):
    '  '
    return np.sum((weights * xs_avg))