Are you able to submit a working example? Running the current code gives
ERROR: LoadError: UndefVarError: n_samples not defined
Are you able to submit a working example? Running the current code gives
ERROR: LoadError: UndefVarError: n_samples not defined