You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in #9012 we should have an example in the gallery that shows how to use ColumnTransformer to deal with a mix of categorical and continuous data. I guess it should use CategoricalEncoder in the first iteration and we can change it back to OneHotEncoder once #10523 is merged.
The text was updated successfully, but these errors were encountered:
From the "real world" datasets in sklearn.datasets the only one with mixed types is Boston housing, but I find it not to be very representative (1 categorical variable, already encoded).
I will build a randomly generated dataset with mixed types for the illustration. I think this would keep the example more focused on the usage of the transformer, rather than filling lines of code to read data from a UCI database url, for instance.
As mentioned in #9012 we should have an example in the gallery that shows how to use ColumnTransformer to deal with a mix of categorical and continuous data. I guess it should use CategoricalEncoder in the first iteration and we can change it back to OneHotEncoder once #10523 is merged.
The text was updated successfully, but these errors were encountered: