preprocessor = ColumnTransformer( [ (\'num\', StandardScaler(), numeric_features), (\'cat\', OneHotEncoder(handle_unknown=\'ignore\'), categorica