Request: skipping without error when there are no variables to transform

Aberta
#599 4 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python, scikit-learn
Domínio
data

Direção de pesquisa

The request is for an option that stops transformers such as MatchCategories from raising an error when automatic variable selection finds no matching columns. Start by reading how the transformers choose their variables when no list is given, and where they raise on an empty selection. The issue does not settle the option's name or default, so agree the design with maintainers before coding. Done means an empty selection can be skipped on request, with tests for both the error and the skip paths.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Transformers in this package have the nice functionality to automatically apply to all variables that are either numerical or categorical depending on what the transformer does if the list of variable names is not supplied.

Sometimes, one wants to perform automated feature selection as steps before or after some transformer, in which case if for example one has a transformer like MatchCategories and the selector drops all categorical variables, there will be an error later on in the pipeline as there won't be any columns for the transformer.

Would be nice if there could be an option to toggle off erroring on empty variable lists.

Linguagem predominante
Python
Estrelas
2.3k
Forks
391
Merge médio
11h 34min
PRs com merge (30d)
11

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de feature-engine/feature_engine

Todas as issues de feature-engine/feature_engine

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.