python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How can I fix type error for One hot encoder
My problem is that I need to change some sets of categorized columns into numbers for machine learning.
I don't want to use LabelEncoding because I heard it's not as efficient as OnehotEncoder.
So i u...
Franklin Johnson
Votes: 0
Answers: 1
How should I OneHotEncod a column of (8128 rows and) 2058 nuniques?
The title, pretty much.
I just want to know the best and most efficient way to OneHotEncode a column with like 2058 nuniques. Doing a fit_transform of said column, I know I will get an array of 2058 (...
Anonymous Person
Votes: 0
Answers: 1
pySpark scalable onehotencoder with binary representation
I've been trying to find the best way to onehotencode a large number of categorical columns (e.g. 200+) with an average of 4 categories, and a very large amount of instances. I've found two ways to do...
tomas-silveira
Votes: 0
Answers: 0
Found input variables with inconsistent numbers of samples: OHE
In categorical label encoding. I know that I need to use OneHotEncoder() because Feature names differs in test so cannot use pd_dummies. In train I have x rows and in test 1 row, after OHE the test ro...
Robb
Votes: 0
Answers: 1