1. Home
  2. Explore
  3. Computer Science
  4. SAS Cloud Time Series Processing

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

SAS Cloud Time Series Processing

  • 20Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: System Overview
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is TSMODEL?

Tap to flipClick to flipspace

TSMODEL is a cloud-based time series processing system behind SAS Visual Forecasting.

Or swipe the card

20 cards

  1. What is TSMODEL?

    TSMODEL is a cloud-based time series processing system behind SAS Visual Forecasting.

  2. 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.

  3. Name three ways to interact with the TSMODEL system.

    SAS Visual Forecasting GUI, SAS code (e.g., TSMODEL procedure), and other CAS clients.

  4. What are the main components of the cluster architecture described?

    Worker nodes connected to a distributed file system.

  5. 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.

  6. What code languages can the script contain?

    SAS, Python, and R code.

  7. 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.

  8. 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.

  9. 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.

  10. 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.

  11. What are the three types of objects in the External Languages Package?

    Interpreter objects, collector objects, and repeater objects.

  12. 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.

  13. What can collector objects store?

    Logs (stdout/stderr), shared variable status, and source code.

  14. What is the purpose of the repeater object?

    To load source code from a CAS table.

  15. 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).

  16. In the example, how is a Python interpreter object created?

    Create a Python 2 object and initialize it.

  17. What does the AddVariable method do?

    It specifies shared variables between SAS and the external language, with optional alias and read-only attribute.

  18. How are logs collected in the example?

    Using an OUTEXTLOG object and its collect method with the Python object and 'all' argument.

  19. 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.

  20. 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.

Card 1 of 20
Card 1 of 20

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent