sassoftware / sassoftware/python-sasctl
Model' statistics not visible in SAS Viya Model Manager Compare section
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 52
- フォーク
- 45
- 平均マージ
- 23時間 38分
- マージ済み PR(30日)
- 2
説明
Describe the issue
When using the calculate_model_statistics function, the generated file dmcas_fitstat.json, in the "Data" section of the json, contains float/integer values for any statistics instead of string values.
Importing this file in SAS Model Manager results in "NaN" values when comparing this model to another.
See the screenshot below.
Wrapping these values in quoted strings corrects the issue.
Attaching the dmcas_fitstat.json file where the training values where manually wrapped as strings (correctly displayed in SAS Model Manager) and the validate/testing ones are originals from the sasctl function.
dmcas_fitstat.json
To Reproduce
Use the function calculate_model_statistics with any dataset and import that file to a model's files section in SAS Model Manager
Expected behavior
The Compare Section in SAS Model Manager should display the model's statistics values, not NaN.
Version
sasctl==1.10.6
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
calculate_model_statistics から始めて dmcas_fitstat.json がどのようにシリアライズされるかを確認し、次にデータセットで問題を再現して、ファイルを SAS Model Manager にインポートします。Data セクションに SAS Model Manager が受け入れる値が含まれ、Compare セクションに NaN ではなく統計量が表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, machine-learning
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100