Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alberduris/06f5095ddbc293501d65c8d2741899f3 to your computer and use it in GitHub Desktop.
Save alberduris/06f5095ddbc293501d65c8d2741899f3 to your computer and use it in GitHub Desktop.
[SkLearn TrainTestSplit OneHot Behaviour] #JupyterNotebook #CodeSnippet #@todo: BUG: `stratify=data_holder.Y_data` instead of `stratify=data_holder.Y_data` #@bug: ¿strange behaviour? If stratify is one_hot then changes w.r.t string or int encoded #@bug: See SkLearn_TrainTestSplit_OneHot_Behaviour.ipynb #Others
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment