Unable to fetch model parameters from python-crfsuite model

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
24/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
Lĩnh vực
machine-learning

Hướng nghiên cứu

Read the model-loading entry point and CRFsuite’s model format documentation to determine whether the algorithm and hyperparameters are stored in the model header shown in the issue. Identify what information the Python binding can expose; done means providing a supported way to retrieve those settings, or explaining from the format why they cannot be recovered.

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

Mô tả

I have one CRF model build using python-crfsuite. I want to check previous model parameter which is used to built the model. Now, I load the model and goes through the model header and I got this:

{u'magic': u'lCRF',
 u'num_attrs': u'14736',
 u'num_features': u'0',
 u'num_labels': u'6',
 u'off_attrrefs': u'0x147EC0',
 u'off_attrs': u'0xA254B',
 u'off_features': u'0x30',
 u'off_labelrefs': u'0x147DFC',
 u'off_labels': u'0xA1C70',
 u'size': u'1593456',
 u'type': u'FOMC',
 u'version': u'100'}

What I was looking for is algorithm name (e.g. ‘lbfgs’, ‘l2sgd’, ‘ap’, ‘pa’, ‘arow’) and respective hyper parameters. Can anybody help me figuring out model parameters.

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

  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 scrapinghub/python-crfsuite

Tất cả issue của scrapinghub/python-crfsuite

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.