[FEATURE] Categorical Feature Embedding via MLP
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 18/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
The request is to add a categorical encoder built on sklearn's MLPClassifier or MLPRegressor, using the hidden layer output as the encoding. Start from the existing categorical encoders in feature_engine/encoding and their shared base class to match the fit/transform API. The proposal lives in an external repository, and the issue thread has no maintainer decision, so confirm scope before writing code. Done means an encoder class with tests and docs that follows the library's conventions.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Using an Embeddinglayer of a deep neural network to encode categorical variables is a common practice also known as "entity embedding". One problem is, that you have to install a deeplearning library like pytroch or tensorflow to implement the neural network with an embedding layer and they are heavy libraries.
One alternative approach could be to use the MLPClassifier, MLPRegressor class from sklearn.neural_network build a neural network of your choice and use the last layer before the classification head to encode categorical variables. One could encode each variable alone or input more variable at once to encode so that the interactions can be found by the neural network.
I have coded this feature and you can take a look at mlpencoder. I would implement this feature in feature engine if you agree.
Examples: https://github.com/Pacman1984/mlpencoder/blob/master/mlpencoder/test.ipynb
- 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 13 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
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
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