SAS Cloud Time Series Processing
- 20Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is TSMODEL?
TSMODEL is a cloud-based time series processing system behind SAS Visual Forecasting.
Or swipe the card
20 cards
What is TSMODEL?
TSMODEL is a cloud-based time series processing system behind SAS Visual Forecasting.
As of when can users use Python and R with TSMODEL?
As of the end of 2019, users can use Python and R via the External Languages Package.
Name three ways to interact with the TSMODEL system.
SAS Visual Forecasting GUI, SAS code (e.g., TSMODEL procedure), and other CAS clients.
What are the main components of the cluster architecture described?
Worker nodes connected to a distributed file system.
How does the user submit data to the worker nodes?
The user writes a script (or uses the GUI to generate one) and submits data tables; the system replicates the script on each worker node and handles data movement automatically.
What code languages can the script contain?
SAS, Python, and R code.
How is load balancing achieved when distributing time series to worker nodes?
The system automatically distributes the time series across nodes; for example, 7 time series from each of two tables across 4 nodes results in three nodes getting 2 series each and one node getting 1 series.
How is data shared between the SAS process and the Python/R process?
The user specifies which variables to share, and the system automatically transfers the data.
What scaling example was given for the system?
400 threads processing 87 GB of data in about 5 minutes, compared to 130 hours using a serial processing framework.
What are the key features of the External Languages Package?
Run any code, no version restrictions beyond practical (Python 2.6+, R 2.5+), no required third-party packages, automatic data transfer, and flexible access control.
What are the three types of objects in the External Languages Package?
Interpreter objects, collector objects, and repeater objects.
What can interpreter objects do?
Insert code (directly, from a file, or from a CAS table), specify shared variables, specify environment variables, run the code, and get exit codes and runtimes.
What can collector objects store?
Logs (stdout/stderr), shared variable status, and source code.
What is the purpose of the repeater object?
To load source code from a CAS table.
In the example code, what does the REQUIRE statement do?
It specifies that objects from the External Languages Package are needed (similar to import/library statements).
In the example, how is a Python interpreter object created?
Create a Python 2 object and initialize it.
What does the AddVariable method do?
It specifies shared variables between SAS and the external language, with optional alias and read-only attribute.
How are logs collected in the example?
Using an OUTEXTLOG object and its collect method with the Python object and 'all' argument.
What does the BY variable do in PROC TSMODEL?
It delineates how time series are parallelized; each unique value becomes its own time series processed separately.
How can users integrate external language code via the GUI?
In Model Studio, use the Exchange to add an open source node, which can be part of automatic model selection.

Ask anything
We've read this whole study set, so questions about it get the best answers.