Question: Hi I make a classification model and after I made Onehotencoder and prepare data for column transformation and when I write preprocessor.fit it shows me
Hi
I make a classification model and after I made Onehotencoder and prepare data for column transformation and when I write preprocessor.fit it shows me an error found unknown categories NA in column during fit I don't know what can I do I impute all the columns and put handleunkown"ignore" but the error still exist
Please help me
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
