Skip to main content

Elemeta: Metafeature Extraction for Unstructured Data

Elemeta is an open-source library in Python for metafeature extraction. With it, you will be able to explore, monitor, and extract features from unstructured data through enriched tabular representations. It provides a straightforward Python API for metafeature extraction from unstructured data like text and images.

Key usage of Elemeta includes:

  • Exploratory Data Analysis (EDA) - extract useful metafeature on unstructured data to analyze, investigate, and summarize the main characteristics and employ data visualization methods.
  • Data and model monitoring - utilize structured ML monitoring techniques in addition to the typical latent embedding visualizations.
  • Feature extraction - engineer alternative features to be utilized in simpler models such as decision trees.

Getting Started

Get started with Elemeta by installing the Python library via pip

pip install elemeta

Once installed, there are a few example dataframes that can be used for testing the library. You can find them in elemeta.dataset.dateset

from elemeta.dataset.dataset import get_imdb_reviews
# Load existing dataframe
reviews = get_imdb_reviews()

After you have a dataset with the text column, you can start using the library with the following Python API:

from elemeta.nlp.runners.metafeature_extractors_runner import MetafeatureExtractorsRunner

metafeature_extractors_runner = MetafeatureExtractorsRunner()
reviews = metafeature_extractors_runner.run_on_dataframe(dataframe=reviews, text_column='review')
reviews.show()

Pandas DataFrames

Elemeta can enrich standard dataframe objects:

from elemeta.nlp.runners.metafeature_extractors_runner import MetafeatureExtractorsRunner
import pandas as pd

df = pd.dataframe({"text": ["Hi I just met you, and this is crazy", "What does the fox say?", "I love robots"})
metafeature_extractors_runner = MetafeatureExtractorsRunner()
df_with_metafeatures = metafeature_extractors_runner.run_on_dataframe(dataframe=reviews, text_column="text")

Strings

Elemeta can enrich specific strings:

from elemeta.nlp.runners.metafeature_extractors_runner import MetafeatureExtractorsRunner

metafeature_extractors_runner = MetafeatureExtractorsRunner()
metafeature_extractors_runner.run("This is a text about how good life is :)")

Documentation

This package aims to help enrich non-tabular data (i.e. text:nlp pictures: image processing and so on). Currently, we only support textual data, and we enrich it by extracting meta features (such as avg word length).

Community

Elemeta is brand new, so we don't have a formal process for contributions just yet. If you have feedback or would like to contribute, just go ahead and post a GitHub issue

Metadata

Release files for elemeta 1.3.3

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

Source distribution (sdist)

Source distribution for elemeta 1.3.3
File Size Uploaded Provenance Actions
elemeta-1.3.3.tar.gz 30.4 MB Without provenance Details for elemeta-1.3.3.tar.gz

Built distribution (wheel)

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

Total release size: 60.8 MB

Release files / elemeta-1.3.3.tar.gz

Download URL elemeta-1.3.3.tar.gz
Size 30.4 MB
Tags Source
SHA-256 checksum
How to use checksums
f0fc409641c9d86e693033afcfbb550e76a58690d907c583494bd93b8d26015b
BLAKE2b-256 checksum
How to use checksums
054c784e8c5f4b0f1cd6c6c180859d9538a02a16242c259eb0b580e78d1b1a92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.12.3 Linux/6.8.0-1021-azure

Release files / elemeta-1.3.3-py3-none-any.whl

Download URL elemeta-1.3.3-py3-none-any.whl
Size 30.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0ed208a50aa4e94a223b955b149ea3ea8f5a42f5ce8deb20d25e659b5164c51c
BLAKE2b-256 checksum
How to use checksums
f051ba47803ae7a516e50cb2e3116ffbfee2bcefea71a2716befd3745b4a539d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.12.3 Linux/6.8.0-1021-azure

Security for elemeta 1.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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