CLAIMED Framework

OpenSSF Best Practices GitHub

CLAIMED - The Component Library for AI, Machine Learning, ETL, and Data Science


TL;DR Video on YouTube

FAQ


CLAIMED is a operator component framework for artificial intelligence, machine learning, “extract, transform, load” processes, and data science. The goal is to enable low-code/no-code rapid prototyping style programming to seamlessly CI/CD into production. The open source CLAIMED component library provides ready-made components for various business domains, supports multiple computer languages, works on different data flow editors and command line tools, and runs on various execution engines including Kubernetes (Job), Knative (Pod), Kubeflow (KFP component) and on the CLI using docker or podman. In addition to the open source library, clients create their private operator libraries using in conjunction with the open source one. Core of CLAIMED is C3, the Claimed Component Compiler which takes source code in the form of jupyter notebooks or source files and compiles it to various target runtime environments, allowing to add additional targets as plugins. Currently, C3 supports python notebooks and python scripts as input and Kubernetes/OpenShift, Kubeflow Pipeline Components/RedHat OpenShift DataScience Pipelines, and plain docker/podmain (via CLAIMED CLI) C3 does the following steps:

To demonstrate its utility, we constructed a workflow composed exclusively of this library’s components. To display the capabilities of this library, we made use of a publicly available Computed Tomography (CT) scan dataset [covidata]. We created a deep learning model, which is supposed to classify exams as either COVID-19 positive or negative. We built the pipeline with Elyra’s Pipeline Visual Editor, with support for local, Airflow, and Kubeflow execution https://arxiv.org/abs/2103.03281.

Low Code / No Code pipeline creation tool for data science Low Code / No Code pipeline creation tool for data science

Bring the latest and greatest libraries to the hands of everybody.

AIX360/LIME highlights a poor deep learning covid classification model looking at bones only AIX360/LIME highlights a poor deep learning covid classification model looking at bones only

Components of this library can be exported as:

  1. Kubeflow pipeline components
  2. Apache Airflow components
  3. Standalone graphical components for the Elyra pipeline editor
  4. Standalone components to be run from the command line
  5. Standalone components to be run as docker containers
  6. Standalone components to be run as Kubernetes Service
  7. Standalone components to be run as KNative Application or Job
  8. Components to consume from or publish to Queue Managers like Kafka or MQTT
  9. Components deployed to Kubernets wrapped into DAPR (as service or message consumer/producer)

Visually create pipelines from notebooks and run everywhere Visually create pipelines from notebooks and run them everywhere

Each notebook is following a similar format.

  1. The first cell contains a description of the component itself.
  2. The second cell installs all dependencies using pip3.
  3. The third cell imports all dependencies.
  4. The fourth cell contains a list of dependencies, input parameters, and return values as Python comments
  5. The fifth cell reads the input parameters from environment variables.

Export notebooks and files as runtime components for different engines Export notebooks and files as runtime components for different engines

To learn more on how this library works in practice, please have a look at the following video

Achievements

🏆 IEEE OSS AWARD 2023

Kienzler, R., Khan, R., Nilmeier, J., Nesic, I., & Haddad, I. (IEEE OSS 2023). Claimed – the open source framework for building coarse-grained operators for accelerated discovery in science. arXiv:2307.06824

Ploomber

Orchest

[covidata] Joseph Paul Cohen et al. COVID-19 Image Data Collection: Prospective Predictions Are the Future, arXiv:2006.11988, 2020

Getting Help

We welcome your questions, ideas, and feedback. Please create an issue or a discussion thread. Please see VULNERABILITIES.md for reporting vulnerabilities.

Contributing to CLAIMED

Interested in helping make CLAIMED better? We encourage you to take a look at our Contributing page.

License

This software is released under Apache License v2.0

Credits

CLAIMED is supported by the EU’s Horizon Europe program under Grant Agreement number 101131841 and also received funding from the Swiss State Secretariat for Education, Research and Innovation (SERI) and the UK Research and Innovation (UKRI).