NexMind AI — Clean ML training data with AI-powered agents
Project description
NexMind AI — DataClean Swarm SDK
Clean your ML training data with AI-powered agents.
Install
pip install nexmind
Quick Start
from nexmind import NexMindClient
import pandas as pd
# Initialize
client = NexMindClient(api_key="dcs_your_key")
# Clean a DataFrame
df = pd.read_csv("dirty_data.csv")
clean_df, report = client.clean(df)
print(f"Quality: {report['quality_score_before']:.0%} -> {report['quality_score_after']:.0%}")
print(f"Rows removed: {report['rows_removed']}")
print(f"Rows repaired: {report['rows_repaired']}")
Choose Agents
# Run specific agents only
clean_df, report = client.clean(
df,
agents=["schema", "dedup", "repair"], # skip anomaly + labeling
)
Async Jobs
# Submit and don't wait
job = client.submit_job(
name="Nightly data clean",
source={"type": "s3", "bucket": "raw", "key": "data.csv"},
output={"type": "s3", "bucket": "clean", "key": "clean.parquet"},
)
# Check later
job.refresh()
print(job.status) # "running" | "completed" | "failed"
# Or wait
job.wait()
print(job.report)
5 AI Agents
| Agent | What it does |
|---|---|
| schema | Fix column types, names, formats |
| anomaly | Detect outliers (Z-score, IQR, Isolation Forest) |
| dedup | Remove exact + fuzzy duplicates |
| repair | Fill missing values, fix typos, standardize |
| labeling | Detect PII, classify columns |
Get Your API Key
- Sign up at app.getnexmind.com
- Go to API Keys page
- Create a key
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nexmind-0.1.0.tar.gz
(5.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nexmind-0.1.0.tar.gz.
File metadata
- Download URL: nexmind-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95ea6a1128090fd74e426027c00b0b9a3b3a9deef4e1fc2d2e254e6dc88ba4ee
|
|
| MD5 |
925081159cc3a4fa22d6b22f62c551ac
|
|
| BLAKE2b-256 |
713e1da98c40e0c6f592cce90fc388ed522da96bb6aa8411a39d1be08b1a47d5
|
File details
Details for the file nexmind-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nexmind-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c29defcf0568e4d4ea591e2a3bff6d0c9e0f394c1ea7cc283710a14f0bfb1d56
|
|
| MD5 |
c22824e2e0ee4cf1d7b6f7a4359097cb
|
|
| BLAKE2b-256 |
03d068a4e1abd6af3839d0345bd263f4c97696c1291aa9e476f469aec0207cb4
|