def mse_func(target, mse_input):
    """Return error of interpolation.

    This function returns eval_numeric()the mean squared error for two sequences of
    numeric values.

    """
    counter = 0
    error = []
    while counter < len(target):
        error.append(abs(target[counter] - mse_input[counter]) ** 2)
        counter = counter + 1
    ave_error = sum(error) / len(target)
    return ave_error
