Scoring code for H2O (binary) contains errors
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
examples/pzmm_h2o_model_import.ipynb から始めてバイナリ H2O インポートを再現し、その後、生成された Score コードと Model Manager にあるその Score コード属性を確認します。属性が自動的に設定され、生成されたコードが h2o.load_model を使用し、モデルの pickle パスを引用符で囲み、比較前に予測値を float にキャストすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I have built the H2O model based on the example:
https://github.com/sassoftware/python-sasctl/blob/master/examples/pzmm_h2o_model_import.ipynb
Then imported into Model Manager
There is one minor issue at this stage, when any Python developed model is imported with pzmm, in Model Manager the Score code file doesn't have the Score code attribute set. It has to be set manually which causes problems when CI/CD approach is considered
Let's continue with H2O model issue.
When H2O model is imported as the Binary one the Score code function contains several errors:
- The model load statement is model=h2o.load(). The load() method is not defined for h2o it should be load_model
- The model path within model=h2o.load() statement is wrong. The model pickle file name should be placed into quotation marks
- There are a few places with prediction variable comparison e.g. prediction[1][2] > 0.5. Prediction is defined as STR therefore it will generate an error. it should be casted into float using float()
Version
1.10.1
- 主要言語
- Python
- スター
- 52
- フォーク
- 45
- 平均マージ
- 23時間 38分
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sassoftware/python-sasctl のほかの issue
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
sassoftware/python-sasctl#224 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
sassoftware/python-sasctl#216 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
sassoftware/python-sasctl#207 · リアクション 1 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
sassoftware/python-sasctl#202 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
sassoftware/python-sasctl#193 ·
sassoftware/python-sasctl の issue をすべて見る
似ている issue
-
area/auth bug comp/agent P3 platform/discord type/security
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
NousResearch/hermes-agent#117848 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
bancolombia/sentinel#23 ·
-
test md オープンCI
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
langchain-ai/deepagents#6450 ·
-
bug client
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100