In this SAS How To Tutorial, Ari Zitin explores several examples of Python integration with SAS. There are many SAS Viya Cloud Analytic Services (CAS) that can be submitted from Python. In this Python integration demo, Ari focuses on predictive modeling. He shows how to connect to CAS, access in-memory data, bring data locally to use Pandas, and prepare data for predictive modeling. Ari then steps through how to build, score and assess a Decision Tree model. Finally, he takes a look at how he would go about creating additional predictive models such as a Random Forest model and a Gradient Boosting model to determine the best model type for prediction.
Throughout this video, Ari is showing how to use Python to send commands and controls to the SAS Viya server. Ari’s examples are organized using Jupyter Notebook running on the Anaconda distribution of Python.
Download data files - Use SAS to fetch the Titanic data Ari references. Get the code on GitHub -github.com/sascommunities/sas...
Chapters
00:00 - Welcome
01:14 - Useful Python Packages: SWAT and pandas
02:15 - Connecting to CAS and Accessing In-memory Data
07:21 - Bring Data Locally to use Pandas
11:48 - Handling Missing Values
13:20 - Preparing for Predictive Modeling
15:20 - Building a Decision Tree Model
17:20 - Scoring and Assessing the Decision Tree Model
19:15 - Analyzing Results Locally
23:02 - Building other Models - Random Forest Model and Gradient Boosting Model
29:55 - More CAS Actions that can be Submitted from Python
Related Content
◉ SAS Books: SAS Viya: The Python Perspective -
www.sas.com/store/books/categ...
◉ Ask the Expert On-Demand webinars: SAS® Viya®: Working with APIs -
www.sas.com/en_us/webinars/at...
◉ Administering SAS Viya? Here are tools to use when working with Python. - github.com/sassoftware/pyviya...
◉ Managing models with SAS and Python? Check out this toolset on GitHub. - github.com/sassoftware/python...
Learn more about SAS Software
◉ Ask the Expert On-Demand Webinar: How Do I Get Started with SAS Visual Data Mining and Machine Learning? - www.sas.com/en_us/webinars/ge...
◉ Learn SAS - www.sas.com/en_us/learn.html
◉ Free Tutorial - video.sas.com/detail/video/54...
◉ Using SAS Viya REST APIs with Python and R e-Learning course -
support.sas.com/edu/schedules...
SUBSCRIBE TO THE SAS USERS RU-vid CHANNEL #SASUsers #LearnSAS
ru-vid.com?sub_...
ABOUT SAS
SAS is a trusted analytics powerhouse for organizations seeking immediate value from their data. A deep bench of analytics solutions and broad industry knowledge keep our customers coming back and feeling confident. With SAS®, you can discover insights from your data and make sense of it all. Identify what’s working and fix what isn’t. Make more intelligent decisions. And drive relevant change.
CONNECT WITH SAS
SAS ► www.sas.com
SAS Customer Support ► support.sas.com
SAS Communities ► communities.sas.com
SAS Analytics Explorers ► explorers.sas.com
Facebook ► / sassoftware
Twitter ► / sassoftware
LinkedIn ► / sas
Blogs ► blogs.sas.com
RSS ► www.sas.com/rss
30 июл 2024