- URL:
/data-cleaning/start
- Method:
POST
- Input:
input_path
: 输入数据路径output_path
: 输出数据路径- vis: 包含删掉的图片
- result:清洗结果
cleaning_params
: 清洗参数(如去重、缺失值处理等)- 缺失值,删除
- Output:
task_id
: 任务ID
- URL:
/data-cleaning/stop
- Method:
POST
- Input:
task_id
: 任务ID
- Output:
status
: 中止状态(成功/失败)
- URL:
/data-cleaning/progress
- Method:
GET
- Input:
task_id
: 任务ID
- Output:
progress
: 任务进度(百分比)status
: 任务状态(运行中/已完成/已中止)vis
错误的结果存放另一个文件夹,返回路径msg
: 删除的数据返回
- URL:
/data-quality/start
- Method:
POST
- Input:
input_path
: 输入数据路径output_path
: 输出数据路径evaluation_params
: 评估参数(如完整性、一致性等)- image_quality
- and so on
- Output:
task_id
: 任务ID
uvicorn data_qa.main:app --reload --port 8001
- URL:
/data-quality/stop
- Method:
POST
- Input:
task_id
: 任务ID
- Output:
status
: 中止状态(成功/失败)
- URL:
/data-quality/progress
- Method:
GET
- Input:
task_id
: 任务ID
- Output:
progress
: 任务进度(百分比)status
: 任务状态(运行中/已完成/已中止)result
:质量评估得分(已完成提供)
- URL:
/data-augmentation/start
- Method:
POST
- Input:
input_path
: 输入数据路径output_path
: 输出数据路径augmentation_params
: 增强参数brightness
: 亮度contrast
: 对比度saturation
: 饱和度hue
:色调
- Output:
task_id
: 任务ID
- URL:
/data-augmentation/stop
- Method:
POST
- Input:
task_id
: 任务ID
- Output:
status
: 中止状态(成功/失败)
- URL:
/data-augmentation/progress
- Method:
GET
- Input:
task_id
: 任务ID
- Output:
progress
: 任务进度(百分比)status
: 任务状态(运行中/已完成/已中止)
docker run -d -p 8022:8022 --name data_gov_container -v D:\Astudy\genaug\data:/app/data data_gov