Add support for word embedding like features which are list of floats
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
- 38/100
Hướng nghiên cứu
Start by tracing how the API converts feature dictionaries into CRFSuite ItemSequence items. Add a wrapper that accepts lists of floats and converts them to consistently named features such as "f:0" and "f:1". Done means users can pass the proposed wrapper as a dictionary value and the resulting representation works with CRFSuite; the issue does not name specific files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The current API doesn't support adding features which are list of floats e.g. Word Embeddings. The current approach to add these features is to do something like {"f0": 1.5, "f1": 1.6, "f2": -1.4} for 3 dimensional embedding features, which adds extra burden on the user's part.
I propose a wrapper feature which will allow users to pass the word embedding list as the value of the dictionary. E.g. {"f": FloatFeatures([1.5, 1.6, -1.4])}, internally this will convert the float features into a representation consistent with the CRFSuite ItemSequence and having a consistent naming convention like "f:0", "f:1", "f:2".
- Ngôn ngữ chính
- Python
- Star
- 774
- Fork
- 223
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của scrapinghub/python-crfsuite
-
no wheels for python 3.14Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
scrapinghub/python-crfsuite#167 · 2 bình luận · 2 reaction ·
-
CRFsuite training too slowĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
scrapinghub/python-crfsuite#142 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
scrapinghub/python-crfsuite#129 · 1 bình luận · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
scrapinghub/python-crfsuite#119 · 1 bình luận · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
scrapinghub/python-crfsuite#114 ·
Tất cả issue của scrapinghub/python-crfsuite
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
MakazhanAlpamys/Soup#3589 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ClickHouse/clickhouse-connect#1266 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
AutoGrowth: new time column nameĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
biosustain/growthcurves_app#89 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`LogProxyConsumer._on_relation_departed` raises `APIError` when the promtail service does not existĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
canonical/loki-k8s-operator#695 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày