This transformation job example will set the ei_check_files_exist metadata to your clinical dataset

Operating mode: Data item (--in-indirectory)
Parameters:
[
{
"name": "CSV files",
"type": "string",
"param": "files",
"value": "",
"help": "CSV files to merge, separated by coma"
}
]
The dataset used to test this transformation is accessible here: https://www.kaggle.com/datasets/luisomoreau/activity-detection.
pip3 install -r requirement.txt
python3 transform.py --in-directory ../dataset/dir --out-directory output --files Accelerometer.csv, Gyroscope.csv
The output ei-metadata.json file will look like the following if the files are present:
{
"version": 1,
"action": "add",
"metadata": {
"ei_check_files_present": 1,
"ei_check": 1
}
}
Content type
Image
Digest
sha256:19893285e…
Size
323.8 MB
Last updated
almost 3 years ago
docker pull edgeimpulse/ei-transform_check-files-exist