Describe the process of one-hot encoding categorical features. Explain why this method can be inefficient for tree-based models and suggest an alternative approach for handling categorical data in such models. | Databricks Certified Machine Learning - Associate Quiz - LeetQuiz