dataset-analysis
Augment Dataset
Changed onAugment a dataset by removing duplicates/outliers and generating synthetic samples.
This endpoint creates a NEW dataset with the augmentations applied. Operations include:
- remove_duplicates: Remove exact duplicate samples.
- remove_outliers: Remove samples with anomalous lengths.
- balance: Generate synthetic samples for underrepresented classes/entities.
The original dataset is preserved.
post/v1/dataset/augment
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"dataset_name": "my-reviews-dataset",
"domain_description": "Customer reviews for e-commerce products",
"labels": [
"positive",
"negative"
],
"new_dataset_name": "balanced_reviews_v2",
"operations": [
{
"enabled": true,
"type": "remove_duplicates"
},
{
"enabled": true,
"type": "remove_outliers"
},
{
"enabled": true,
"type": "balance"
}
],
"target_distribution": {
"negative": 0.5,
"positive": 0.5
},
"task_type": "classification",
"update_in_place": false
}Response
Successful Response
Changes
- info
endpoint added
- info