-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CV - ESP Zip Creation #158
base: main
Are you sure you want to change the base?
Conversation
@Rwinstonbnc , have you seen the zip data step contributed by @suknag? It seems the zip file you create has some special content beyond the what the Zip data step does and is geared towards usage of the file in ESP, correct? And you use the ODS package in the SAS language to create the zip file, correct? Btw. your check for the caslib associated with a libref assumes that the name of the libref and the name of the caslib are identical, which does not need to be the case. As part of pull request #133 from your colleague Neela, I provided some suggestions and a code snippet in the comments on how to approach this. |
Hey Wilbram, You are correct. The data contained in the zip file is meant to include an ASTORE model, an XML file, and possibly a video file. The folder format and XML follows a format the IoT group requested we use. I'll fix the libref issue and push the fix in all of the steps I submitted. |
@Rwinstonbnc , haven't been able to successfully run this step yet as it requires successful execution of the CV - Train Models step I guess. But as the 1.3 version of SAS Python package DLPy 1.3 is now available via pypi.org, which was needed by that step, continuing the review of that CV - Train models step is back on my todo list. Still have some additional feedback on the update for the CV - ESP Zip Creation step you posted. Looked at the code and am happy that it now uses code that checks that the selected table is actually a CAS table where applicable and then report and error when applicable. Great!
Could you fix those items? |
@Rwinstonbnc , the readme talks about step requiring an input table that is created by the "CV - Save Model" step. Is that the right name? Pull request #147 uses a different name "CV - Train Models". Also could you add this pre-req to the About tab of the step itself and more importantly make it part of the general description at the top of your README and the About tab as this is crucial info for using your step? Btw. I noticed that when you point the step to a "standard" CAS table, still haven't had time to test the CV - Train Models" step, you get runtime errors as shown below. Would it make sense for your codegen to generate a user-friendly error message when the input table does not have the columns/rows that you are expecting, instead of having your codegen run into these runtime errors? Btw. I can live with postponing the codegen check to a next release if the general description makes it very clear what is expected from the input table. Here are some examples of those errors:
|
@Rwinstonbnc , really would like to wrap this one up so it can be merged. If that code check requires more time, then just fix the name references and push that change and we'll merge it. Might then consider the code check a bug that could be reported as a GitHub Issue of type bug, so it isn't forgotten about. |
@Rwinstonbnc , btw. make sure you update the last updated date in both readme and about when making changes to reflect the last date you touched any of the files. |
@Rwinstonbnc , I couldn't resist and quickly looked at your code. Checking that the input table adheres to the structure you need seems to be quite forward. One way to do this is as follows:
Here are some code snippets;
|
Please include answers to these questions as part of your pull request
In the GitHub webUI, use the Write tab to modify the Markdown text that is part of the pull request. For each question simply place an X inside the square brackets, [X], that represents your answer. Make sure there are no blanks inside the brackets, otherwise MarkDown doesn't render properly. Using the Preview tab while editing this form, you can see the formatted/rendered version of the message.
ContributorAgreement.txt