DropHighPSIFeatures support for missing values?

Aberta
#883 5 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

  • #1110 de @lcrmorin — fechado sem integrar

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
pandas, python, scikit-learn

Direção de pesquisa

Start with the DropHighPSIFeatures class and the open pull request #1110, which is already linked to this issue and may already implement part of the change. Decide how missing values should be binned when computing PSI, such as treating NaN as its own bin, and check the maintainers' answer before writing code. Done means the class handles features with missing values under the agreed rule and its tests cover that case.

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

Descrição

If I understand it correctly, currently DropHighPSIFeatures only support either dropping entries with missing values completely or "forcing" the user to impute those beforehand.
An (easy) alternative could be to treat missings as their own bin during the calculation of the PSI value. Was there a reason why this wasn't implemented this way? And what would be a preferred/suggested way to deal with features which contain missing values during the calculation of PSI?

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.