ArticleslgStudy

computer science

Apache SystemDS

Apache SystemDS is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Apache SystemDS rather than just read about it. In short: Apache SystemDS (Previously, Apache SystemML) is an open source ML system for the end-to-end data science lifecycle. SystemDS's distinguishing characteristics are: Algorithm customizability via R-like and Python-like languages.

Apache SystemDS — main illustration
Apache SystemDS — illustration

Key takeaways

  • Apache SystemDS belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Apache SystemDS to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Apache SystemDS from memory before moving on to harder problems.

Reference excerpt

Apache SystemDS (Previously, Apache SystemML) is an open source ML system for the end-to-end data science lifecycle. SystemDS's distinguishing characteristics are:

Algorithm customizability via R-like and Python-like languages. Multiple execution modes, including Standalone, Spark Batch, Spark MLContext, Hadoop Batch, and JMLC. Automatic optimization based on data and cluster characteristics to ensure both efficiency and scalability.

History SystemML was created in 2010 by researchers at the IBM Almaden Research Center led by IBM Fellow Shivakumar Vaithyanathan. It was observed that data scientists would write machine learning algorithms in languages such as R and Python for small data. When it came time to scale to big data, a systems programmer would be needed to scale the algorithm in a language such as Scala. This process typically involved days or weeks per iteration, and errors would occur translating the algorithms to operate on big data. SystemML seeks to simplify this process. A primary goal of SystemML is to automatically scale an algorithm written in an R-like or Python-like language to operate on big data, generating the same answer without the error-prone, multi-iterative translation approach. On June 15, 2015, at the Spark Summit in San Francisco, Beth Smith, General Manager of IBM Analytics, announced that IBM was open-sourcing SystemML as part of IBM's major commitment to Apache Spark and Spark-related projects. SystemML became publicly available on GitHub on August 27, 2015 and became an Apache Incubator project on November 2, 2015. On May 17, 2017, the Apache Software Foundation Board approved the graduation of Apache SystemML as an Apache Top Level Project.

Key technologies The following are some of the technologies built into the SystemDS engine.

Compressed Linear Algebra for Large Scale Machine Learning Declarative Machine Learning Language

Examples

Principal Component Analysis The following code snippet does the Principal component analysis of input matrix A , which returns the eigenvectors and the eigenvalues.

Invocation script

Database functions DBSCAN clustering algorithm with Euclidean distance.

Improvements SystemDS 2.0.0 is the first major release under the new name. This release contains a major refactoring, a few major features, a large number of improvements and fixes, and some experimental features to better support the end-to-end data science lifecycle. In addition to that, this release also removes several features that are not up date and outdated.

New mechanism for DML-bodied (script-level) builtin functions, and a wealth of new built-in functions for data preprocessing including data cleaning, augmentation and feature engineering techniques, new ML algorithms, and model debugging. Several methods for data cleaning have been implemented including multiple imputations with multivariate imputation by chained equations (MICE) and other techniques, SMOTE, an oversampling technique for class imbalance, forward and backward NA filling, cleaning using schema and length information, support for outlier detection using standard deviation and inter-quartile range, and functional dependency discovery. A complete framework for lineage tracing and reuse including support for loop deduplication, full and partial reuse, compiler assisted reuse, several new rewrites to facilitate reuse. New federated runtime backend including support for federated matrices and frames, federated builtins (transform-encode, decode etc.). Refactor compression package and add functionalities including quantization for lossy compression, binary cell operations, left matrix multiplication. [experimental] New python bindings with supports for several builtins, matrix operations, federated tensors and lineage traces. Cuda implementation of cumulative aggregate operators (cumsum, cumprod etc.) New model debugging technique with slice finder. New tensor data model (basic tensors of different value types, data tensors with schema) [experimental] Cloud deployment scripts for AWS and scripts to set up and start federated operations. Performance improvements with parallel sort, gpu cum agg, append cbind etc. Various compiler and runtime improvements including new and improved rewrites, reduced Spark context creation, new eval framework, list operations, updated native kernel libraries to name a few. New data reader/writer for json frames and support for sql as a data source. Miscellaneous improvements: improved documentation, better testing, run/release scripts, improved packaging, Docker container for systemds, support for lambda expressions, bug fixes. Removed MapReduce compiler and runtime backend, pydml parser, Java-UDF framework, script-level debugger. Deprecated ./scripts/algorithms, as those algorithms gradually will be part of SystemDS builtins.

Contributions Apache SystemDS welcomes contributions in code, question and answer, community building, or spreading the word. The contributor guide is available at https://github.com/apache/systemds/blob/main/CONTRIBUTING.md

See also Comparison of deep learning software Comparison of machine learning software

References

External links Apache SystemML website IBM Research - SystemML Q & A with Shiv Vaithyanathan, Creator of SystemML and IBM Fellow A Universal Translator for Big Data and Machine Learning SystemML: Declarative Machine Learning at Scale presentation by Fred Reiss SystemML: Declarative Machine Learning on MapReduce Archived 2016-03-10 at the Wayback Machine Hybrid Parallelization Strategies for Large-Scale Machine Learning in SystemML SystemML's Optimizer: Plan Generation for Large-Scale Machine Learning Programs IBM's SystemML machine learning system becomes Apache Incubator project IBM donates machine learning tech to Apache Spark open source community IBM's SystemML Moves Forward as Apache Incubator Project

Worked examples

Example 1 — a first encounter with Apache SystemDS

Start with the simplest possible case. Write down what Apache SystemDS claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Apache SystemDS before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Apache SystemDS ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Apache SystemDS

In research
Apache SystemDS appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Apache SystemDS in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Apache SystemDS is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2015 software, Apache Hadoop, Apache Software Foundation projects, so understanding it makes those chapters shorter.
In everyday life
Look for Apache SystemDS outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Apache SystemDS” →

How to study Apache SystemDS in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Apache SystemDS means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Apache SystemDS out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Apache SystemDS in simple terms?

Apache SystemDS (Previously, Apache SystemML) is an open source ML system for the end-to-end data science lifecycle. SystemDS's distinguishing characteristics are: Algorithm customizability via R-like and Python-like languages.

Why does Apache SystemDS matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Apache SystemDS?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Apache SystemDS.

Tags

  • 2015 software
  • Apache Hadoop
  • Apache Software Foundation projects
  • Big data products
  • Cluster computing
  • Data mining and machine learning software
  • Java (software platform)
  • Software using the Apache license

Keep exploring