I want to predict salary for each person depending on the job_roles, Technical skills. Column job_roles have 1500 unique roles.
There is a column Technical skills (which have combination of skills) I have applied TFIDF to transform them into numerical(this has created 16000+ columns).
For 1500 unique roles I want to apply hashing method. How do I decide the optimum n_components for unique roles.