Scoring code function structure generates an error for LGBoost and XGBoost packages
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
ソースファイルもテストも指定されていません。まず、dtype=objectを出力するscoring-code生成のエントリーポイントを特定し、次に比較用として添付されたログを使ってLightGBMまたはXGBoostでscoringテストを再現してください。生成されたコードがサポートされていないdtypeオプションなしで正常に実行できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Issue description
In the attached screen there is an extract from scoring code generated by sasctl for Python models when imported into SAS Model Manager.
The key part is an option: dtype=object which is probably fine for sci-kit learn based models but it causes the errors for LGBoost and XGBoost models.
When any of these package is used to build and import the model into SAS Model Manager the scoring test will fail due to PyMas execute function error: DS2 "pymas" package encountered a failure in the 'execute' method
ScoringTest.log
In CAS log You can find the root cause for that error:
Extract sas-cas-server.log
The object data type is not supported by such popular Python models. I had to manually remove dtype=object , which means the data type will be inferred. And then the Test Score works fine.
I hope the intention of sasctl package is support Python developed models, not only sci-kit learn based ones?
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
-
link-check link-check:sphinx-theme
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenHands/extensions#626 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
CSCfi/sd-search-api#39 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100