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

Offen
#202 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

Beginne bei calculate_model_statistics und prüfe, wie dmcas_fitstat.json serialisiert wird, reproduziere anschließend das Problem mit einem Datensatz und importiere die Datei in SAS Model Manager. Erledigt ist dies, wenn der Abschnitt Data Werte enthält, die SAS Model Manager akzeptiert, und der Abschnitt Compare Statistiken statt NaN anzeigt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
52
Forks
45
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus sassoftware/python-sasctl

Alle Issues in sassoftware/python-sasctl

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.