Adding a MedianEncoder on encoding category

Đang mở
#568 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python, scikit-learn
Lĩnh vực
data

Hướng nghiên cứu

The request is to add a MedianEncoder alongside the existing mean-based encoder in the feature_engine encoding package; the payload does not name the file, so locate the MeanEncoder class first and compare how it computes its mapping. Four comments and no decision mean the maintainers have not agreed to the feature, so confirm scope in the thread before writing code. Done means a tested encoder that follows the sklearn fit/transform pattern used by the other encoders.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hello!
I am working on a project and we found that the median encoding works better for our kind of data.
So I replaced the MeanEncoding mean function by the median function creating a new encoder.
Already tested the new encoder on some data and it works perfectly.
I forked it here: feature_engine

What do you think about adding a MedianEncoder to the project?

Ngôn ngữ chính
Python
Star
2.3k
Fork
391
Merge trung bình
11 giờ 34 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của feature-engine/feature_engine

Tất cả issue của feature-engine/feature_engine

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.