NumPy allowed · plain Python earns 10 bonus points
Computed matrix × vector transformation
Standardize feature distributions to zero mean and unit variance using vectorized NumPy operations.
Implement z_score_standardize(values). Compute the population z-score (x - mean) / std for each element, rounded to 4 decimal places. Return zeros if variance is zero.
z_score_standardize(values: list[float]) -> list[float]