sassoftware / python-sasctl

Python package and CLI for user-friendly integration with SAS Viya
https://sassoftware.github.io/python-sasctl
Apache License 2.0
45 stars 41 forks source link

pzmm.JSONFiles.calculate_model_statistics generate wrong files #167

Closed ryanma9629 closed 1 year ago

ryanma9629 commented 1 year ago

pzmm.JSONFiles.calculate_model_statistics should generate a fit stat file, a roc file, and a lift file. However, it generates three fitstat files with different names but the same contents. This can be reproduced by the examples/pzmm_binary_classification_model_import.ipynb

smlindauer commented 1 year ago

Thanks @ryanma9629. It looks like the json dump at the end of the SWAT calls was properly implemented for only the dict return case. Adding a fix momentarily.