[n_samples] -> (n_samples,)

same above