Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.22 KB

README.md

File metadata and controls

15 lines (12 loc) · 1.22 KB

Explainable-ML-with-SAS-Viya

This repo is associated with the blog at: https://avi-soori.medium.com/interactive-explainable-machine-learning-with-sas-viya-streamlit-and-docker-35e7df5a9eef (or https://avisoori1x.github.io/2021/04/14/Interactive_Explainable_Machine_Learning_with_SAS_Viya,_Streamlit_and_Docker.html)

Interactive Explainable Machine Learning with SAS Viya, Streamlit and Docker. Assumptions: Access to Viya 3.5+ and VDMML 8.5+, Docker is installed on your machine. In order to run this application, follow the following steps:

  1. Run the notebook from the first cell to the last. This creates and promotes the analytical base table and the final trained model as an ASTORE in CAS. Now go to the streamlitApp directory with all the files. Dockerfile is here.
  2. Run the following commands at the commandline (I'm assuming you have Docker installed. If not, install Docker!)
    1. First run at the terminal: docker build -f Dockerfile -t app:latest .
    2. Then run: docker run -p 8501:8501 app:latest
    3. Then test out your app at: http://localhost:8501/

Make sure both the model training (notebook) and the connection to the CAS server is to the same host with the permissions to access CAS tables in the global scope.