n_sample -> n_samples