[FEATURE] Categorical Variable Concatenation
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python, scikit-learn
- Área
- machine-learning
Línea de trabajo
Start by reviewing the linked catcomb repository and its existing implementation of categorical-column concatenation. Then determine how its column selection, combination level, and maximum-cardinality behavior should fit feature_engine; done means those behaviors are defined and the proposed integration is covered by tests. The issue names no feature_engine files or tests to start from.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Expected Behavior
Concatenating categorical variables is a powerful feature engineering technique, often used in competitions. You could watch the 9 minuts of this video for understanding the topic (i placed the video on the right starting minute already): Winning Solution --> RecSys 2020 Tutorial: Feature Engineering for Recommender Systems,
Categorical Variable Concatenation is not implemented in scikit-learn or scikit-learn-contrib packages.
I have coded this feature in a separate repo catcomb and would implement this solution in feature_engine, if you agree.
Basically, what it does, it concatenates all categorical columns with each other based on some parameters you can chose.

Its a ColumnsTransformer where you can choose
-
columns: if the categorical columns should be infered automatically, or the column names should be given
-
level: the level of 'combinatorial' deepness

-
max_cardinality: the maximal cardinality of the original columns which should be included in the concatenation process, because very high cardinality concatination isn't that useful
Example
pipe = Pipeline([("catcomb", ColumnsConcatenation(columns='auto', level=2, max_cardinality=500))])
I also posted this issue on scikit-lego and category_encoders, but maybe its better implemented here. The maintainers of the two other packages were uncertain if their repos are the right ones for this feature. So i think feature engine is pretty close to a perfect fit for this feature.
- Lenguaje dominante
- Python
- Estrellas
- 2.3k
- Forks
- 391
- Merge medio
- 11 h 34 min
- PR fusionados (30 d)
- 11
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de feature-engine/feature_engine
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
feature-engine/feature_engine#1141 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
feature-engine/feature_engine#393 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
feature-engine/feature_engine#1140 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
CategoricalImputer fails when fill_value is already a categoryPosiblemente ocupada @AryanRG la tomó hace 12 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 18/100
feature-engine/feature_engine#1113 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
OneHotEncoder loses a dummy name when it matches an encoded input columnPosiblemente ocupada @Aadrit555 la tomó hace 7 días. Abierto
Dificultad 3/5 Medio día Aptitud para principiantes 25/100
feature-engine/feature_engine#1106 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de feature-engine/feature_engine
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 79/100
developmentseed/titiler-covjson#164 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
awslabs/visual-asset-management-system#2164 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
MakazhanAlpamys/Soup#3589 ·
Los mantenedores suelen responder en 1 día
-
channels status reports the wrong Enabled value for Feishu instances and default-enabled WebSocketAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día