Open in app
Bobby den Bezemer
9 Followers
About

Sign in

9 Followers
About
Open in app
Bobby den Bezemer

Bobby den Bezemer

May 2, 2020·1 min read

Hi Jason,

I had a question regarding the variables you kept in your ‘encode_data’ dataframe. Your target variable ‘Survived’ remains in here. To what extent is it desirable to use the information of your target variable in your KNN imputation to impute missing value for your X variables ?

best, Bobby

Bobby den Bezemer

Preprocessing: Encode and KNN Impute All Categorical Features Fast
128
4

The Data Detective

More from Bobby den Bezemer

More From Medium

The Double Diamond for Data Analytics: The Discovery Space

Bobby den Bezemer in The Startup

How I Earn $8K+ Per Month While Only Working 15 Hours Per Week

Zulie Rane in The Startup

7 Genius Weight Loss Hacks I Wish I Had Followed Earlier In Life

Karthik Rajan in Aha Moments

When the U.S. Dollar Collapses, the Majority Will Back the Elite’s New Currency, Not Crypto

Concoda in Concoda

I Accidentally Found Out Why I Was Ghosted. The Truth Wasn’t Pretty.

Ellen Nguyen in Tingly Mind

A Man In His 30s Explains To Me What’s Wrong With Women In Their 30s

Hannah Furst in Slackjaw

This Technology Could Become an “Engine of Destruction”

Ella Alderson in Predict

Prince Philip Embodied European Bigotry and Xenophobia

ElMehdi in Lessons from History

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store