Skip to main content

LegoAI Logo

Empowering Business Users With Self Serve Analytics

What is it ?

This is a cutting-edge project leveraging advanced Machine Learning technologies to accurately discern and classify data types from various values. Designed to enhance data preprocessing and analysis pipelines, this tool automates the often tedious and error-prone task of manually identifying data types.

Table of contents

Getting Started

To quickly start using the pipeline just install and follow notebook below.

Datatype Identification ( Inference )

Inference Notebook

Main Features

L1 and L2 Datatype Categorization

L1 and L2 Model
  • Has two models, L1 model (uses Classifier) that identifies normal datatypes ( integer, float, alphanumeric, range_type, date & time, open_ended_text, close_ended_text)
  • L2 model further classifies L1 datatype result that are integer or float to measure,dimension or unknown (if not classified) (uses LLM) and date & time into one of 41 date-time formats like (YYYY-MM-DDTHH:MM:SS, YYYY/MM/DD, MM-DD-YYYY HH:MM AM/PM ) (uses RegEx).

Datatype Identification Inference Workflow

DI Inference Workflow

Where to get it?

Binary installers for the latest released version are available at the Python Package Index (PyPI)

# PyPI
> pip install legoai

Performance

Classification Report ( L1 Model )

L1 Model Classification Metrics

Classification Report ( L2 Model )

L2 Model Classification Metrics

Execution Chart ( Google Collab Environment )

DI Execution Chart

License

The project is released under the MIT License.

Contributing

Any contributions to this project is welcomed, you can follow the steps below for contribution:

  1. Fork the repository.
  2. Create a new branch feature/* (git checkout -b feature)
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature')
  5. Push to the branch (git push origin feature)
  6. Create a new Pull Request.

Metadata

Release files for legoai 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for legoai 0.3
File Interpreter ABI Platform
legoai-0.3-py3-none-any.whl Python 3 none any Details

Release files / legoai-0.3-py3-none-any.whl

Download URL legoai-0.3-py3-none-any.whl
Size 7.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f0d08cc5493838c89a65f65d4b43bcfa5f86103c7a33aa3715b71bdcc0d386d7
BLAKE2b-256 checksum
How to use checksums
23e26a38cc4bc2de21a512eb10e200b49b9b32a189466a15da6934d377aa77b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page