Final preprocessing steps

Now that we have gone through all of the variable groups, we are almost ready to build our predictive models. But first, we must expand all of our categorical variables into binary variables (also known as one-hot encoding or a 1-of-K representation) and convert our data into a format suitable for input into the scikit-learn methods. Let's do that next.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset