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

Aberta
#202 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
api, machine-learning

Direção de pesquisa

Comece em calculate_model_statistics e inspecione como dmcas_fitstat.json é serializado; em seguida, reproduza o problema com um conjunto de dados e importe o arquivo no SAS Model Manager. Considera-se concluído quando a seção Data contém valores aceitos pelo SAS Model Manager e a seção Compare exibe estatísticas em vez de NaN.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Python
Estrelas
52
Forks
45
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de sassoftware/python-sasctl

Todas as issues de sassoftware/python-sasctl

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.