Unable to fetch model parameters from python-crfsuite model

オープン
#112 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
24/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
774
フォーク
223
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

scrapinghub/python-crfsuite のほかの issue

scrapinghub/python-crfsuite の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。