I had gotten a question via slack, "What was the reasoning behind making gender a true/false "Are you a Male" response?"
It was so I could evaluate it as a boolean instead of a difference between two strings, "Male" "Female" vs True False. It's the simplest implementation of a technique called One Hot Encoding.
I had gotten a question via slack, "What was the reasoning behind making gender a true/false "Are you a Male" response?"
It was so I could evaluate it as a boolean instead of a difference between two strings, "Male" "Female" vs True False. It's the simplest implementation of a technique called One Hot Encoding.
machinelearningmastery.com/why-one...