error when train model without LabelEncoder or using LabelEncoder fit with lager data and transform with lower data. #289
Unanswered
Nhanvu1009
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i've problem with LabelEndcoder:
First: I'm training model with movielens data set. It have ["userId", "movieId", "year", "genres", "overview", "tagline"] attribute. in this, the userId, movieId, year is LINEAR_FEATURE_COLUMNS. in paper i see the author using sklearn.labelencoder to LINEAR_FEATURE_COLUMNS. i was try not using sklearn.labelencoder but it have an error.
but i compare the type, size, value count,... of original feature and labelencoder feature are same.
Second: i'm using labelencoder with lager feature but i use part of them to train model, it have the same error.
anyone have same problem? tell me how to solve this
Beta Was this translation helpful? Give feedback.
All reactions