Hi Jason,

I will try it out... Nothing in the documentation tells a person.

Thanks

________________________________
From: Python-list <python-list-bounces+ianoda=hotmail....@python.org> on behalf 
of Jason Friedman <jsf80...@gmail.com>
Sent: Wednesday, November 13, 2019 7:19 PM
Cc: python-list@python.org <python-list@python.org>
Subject: Re: Logistic Regression Define X and Y for Prediction

>
>
> When I define the X and Y values for prediction in the train and test
> data, should I capture all the columns that has been "OneHotEncoded" (that
> is all columns with 0 and 1) for the X and Y values???
>

You might have better luck asking on Stackoverflow, per the Pandas
instructions: 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpandas.pydata.org%2Fcommunity.html&amp;data=02%7C01%7C%7Ce4fa0935f3b0443c3b0f08d768988e72%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637092876737703023&amp;sdata=%2BO6zx05Szg3TeGdtusSaLU1GhXKp7PEL7beHpqg1hcQ%3D&amp;reserved=0.
--
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman%2Flistinfo%2Fpython-list&amp;data=02%7C01%7C%7Ce4fa0935f3b0443c3b0f08d768988e72%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637092876737703023&amp;sdata=tDAC3St0kqFfN3rLqBBg9cTsykel5Hhj6MUjzFxZc7I%3D&amp;reserved=0
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to