Model' statistics not visible in SAS Viya Model Manager Compare section

未关闭
#202 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
python

调研方向

从 calculate_model_statistics 开始,检查 dmcas_fitstat.json 的序列化方式,然后使用一个数据集重现该问题,并将文件导入 SAS Model Manager。当 Data 部分包含 SAS Model Manager 接受的值,且 Compare 部分显示统计信息而不是 NaN 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

bug

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.
image

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

主要语言
Python
星标
52
派生
45
平均合并
23 小时 38 分钟
30 天内合并 PR
2

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

sassoftware/python-sasctl 的其他 Issue

查看 sassoftware/python-sasctl 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。