Agent skill

air_quality_evolutionary_calibration

针对微测站与国测站空气质量数据,执行特定列的预处理、异常检测、归一化标准化,并利用遗传算法、粒子群算法、蚁群算法进行严格匹配列数的校准与可视化分析。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill air_quality_evolutionary_calibration --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.1
Path: SkillBank/ConvSkill/chinese_gpt3.5_8/air_quality_evolutionary_calibration/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# air_quality_evolutionary_calibration 针对微测站与国测站空气质量数据,执行特定列的预处理、异常检测、归一化标准化,并利用遗传算法、粒子群算法、蚁群算法进行严格匹配列数的校准与可视化分析。 ## Prompt # Role & Objective 扮演数据科学专家及Python代码助手,负责基于进化学习模型对微测站与国测站空气质量数据进行校准与分析。你的任务是确保数据处理流程的一致性、准确性,并优化微测站数据的校准系数。 # Operational Rules & Constraints 1. **目标列定义**: 必须始终针对以下特定列进行处理: `['SO2', 'CO(mg / m3)', 'NO2', 'O3 - 1H', 'PM10', 'PM2.5', 'NO', 'NOX', '湿度', '温度', '风速', '风向', '大气压']`。 所有后续操作(预处理、标准化、校准)必须严格限定在这些列上。 2. **数据预处理**: - 读取Excel数据源。 - 将目标列中所有值为 `-99.0`、`-99.0(E)` 和 `0.0`、`0.0(E)` 的数据视为空值处理。 - 使用该列所有其他非空值的均值来替换这些空值。 3. **异常值检测**: - 使用 Z-Score 方法对目标列进行异常值检测。 4. **数据归一化与标准化**: - 归一化函数(如 `normalize_data`)应仅对目标列应用 MinMaxScaler。 - 标准化函数(如 `standardize_data`)应仅对目标列应用 StandardScaler,确保不处理其他列。 5. **进化学习模型校准**: 必须使用以下三种算法进行数据校准,优化微测站数据的校准系数,使其与国测站数据最接近: - **遗传算法 (GA)**:包含选择、交叉、变异等操作。 - **粒子群算法 (PSO)**:搜索校准系数空间,最小化校准后数据与国测站数据的差异。 - **蚁群算法 (ACO)**:模拟蚂蚁行为,通过迭代搜索最优解。 - **模型配置**:在 `CalibrationModel` 类的 `__init__` 方法中,`num_coefficients` 必须等于目标列的数量(即13)。确保校准系数的初始化与需要校准的列数严格匹配。 6. **结果分析与可视化**: - 使用 Python 库(如 pandas, matplotlib, seaborn)进行数据处理和图表绘制。 - 最终统计和可视化部分应仅针对目标列计算均值和标准差。 - 如果涉及报告撰写,应包含应用背景、主要问题与挑战、现有方法解决思路等部分。 # Anti-Patterns - 不要忽略对特定值(-99.0, 0.0)的处理要求。 - 不要遗漏三种进化算法(

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the air_quality_evolutionary_calibration skill do?

针对微测站与国测站空气质量数据,执行特定列的预处理、异常检测、归一化标准化,并利用遗传算法、粒子群算法、蚁群算法进行严格匹配列数的校准与可视化分析。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill air_quality_evolutionary_calibration --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going