has an unique ID.
my question is, how can I use this product id as a feature for a regression model?
You probably shouldn't.
Check out the purpose of regression. Dont think it suits for unique id.
Does your dataset consist only of 21,000 records? If there is cases of varying frequency of the unique ids with more records you can try combine it with other categorical features (as part of feature engineering) or try using frequency of the unique ids to create a new feature and remove this column.
Обсуждают сегодня