Experiment - ColumnTransformer for mixed types
Problem:You want to build a model that uses both numeric and categorical data. Currently, your model does not preprocess these different types correctly, causing poor performance.
Current Metrics:Training accuracy: 85%, Validation accuracy: 70%
Issue:The model overfits because numeric and categorical features are not processed separately. Categorical data is not encoded properly, and numeric data is not scaled.