SAS Communities Library

We’re smarter together. Learn from this collection of community knowledge and add your expertise.
BookmarkSubscribeRSS Feed

How to Publish SAS Decisions to Git: Published Files

Started ‎02-13-2022 by
Modified ‎05-16-2022 by
Views 3,203

From SAS Intelligent Decisioning, you can publish rule sets or decisions to Git. The decisions can contain SAS models. Watch the video in the post, which shows how you can publish a rule set to Git. The video then looks at the files created in the Git repository.

 

The first post in the series, How to Integrate SAS Intelligent Decisioning with Git gave an overview of the process. The next post, How to Publish SAS Decisions to Git: Required Configuration detailed the SAS Viya and Git configuration. The one after, How to Publish SAS Decisions to Git: Publishing Destination created a Git destination. This post focuses on the publishing to a Git repository and at the files created.

 

What Can You Publish to Git?

 

You can publish to Git rule sets or decisions. Decisions are made of several decision objects. Most of the decision objects can be published to Git. You can consult the allowed decision object list in SAS® Intelligent Decisioning: Publishing Decisions. A decision object can also be represented by a model. For the allowed model type list, please see SAS Model Manager: Publishing Requirements and Restrictions.

 

Publish to Git and the Publishing Result

 

When you publish to Git, a folder and several files are created in the Git repository. The files, their type, depend on the rule set, or the decision objects published.  

 

04_070_Publish_Git_04.mp4
Video Player is loading.
Current Time 0:00
Duration 1:59
Loaded: 0%
Stream Type LIVE
Remaining Time 1:59
 
1x
    • Chapters
    • descriptions off, selected
    • captions off, selected
    • en (Main), selected
    (view in My Videos)

     

     

    After publishing:

     

    • A Git folder is created.
    • The rule set or the decision logic is described in a DS2 package file.
    • A JSON file details the inputs and the outputs.
    • A second JSON file contains an asset summary.
    • The README.txt in the folder contains versioning information.

     

    If a model is used in a decision, many more files, representing the model scoring and the model metadata will also be published.

     

    Conclusions

     

    The video in the post showed how SAS Intelligent Decisioning rule sets, or decisions, are published as files in a Git repository.

     

    Every time you publish from SAS, Git creates a new commit. Therefore, everything is tracked and versioned.

     

    With this post, the publishing process is complete. However, publishing is just half of the story. The other half focuses on how to deploy the published decisions, from your Git repository, into another SAS Viya environment.

     

    Stay tuned for the next post in the series, How to Deploy SAS Decisions from Git: to MAS.

     

    Thank you for your time reading this post. If you liked the post, give it a thumbs up! Please comment and tell us what you think about post content. If you wish to get more information, please write me an email.

     

    Find more articles from SAS Global Enablement and Learning here.

    Version history
    Last update:
    ‎05-16-2022 12:41 AM
    Updated by:
    Contributors

    sas-innovate-white.png

    Join us for our biggest event of the year!

    Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

     

    View the full agenda.

    Register now!

    SAS AI and Machine Learning Courses

    The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

    Get started

    Article Tags