Agent Skills
› Zafer-Liu/Data-Analysis-Agent
› logistic
logistic
GitHub执行逻辑回归分类分析,涵盖数据检查、模型训练及业务解读。通过路由工具获取Schema和数据,运行分析计算模型指标,并生成ROC等图表展示结果。
Trigger Scenarios
需要进行二分类或多分类的逻辑回归分析
需要评估特征对目标变量的影响及模型性能
Install
npx skills add Zafer-Liu/Data-Analysis-Agent --skill logistic -g -y
SKILL.md
Frontmatter
{
"icon": "📈",
"name": "logistic",
"description": "执行二分类或多分类逻辑回归分析(logistic regression 分类)",
"allowedTools": [
"get_schema",
"query_data",
"run_analysis",
"generate_chart"
]
}
逻辑回归
确认目标编码、正类定义和特征,检查泄漏、共线性及类别不平衡。报告验证集指标、系数或优势比及不确定性,并把模型结论翻译成业务含义。
Tool routing
- Use
get_schemato identify the target, positive-class definition, features, and source table. - Use
query_datato verify class balance, coding, missingness, and candidate feature fields. - Use
run_analysiswithanalysis_name="Logistic_Regression"for the actual model computation. - Use
generate_charton ROC, feature importance, or result tables afterrun_analysissucceeds.
Implementation reference
- Tool entry:
agent/tools/business/data.py::_tool_run_analysis - Analysis registry:
Function/Analyze/registry.py - Analysis implementation:
Function/Analyze/Logistic_Regression/analyze.py - Chart implementation:
Function/Charts_generation/chart_generate.py
Version History
- d6a2c3e Current 2026-07-24 12:12


