Skip to content

CoDS-GCS/KGFarm

Repository files navigation

A Holistic Platform for Automating Data Preparation

📐 System Design

kgfarm

Data preparation is critical for improving model accuracy. However, data scientists often work independently and spend most of their time writing code for preparing data without support for automatic learning from each other’s work. To address this challenge we developed KGFarm, a holistic platform for automating data preparation using machine learning models trained on knowledge graph capturing the semantics of data science artifacts, including datasets and pipeline scripts. KGFarm provides seamless integration with existing data science platforms, enabling scientific communities to automatically discover and learn about each other’s work.

Unleashing the power of Automated

⚡ Quick Start

Try the sample KGFarm Colab Notebook for a quick hands-on! Alternatively run setup.py to setup the demo in a local environment!

  1. Install dependencies
pip install -r requirements.txt
  1. Connect to the Stardog engine
stardog-admin server start
  1. Run KGFarm's KG Augmentor to augment the LiDS graph* (for entity extraction and exploration)
python kg_augmentor/augment_LiDS.py -db Database_name
  1. Start using KGFarm APIs (checkout this use case)

🚀 Functionalities

  • Automated Data Cleaning
  • Automated Data Transformation
  • Automated Feature Selection

⚙️ APIs & Library Interface

KGFarm APIs are designed to promote seamless integration with conventional ML workflows. For performing Data Preparation with KGFarm as human-in-the-loop, please refer to KGFarm_tutorial.ipynb. For full automation on profiled data try KGFarm's Pipeline Generator (see the example below).

youtube KGFarm Demo

🏆Achievements

🦾 Contributors

For any questions, contact us at: shubham.vashisth@concordia.ca, niki.monjazeb@concordia.ca, antonio.cavalcante@borealisai.com, philippe.carrier@concordia.ca, khaled.ammar@borealisai.com, essam.mansour@concordia.ca