Skip to content

Instantly share code, notes, and snippets.

View ThisIsVenkatesh's full-sized avatar

Venkatesh Gandi ThisIsVenkatesh

  • SSI (Survey Sampling International)
  • Hyderabad
View GitHub Profile
@kiwidamien
kiwidamien / category_encoders_gist.ipynb
Created August 26, 2019 04:57
Category Encoders companion gist
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@amberjrivera
amberjrivera / Pipeline-guide.md
Created January 26, 2018 05:02
Quick tutorial on Sklearn's Pipeline constructor for machine learning

If You've Never Used Sklearn's Pipeline Constructor...You're Doing It Wrong

How To Use sklearn Pipelines, FeatureUnions, and GridSearchCV With Your Own Transformers

By Emily Gill and Amber Rivera

What's a Pipeline and Why Use One?

The Pipeline constructor from sklearn allows you to chain transformers and estimators together into a sequence that functions as one cohesive unit. For example, if your model involves feature selection, standardization, and then regression, those three steps, each as it's own class, could be encapsulated together via Pipeline.

Benefits: readability, reusability and easier experimentation.
i
me
my
myself
we
our
ours
ourselves
you
your