Closed wuyb28 closed 1 year ago
I changed the sample code and replace DecisionTree to logistic regression and got soring success. So it related to algorithm?
More detail python code, score log & model zip file. py&logs.zip LogisticRegression.zip RandomForest.zip
The fitstat, roc, and lift charts being the same is noted in #167 and fixed in 2e1fa34 (unreleased as of yet).
You may be running in to a version mismatch between your development environment and the Viya environment. Can you check the versions of scikit-learn and pandas you are using on each?
I'm using latest anaconda.
And my viya env is our monthly env https://ssemonthly.demo.sas.com/SASLogon/timedout?callbackUrl=/SASModelManager/.
Could you tell me which anaconda , scikit-learn and pandas version is suitable or is tested? Thank you!
I change my anaconda with Anaconda3-2020.07-Windows-x86_64.exe with python 3.8.3, and got success! Previous one is python 3.10. Thanks for your advise!@smlindauer
Now I'm using the updated sasctl src and got different size of json files but some model's lift chart may not be correct.
Describe the issue A clear and concise description of the issue you're experiencing.
To Reproduce using sastcl sample to register pymodel to monthly env, and found all three dmcas_*.json files have the same size. https://github.com/sassoftware/python-sasctl/blob/master/examples/pzmm_binary_classification_model_import.ipynb![捕获](https://github.com/sassoftware/python-sasctl/assets/134378946/5854c2d3-c07b-4142-81a6-0b6852e5b05a)
Go to SAS Model Manager. Upload the hmeq.csv and score
Expected behavior The task should score a table without error.
Stack Trace If you're experiencing an exception, include the full stack trace and error message.![image](https://github.com/sassoftware/python-sasctl/assets/134378946/737cea55-09d2-40b9-8d14-817c0fbb2410)
Version What version of
sasctl
are you using? 1.9.2