Data Processing
高级离群值检测和处理工具,使用多种统计方法识别、删除或替换数值数据中的异常值。完美用于数据清洗、统计分析和机器学习数据准备。 功能特点: - 多种检测方法(IQR、Z-score、修正Z-score、孤立森林) - 灵活处理策略(删除、替换均值/中位数/众数、封顶) - 自动阈值优化 - 多维离群值检测 - 可视化离群值统计和报告 - 批量处理能力 - 自定义敏感度级别 - 综合影响分析 常见用途: - 数据清洗和预处理 - 统计分析准备 - 机器学习数据集清洗 - 制造业质量控制 - 金融异常检测 - 传感器数据验证
用三种语言从你的代码中调用此工具。
curl -X POST 'https://api.elysiatools.com/zh/api/tools/data-outlier-processor' \
-H 'Content-Type: application/json' \
-d '{"inputData":"name,age,salary,score,temperature\nAlice,25,50000,85.2,36.5\nBob,32,75000,92.7,38.1\nCharlie,28,60000,78.9,37.2","targetColumns":"age, salary, score\n\n留空则自动检测数值列","detectionMethod":"iqr","threshold":1.5,"handlingStrategy":"remove","replacementMethod":"median","preserveOriginal":false,"markOutliers":true,"includeStatistics":true,"autoThreshold":false,"sensitivity":"medium"}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST https://api.elysiatools.com/zh/api/tools/data-outlier-processor| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| inputData | textarea | 是 | — |
| targetColumns | textarea | 否 | — |
| detectionMethod | select | 否 | — |
| threshold | number | 否 | Sensitivity threshold for outlier detection. Lower values detect more outliers. |
| handlingStrategy | select | 否 | — |
| replacementMethod |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-data-outlier-processor": {
"name": "data-outlier-processor",
"description": "高级离群值检测和处理工具,使用多种统计方法识别、删除或替换数值数据中的异常值。完美用于数据清洗、统计分析和机器学习数据准备。\n\n功能特点:\n- 多种检测方法(IQR、Z-score、修正Z-score、孤立森林)\n- 灵活处理策略(删除、替换均值/中位数/众数、封顶)\n- 自动阈值优化\n- 多维离群值检测\n- 可视化离群值统计和报告\n- 批量处理能力\n- 自定义敏感度级别\n- 综合影响分析\n\n常见用途:\n- 数据清洗和预处理\n- 统计分析准备\n- 机器学习数据集清洗\n- 制造业质量控制\n- 金融异常检测\n- 传感器数据验证",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=data-outlier-processor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}连接到 SSE 端点后,列出已开放的工具:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}通过工具 id 调用,参数由其参数表构建:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "data-outlier-processor",
"arguments": {
"inputData": "name,age,salary,score,temperature\nAlice,25,50000,85.2,36.5\nBob,32,75000,92.7,38.1\nCharlie,28,60000,78.9,37.2",
"targetColumns": "age, salary, score\n\n留空则自动检测数值列",
"detectionMethod": "iqr",
"threshold": 1.5,
"handlingStrategy": "remove",
"replacementMethod": "median",
"preserveOriginal": false,
"markOutliers": true,
"includeStatistics": true,
"autoThreshold": false,
"sensitivity": "medium"
}
}
}| select |
| 否 |
| — |
| preserveOriginal | checkbox | 否 | — |
| markOutliers | checkbox | 否 | 添加列来标记哪些值被检测为离群值 |
| includeStatistics | checkbox | 否 | — |
| autoThreshold | checkbox | 否 | Automatically find optimal threshold based on data distribution |
| sensitivity | select | 否 | — |
文本结果
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}有问题或反馈?请联系 [email protected]