sassoftware / sassoftware/python-sasctl
Model' statistics not visible in SAS Viya Model Manager Compare section
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 52
- Forks
- 45
- Ø Merge
- 23 Std. 38 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
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.
Bewertung
- Tech-Stack
- python
- Bereich
- api, machine-learning
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100