EuroPython sprints

Offen
#935 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Ruhig

Rechercherichtung

Start by reading the sprint activities and choose one improvement to scope; the issue does not name files, tests, or a specific transformer. Then inspect the relevant API and its existing tests. Done means the selected change has tests and documentation and preserves backward compatibility where possible.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Modernising Feature-engine: Evolving the API for a Changing Python Ecosystem

Introduction

Feature-engine was originally designed to bridge the gap between pandas and
scikit-learn at a time when scikit-learn only accepted NumPy arrays. Its design
decisions were intended to guide users towards good practices by raising errors
when transformers were used in inappropriate contexts.

The Python machine learning ecosystem has evolved considerably since then.
Scikit-learn now supports pandas natively, Polars has become a popular dataframe
library, and users users have requested greater flexibility from Feature-engine
transformers. To ensure the project continues to meet the needs of its users,
its API needs to evolve while preserving backward compatibility as much as
possible.

During this sprint, we will work on implementing the next generation of
Feature-engine's API, making it more flexible, faster, and compatible with
modern data processing libraries, while maintaining backward compatibility
wherever possible.

Sprint Activities

Participants will work together on the following improvements:

  • Modernise the dataframe API by adding support for Polars while allowing
    users to choose the installation that best suits their needs: a pandas-only
    installation, a Polars-only installation, or support for both backends.

  • Extend flexible error handling across the library. The variable selection
    utilities already allow users to choose between raising an error or continuing
    when conditions are not met. During the sprint, we will extend this behaviour
    to the transformers so that users can opt for stricter or more permissive
    workflows.

  • Introduce configurable behaviour for transformation-specific errors. For
    example, transformers that apply logarithmic transformations currently fail
    when negative values are present. We will extend the API to provide suitable
    options that allow the transformation to continue when appropriate, instead of
    raising an exception.

  • Improve performance by modernising internal implementations. Where
    possible, we will replace pandas operations with equivalent NumPy
    implementations to improve execution speed while preserving the existing
    public API and maintaining backward compatibility as much as possible.

  • Write tests and documentation for the new functionality to ensure
    reliability and provide clear guidance for users adopting the updated API.

The sprint is suitable for contributors interested in machine learning
libraries, API design, testing, documentation, and open source development.

Vorherrschende Sprache
Python
Sterne
2.3k
Forks
391
Ø Merge
11 Std. 34 Min.
Gemergte PRs (30 T.)
11

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus feature-engine/feature_engine

Alle Issues in feature-engine/feature_engine

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.